Remove bad shell hack.
git-svn-id: file:///home/svn/framework3/trunk@10676 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2ba327c3aa
commit
51169377a9
Binary file not shown.
|
@ -1524,15 +1524,12 @@ public class MainFrame extends FrameView {
|
|||
new ProcessList(rpcConn,session,sessionPopupMap).setVisible(true);
|
||||
}
|
||||
});
|
||||
addSessionItem("Shell",meterpreterPopupMenu,new RpcAction(this) {
|
||||
addScript("Shell",meterpreterPopupMenu,new RpcAction(this) {
|
||||
public void action(Map session) throws Exception {
|
||||
Map res = (Map)rpcConn.execute("console.create");
|
||||
InteractWindow iw = new InteractWindow(rpcConn, res, java.util.Arrays.asList(new String[]{
|
||||
"sessions","sessions -i "+session.get("id"), "shell"}));
|
||||
registerConsole(res, true, iw);
|
||||
rpcConn.execute("session.meterpreter_write", session.get("id"),
|
||||
Base64.encode("shell\n".getBytes()));
|
||||
}
|
||||
});
|
||||
|
||||
addSessionItem("Console",meterpreterPopupMenu,null);
|
||||
addScript("Get hashes",meterpreterPopupMenu,
|
||||
"multi_console_command -cl \"use priv\",\"getsystem\",\"run hashdump.rb\"");
|
||||
|
|
Loading…
Reference in New Issue