Enumerating the AD computers

We can also try finding the details of the systems in the AD using the enum_domain_computers post module, as shown in the following screenshot:

We can see that we have set the session identifier for the module. Let's run the module and analyze the results as follows:

We can see that we have got the domain details, computer name, OU, and even the operating system version, which is Windows Server 2016 Standard. Well, Windows Server 2016 is too modern a system, and finding and exploiting a vulnerability in it would ...

Get Mastering Metasploit - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.