CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
Path: blob/master/documentation/modules/post/windows/gather/enum_hostfile.md
Views: 1904
Vulnerable Application
This module reads the hosts file on Windows systems, located at: C:\\Windows\\System32\\drivers\\etc\\hosts
. Any content lines are printed and the file is stored in loot.
Verification Steps
Start msfconsole
Get a session on Windows
Do:
use post/windows/gather/enum_hostfile
Do:
set session [#]
Do:
run
You should get the hosts file