msf commonly used commands

Source: https://www.offensive-security.com/metasploit-unleashed/meterpreter-basics/


 No need to record the simple command:

help、background 、cat、cd、pwd、download、upload、edit

getuid、ipconfig、lpwd、lcd、ls、ps、shell


search 

Search the entire system or specific folders.

 

 


migrate 

Migrating to another process

  


execute 

execute command runs a command on the target.

Example: execute -f cmd.exe -i -H

  


 clearev 

clearev command will clear the application on Windows systems, systems and security log. There are no options or parameters.


Resource  
Resource command will execute instructions located Meterpreter text file. Each row contains an entry, resource are executed in sequence for each row. This helps to automate repetitive operations performed by the user.

 By default, the command will run the resource file in the current working directory (the target machine) and a local working directory (attack machine) in the middle.

 


hashdump 

hashdump post module will acquire the contents of the SAM database.

 


idletime 

Free display user on the remote computer in seconds.

 


 

Guess you like

Origin www.cnblogs.com/blogs-1024/p/12666155.html