@@ -34,7 +34,7 @@ class Core
34
34
35
35
# Session command options
36
36
@@sessions_opts = Rex ::Parser ::Arguments . new (
37
- "-c" => [ true , "Run a command on the session given with -i, or all" ] ,
37
+ "-c" => [ true , "Run a command on the session given with -i, or all" ] ,
38
38
"-h" => [ false , "Help banner" ] ,
39
39
"-i" => [ true , "Interact with the supplied session ID" ] ,
40
40
"-l" => [ false , "List all active sessions" ] ,
@@ -43,23 +43,23 @@ class Core
43
43
"-d" => [ true , "Detach an interactive session" ] ,
44
44
"-k" => [ true , "Terminate session" ] ,
45
45
"-K" => [ false , "Terminate all sessions" ] ,
46
- "-s" => [ true , "Run a script on the session given with -i, or all" ] ,
46
+ "-s" => [ true , "Run a script on the session given with -i, or all" ] ,
47
47
"-r" => [ false , "Reset the ring buffer for the session given with -i, or all" ] ,
48
48
"-u" => [ true , "Upgrade a win32 shell to a meterpreter session" ] )
49
49
50
50
@@jobs_opts = Rex ::Parser ::Arguments . new (
51
51
"-h" => [ false , "Help banner." ] ,
52
52
"-k" => [ true , "Terminate the specified job name." ] ,
53
53
"-K" => [ false , "Terminate all running jobs." ] ,
54
- "-i" => [ true , "Lists detailed information about a running job." ] ,
54
+ "-i" => [ true , "Lists detailed information about a running job." ] ,
55
55
"-l" => [ false , "List all running jobs." ] ,
56
56
"-v" => [ false , "Print more detailed info. Use with -i and -l" ] )
57
57
58
58
@@threads_opts = Rex ::Parser ::Arguments . new (
59
59
"-h" => [ false , "Help banner." ] ,
60
60
"-k" => [ true , "Terminate the specified thread ID." ] ,
61
61
"-K" => [ false , "Terminate all non-critical threads." ] ,
62
- "-i" => [ true , "Lists detailed information about a thread." ] ,
62
+ "-i" => [ true , "Lists detailed information about a thread." ] ,
63
63
"-l" => [ false , "List all background threads." ] ,
64
64
"-v" => [ false , "Print more detailed info. Use with -i and -l" ] )
65
65
@@ -81,10 +81,10 @@ class Core
81
81
"-i" => [ false , "Ignore case." ] ,
82
82
"-m" => [ true , "Stop after arg matches." ] ,
83
83
"-v" => [ false , "Invert match." ] ,
84
- "-A" => [ true , "Show arg lines of output After a match." ] ,
85
- "-B" => [ true , "Show arg lines of output Before a match." ] ,
86
- "-s" => [ true , "Skip arg lines of output before attempting match." ] ,
87
- "-k" => [ true , "Keep (include) arg lines at start of output." ] ,
84
+ "-A" => [ true , "Show arg lines of output After a match." ] ,
85
+ "-B" => [ true , "Show arg lines of output Before a match." ] ,
86
+ "-s" => [ true , "Skip arg lines of output before attempting match." ] ,
87
+ "-k" => [ true , "Keep (include) arg lines at start of output." ] ,
88
88
"-c" => [ false , "Only print a count of matching lines." ] )
89
89
90
90
@@search_opts = Rex ::Parser ::Arguments . new (
@@ -388,9 +388,9 @@ def cmd_banner(*args)
388
388
"Large pentest? List, sort, group, tag and search your hosts and services\n in Metasploit Pro -- type 'go_pro' to launch it now." ,
389
389
"Frustrated with proxy pivoting? Upgrade to layer-2 VPN pivoting with\n Metasploit Pro -- type 'go_pro' to launch it now." ,
390
390
"Save your shells from AV! Upgrade to advanced AV evasion using dynamic\n exe templates with Metasploit Pro -- type 'go_pro' to launch it now." ,
391
- "Easy phishing: Set up email templates, landing pages and listeners\n in Metasploit Pro’ s wizard -- type 'go_pro' to launch it now." ,
391
+ "Easy phishing: Set up email templates, landing pages and listeners\n in Metasploit Pro' s wizard -- type 'go_pro' to launch it now." ,
392
392
"Using notepad to track pentests? Have Metasploit Pro report on hosts,\n services, sessions and evidence -- type 'go_pro' to launch it now." ,
393
- "Tired of typing ‘ set RHOSTS’ ? Click & pwn with Metasploit Pro\n -- type 'go_pro' to launch it now."
393
+ "Tired of typing ' set RHOSTS' ? Click & pwn with Metasploit Pro\n -- type 'go_pro' to launch it now."
394
394
]
395
395
banner << content . sample # Ruby 1.9-ism!
396
396
banner << "\n \n "
@@ -1455,10 +1455,10 @@ def cmd_search(*args)
1455
1455
1456
1456
end
1457
1457
1458
- # Prints table of modules matching the search_string.
1459
- #
1460
- # @param (see Msf::DBManager#search_modules)
1461
- # @return [void]
1458
+ # Prints table of modules matching the search_string.
1459
+ #
1460
+ # @param (see Msf::DBManager#search_modules)
1461
+ # @return [void]
1462
1462
def search_modules_sql ( search_string )
1463
1463
tbl = generate_module_table ( "Matching Modules" )
1464
1464
framework . db . search_modules ( search_string ) . each do |o |
@@ -2955,7 +2955,7 @@ def launch_metasploit_browser
2955
2955
print_line
2956
2956
print_warning "For some reason, Community / Pro didn't start in a timely fashion."
2957
2957
print_warning "You might want to restart the Metasploit services by typing"
2958
- print_warning "'service metasploit restart' . Sorry it didn't work out."
2958
+ print_warning "'service metasploit restart'. Sorry it didn't work out."
2959
2959
return false
2960
2960
else
2961
2961
print "."
0 commit comments