Fix use -h to call cmd_use_help
It really shouldn't try to load it as a module.GSoC/Meterpreter_Web_Console
parent
95317618d4
commit
ef6be1980f
|
@ -595,7 +595,7 @@ module Msf
|
||||||
# Uses a module.
|
# Uses a module.
|
||||||
#
|
#
|
||||||
def cmd_use(*args)
|
def cmd_use(*args)
|
||||||
if (args.length == 0)
|
if args.length == 0 || args.first == '-h'
|
||||||
cmd_use_help
|
cmd_use_help
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue