Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a couple of tips #18412

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/msf/ui/tip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ def self.highlight(string)
"Search can apply complex filters such as #{highlight('search cve:2009 type:exploit')}, see all the filters with #{highlight('help search')}",
"Metasploit can be configured at startup, see #{highlight('msfconsole --help')} to learn more",
"Display the Framework log using the #{highlight('log')} command, learn more with #{highlight('help log')}",
"Adapter names can be used for IP params #{highlight('set LHOST eth0')}",
"Network adapter names can be used for IP options #{highlight('set LHOST eth0')}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

"Use #{highlight('sessions -1')} to interact with the last opened session",
"View missing module options with #{highlight('show missing')}",
"Start commands with a space to avoid saving them to history",
"You can pivot connections over sessions started with the ssh_login modules",
"Use the #{highlight('analyze')} command to suggest runnable modules for hosts",
"Set the current module's RHOSTS with database values using #{highlight('hosts -R')} or #{highlight('services -R')}"
"Set the current module's RHOSTS with database values using #{highlight('hosts -R')} or #{highlight('services -R')}",
"Use the 'capture' plugin to start multiple authentication-capturing and poisoning services",
"The #{highlight('use')} command supports fuzzy searching to try and select the intended module, e.g. #{highlight('use kerberos/get_ticket')} or #{highlight('use kerberos forge silver ticket')}"
].freeze
private_constant :COMMON_TIPS

Expand Down