TVT618

Metasploit core commands

May 10th, 2019
1,881
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. back Move back from the current context
  2. banner Display an awesome metasploit banner
  3. cd Change the current working directory
  4. color Toggle color
  5. connect Communicate with a host
  6. edit Edit the current module with $VISUAL or $EDITOR
  7. exit Exit the console
  8. get Gets the value of a context-specific variable
  9. getg Gets the value of a global variable
  10. go_pro Launch Metasploit web GUI
  11. grep Grep the output of another command
  12. help Help menu
  13. info Displays information about one or more module
  14. irb Drop into irb scripting mode
  15. jobs Displays and manages jobs
  16. kill Kill a job
  17. load Load a framework plugin
  18. loadpath Searches for and loads modules from a path
  19. makerc Save commands entered since start to a file
  20. popm Pops the latest module off the stack and makes it active
  21. previous Sets the previously loaded module as the current module
  22. pushm Pushes the active or list of modules onto the module stack
  23. quit Exit the console
  24. reload_all Reloads all modules from all defined module paths
  25. rename_job Rename a job
  26. resource Run the commands stored in a file
  27. route Route traffic through a session
  28. save Saves the active datastores
  29. search Searches module names and descriptions
  30. sessions Dump session listings and display information about sessions
  31. set Sets a context-specific variable to a value
  32. setg Sets a global variable to a value
  33. show Displays modules of a given type, or all modules
  34. sleep Do nothing for the specified number of seconds
  35. spool Write console output into a file as well the screen
  36. threads View and manipulate background threads
  37. unload Unload a framework plugin
  38. unset Unsets one or more context-specific variables
  39. unsetg Unsets one or more global variables
  40. use Selects a module by name
  41. version Show the framework and console library version numbers
RAW Paste Data