Fix ancient copypasta of Aux to Post
Specifically a crash in the run command's help.bug/bundler_fix
parent
4882927570
commit
79c01a9577
|
@ -63,7 +63,7 @@ class Post
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Reloads an auxiliary module and executes it
|
# Reloads a post module and executes it
|
||||||
#
|
#
|
||||||
def cmd_rerun(*args)
|
def cmd_rerun(*args)
|
||||||
# Stop existing job and reload the module
|
# Stop existing job and reload the module
|
||||||
|
@ -75,7 +75,7 @@ class Post
|
||||||
alias cmd_rexploit cmd_rerun
|
alias cmd_rexploit cmd_rerun
|
||||||
|
|
||||||
#
|
#
|
||||||
# Executes an auxiliary module
|
# Executes a post module
|
||||||
#
|
#
|
||||||
def cmd_run(*args)
|
def cmd_run(*args)
|
||||||
opt_str = nil
|
opt_str = nil
|
||||||
|
@ -144,7 +144,7 @@ class Post
|
||||||
print_line "Usage: run [options]"
|
print_line "Usage: run [options]"
|
||||||
print_line
|
print_line
|
||||||
print_line "Launches a post module."
|
print_line "Launches a post module."
|
||||||
print @@auxiliary_opts.usage
|
print @@post_opts.usage
|
||||||
end
|
end
|
||||||
|
|
||||||
alias cmd_exploit_help cmd_run_help
|
alias cmd_exploit_help cmd_run_help
|
||||||
|
|
Loading…
Reference in New Issue