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-b9f4589650da
unstable
James Lee 2010-12-27 18:21:33 +00:00
parent de9c1286e6
commit 1ac8b5abe9
1 changed files with 2 additions and 0 deletions

View File

@ -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