0% found this document useful (0 votes)
512 views

Metasploit Cheat Sheet

The document provides instructions on installing Metasploit and using its console and Meterpreter commands, including searching for exploits, setting exploit options, executing exploits, and post-exploitation tasks like privilege escalation and system control.

Uploaded by

hughpearse
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
512 views

Metasploit Cheat Sheet

The document provides instructions on installing Metasploit and using its console and Meterpreter commands, including searching for exploits, setting exploit options, executing exploits, and post-exploitation tasks like privilege escalation and system control.

Uploaded by

hughpearse
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

MetasploitCheatSheet

InstallRubyandRubyGemsonyoursystem. DownloadMetasploitSourceCodeinatarballformatorfromgithub Turnoffyourfirewalltolistenforreverseshellconnections(sudoserviceiptablesstop). MSFConsoleCommands ./msfconsole search[keyword] search20030716 info[/foo/bar/exploit/name] use[/foo/bar/exploit/name] showoptions set[option][value] setRHOST192.168.122.75 exploit opensthemetasploitterminal searchesforexploitsusingakeyword displaysinformationaboutanexploit opensanexploitforusage displaystheparametersthatneedtobeset foracurrentlyselectedexploit setsaparameterfortheexploit executesthecurrentlyselectedexploit

MSFMeterpreterCommands executefcmd.exeiHt getprivs uictlenablekeyboard/mouse reboot Executecmd.exewithallavailabletokensand makeitahiddenprocess. Getasmanyprivilegesaspossibleonthe target Takecontrolofthekeyboardand/ormouse rebootthetargetmachine

You might also like