Move down cmd_rerun to fix rspec issue.
parent
06de47ce68
commit
12a948dde5
|
@ -59,19 +59,6 @@ class Auxiliary
|
||||||
"Auxiliary"
|
"Auxiliary"
|
||||||
end
|
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
|
# Tab completion for the run command
|
||||||
#
|
#
|
||||||
|
@ -168,6 +155,19 @@ class Auxiliary
|
||||||
|
|
||||||
alias cmd_exploit_help cmd_run_help
|
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
|
# Reloads an auxiliary module and checks the target to see if it's
|
||||||
# vulnerable.
|
# vulnerable.
|
||||||
|
|
Loading…
Reference in New Issue