@@ -33,7 +33,9 @@ def commands
33
33
"exploit" => "Launch an exploit attempt" ,
34
34
"rcheck" => "Reloads the module and checks if the target is vulnerable" ,
35
35
"rexploit" => "Reloads the module and launches an exploit attempt" ,
36
- "reload" => "Just reloads the module"
36
+ "reload" => "Just reloads the module" ,
37
+ "run" => "Alias for exploit" ,
38
+ "rerun" => "Alias for rexploit" ,
37
39
} )
38
40
end
39
41
@@ -197,13 +199,17 @@ def cmd_exploit(*args)
197
199
end
198
200
end
199
201
202
+ alias cmd_run cmd_exploit
203
+
200
204
def cmd_exploit_help
201
205
print_line "Usage: exploit [options]"
202
206
print_line
203
207
print_line "Launches an exploitation attempt."
204
208
print @@exploit_opts . usage
205
209
end
206
210
211
+ alias cmd_run_help cmd_exploit_help
212
+
207
213
#
208
214
# Reloads an exploit module and checks the target to see if it's
209
215
# vulnerable.
@@ -227,13 +233,17 @@ def cmd_rexploit(*args)
227
233
end
228
234
end
229
235
236
+ alias cmd_rerun cmd_rexploit
237
+
230
238
def cmd_rexploit_help
231
239
print_line "Usage: rexploit [options]"
232
240
print_line
233
241
print_line "Reloads a module, stopping any associated job, and launches an exploitation attempt."
234
242
print @@exploit_opts . usage
235
243
end
236
244
245
+ alias cmd_rerun_help cmd_rexploit_help
246
+
237
247
#
238
248
# Picks a reasonable payload and minimally configures it
239
249
#
0 commit comments