Metasploit Cheat Sheet
Metasploit Cheat Sheet
Metasploit Cheat Sheet
Fra m ewo r k co m p o ne nt s
Metasploit Meterpreter Run as a DLL injec tion payload on a target PC providing control over the target s ys tem
Metasploit msf venom Help creat St andalone pay loads as execut able, Ruby script , or shellcode
N e t wo r k i ng co m ma n d s
ipconfig: Show net work inter face configuration
portf wd: F o r w a r d p a c ke t s
M e t e r p r e t e r co m ma n d s Pr o cess ha n d l i ng co m ma n d s
Command Description
Basic and file handling commands
getpid: Display the process ID
sysinfo Display system information
getuid: Display the user ID
ps List and display running processes
ps: Display running process
k i l l ( P I D) Te r m i n a t e a r u n n i n g p r o c e s s
Kill: Stop and terminate a process
getuid Display user ID
getprivs Shows multiple privileges as possible
upload or download Upload / download a file
reg Access target machine regis tr y
pwd or lpwd P r i n t w o r k i n g d i r e c t o r y ( l o c a l / r e m o t e)
Shell Access target machine shell
cd or lcd C h a n g e d i e r c t o r y ( l o c a l o r r e m o t e)
execute: Run a specified
cat Display file content
migrate: Move to a given destination process ID
bglist show background running scripts
bgrun m a ke a s c r i p t r i n i n t h e b a c k g r o u n d
shell Access shell on the target machine Getdesktop Display current desk top
M s f ve no m co m ma n d o p t io ns
Switch Syntax Description
-h -h Help