View all productivity tips with the tips command
1. Enable verbose logging with set VERBOSE true
2. When in a module, use back to go back to the top level prompt
3. Tired of setting RHOSTS for modules? Try globally setting it with setg RHOSTS x.x.x.x
4. Enable HTTP request and response logging with set HttpTrace true
5. You can upgrade a shell to a Meterpreter session on many platforms using sessions -u <session_id>
6. Open an interactive Ruby terminal with irb
7. Use the resource command to run commands from a file
8. To save all commands executed since start up to a file, use the makerc command
9. View advanced module options with advanced
10. You can use help to view all available commands
11. Use help <command> to learn more about any command
12. View a module’s description using info, or the enhanced version in your browser with info -d
13. After running db_nmap, be sure to check out the result of hosts and services
14. Save the current environment with the save command, future console restarts will use this environment again
15. Search can apply complex filters such as search cve:2009 type:exploit, see all the filters with help search
16. Metasploit can be configured at startup, see msfconsole –help to learn more
17. Display the Framework log using the log command, learn more with help log
18. Adapter names can be used for IP params set LHOST eth0
19. Use sessions -1 to interact with the last opened session
20. View missing module options with show missing
21. Start commands with a space to avoid saving them to history
22. Writing a custom module? After editing your module, why not try the reload command
23. Use the edit command to open the currently active module in your editor.