fix a nil.dup by returning a proper platformlist when we don't have a session, dump actual info with 'info' command instead of nothing
git-svn-id: file:///home/svn/framework3/trunk@11425 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
de9c1286e6
commit
1ac8b5abe9
|
@ -29,6 +29,8 @@ class ReadableText
|
||||||
return dump_exploit_module(mod, indent)
|
return dump_exploit_module(mod, indent)
|
||||||
when MODULE_AUX
|
when MODULE_AUX
|
||||||
return dump_auxiliary_module(mod, indent)
|
return dump_auxiliary_module(mod, indent)
|
||||||
|
when MODULE_POST
|
||||||
|
return dump_basic_module(mod, indent)
|
||||||
else
|
else
|
||||||
return dump_generic_module(mod, indent)
|
return dump_generic_module(mod, indent)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue