Move down cmd_rerun to fix rspec issue.

GSoC/Meterpreter_Web_Console
Green-m 2018-12-24 11:30:02 +08:00
parent 06de47ce68
commit 12a948dde5
No known key found for this signature in database
GPG Key ID: 7A4A0E684B5D6747
1 changed files with 13 additions and 13 deletions

View File

@ -59,19 +59,6 @@ class Auxiliary
"Auxiliary"
end
#
# Reloads an auxiliary module and executes it
#
def cmd_rerun(*args)
if reload(true)
cmd_run(*args)
end
end
alias cmd_rerun_tabs cmd_run_tabs
alias cmd_rexploit cmd_rerun
alias cmd_rexploit_tabs cmd_exploit_tabs
#
# Tab completion for the run command
#
@ -168,6 +155,19 @@ class Auxiliary
alias cmd_exploit_help cmd_run_help
#
# Reloads an auxiliary module and executes it
#
def cmd_rerun(*args)
if reload(true)
cmd_run(*args)
end
end
alias cmd_rerun_tabs cmd_run_tabs
alias cmd_rexploit cmd_rerun
alias cmd_rexploit_tabs cmd_exploit_tabs
#
# Reloads an auxiliary module and checks the target to see if it's
# vulnerable.