Log modules runs that are started through console.

git-svn-id: file:///home/svn/framework3/trunk@10811 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Weeks 2010-10-24 20:20:10 +00:00
parent ec15abd8dc
commit 85e7c799f7
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -375,6 +375,7 @@ public class ModulePopup extends MsfFrame implements TreeSelectionListener{
autoCommands.add("exploit");
InteractWindow iw = new InteractWindow(rpcConn, res, autoCommands);
parentFrame.registerConsole(res, true, iw);
MsfguiLog.defaultLog.logMethodCall("module.execute", new Object[]{moduleType,fullName,hash});
}else{
Map info = (Map) rpcConn.execute("module.execute",moduleType, fullName,hash);
if(!info.get("result").equals("success"))