You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/msf/ui/tip.rb
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ def self.highlight(string)
17
17
"View all productivity tips with the #{highlight('tips')} command",
18
18
"Enable verbose logging with #{highlight('set VERBOSE true')}",
19
19
"When in a module, use #{highlight('back')} to go back to the top level prompt",
20
-
"Tired of setting RHOSTS for modules? Try globally setting it with #{highlight('setg RHOSTS x.x.x.x')}",
20
+
"Tired of setting #{highlight('RHOSTS')} for modules? Try globally setting it with #{highlight('setg RHOSTS x.x.x.x')}",
21
21
"Enable HTTP request and response logging with #{highlight('set HttpTrace true')}",
22
22
"You can upgrade a shell to a Meterpreter session on many platforms using #{highlight('sessions -u <session_id>')}",
23
23
"Open an interactive Ruby terminal with #{highlight('irb')}",
@@ -35,12 +35,23 @@ def self.highlight(string)
35
35
"Network adapter names can be used for IP options #{highlight('set LHOST eth0')}",
36
36
"Use #{highlight('sessions -1')} to interact with the last opened session",
37
37
"View missing module options with #{highlight('show missing')}",
38
-
"Start commands with a space to avoid saving them to history",
39
-
"You can pivot connections over sessions started with the ssh_login modules",
38
+
'Start commands with a space to avoid saving them to history',
39
+
'You can pivot connections over sessions started with the ssh_login modules',
40
40
"Use the #{highlight('analyze')} command to suggest runnable modules for hosts",
41
-
"Set the current module's RHOSTS with database values using #{highlight('hosts -R')} or #{highlight('services -R')}",
42
-
"Use the 'capture' plugin to start multiple authentication-capturing and poisoning services",
43
-
"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')}"
41
+
"Set the current module's #{highlight('RHOSTS')} with database values using #{highlight('hosts -R')} or #{highlight('services -R')}",
42
+
"Use the #{highlight('capture')} plugin to start multiple authentication-capturing and poisoning services",
43
+
"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')}",
44
+
"Organize your work by creating workspaces with #{highlight('workspace -a <name>')}",
45
+
"Store discovered credentials for later use with #{highlight('creds')}",
46
+
"Keep track of findings and observations with #{highlight('notes')}",
47
+
"Add routes to pivot through a compromised host using #{highlight('route add <subnet> <session_id>')}",
48
+
"Run modules in the background with #{highlight('run -j')} so you can keep working",
49
+
"Stop all background jobs quickly with #{highlight('jobs -K')}",
50
+
"Export your database results with #{highlight('db_export -f xml <file>')}",
51
+
"Execute a command across all sessions with #{highlight('sessions -C <command>')}",
52
+
"Use #{highlight('post/multi/manage/autoroute')} to automatically add pivot routes",
53
+
"Use #{highlight('check')} before #{highlight('run')} to confirm if a target is vulnerable",
54
+
"Bind your reverse shell to a tunnel with #{highlight('set ReverseListenerBindAddress <tunnel_address>')} and #{highlight('set ReverseListenerBindPort <tunnel_port>')} (e.g., ngrok)"
0 commit comments