Armitage 06.07.12 - improved collaboration performance and fixed two bugs.

unstable
Raphael Mudge 2012-06-07 13:16:16 -04:00
parent bd714017bb
commit 68dd0cd497
9 changed files with 37 additions and 23 deletions

Binary file not shown.

View File

@ -1,6 +1,14 @@
Armitage Changelog
==================
7 Jun 12 - Adding on to those quick bug fixes / tweaks
--------
- Disabled Nagles algorithm for team server and client SSL sockets.
This makes team server much more responsive... trust me.
- Fixed bug preventing Armitage from showing "Started Service"
message when starting the SOCKS Proxy server.
- Fixed a find feature highlight bug in the View tab.
30 May 12 - A few quick bug fixes / tweaks...
---------
- Fixed an exception when killing a session or removing a route

View File

@ -3,7 +3,7 @@
<center><h1>Armitage 1.44-dev</h1></center>
<p>An attack management tool for Metasploit&reg;
<br />Release: 30 May 12</p>
<br />Release: 7 Jun 12</p>
<br />
<p>Developed by:</p>

View File

@ -450,21 +450,9 @@ sub _launch_dialog {
}
}
else {
thread(lambda({
local('$r');
$r = call($client, "module.execute", $type, $command, $options);
if ("result" in $r) {
elog("started $command");
showError($r["result"]);
}
else if ("job_id" in $r) {
elog("started $command");
showError("Started service");
}
else {
showError($r);
}
}, \$type, \$command, \$options));
call_async($client, "module.execute", $type, $command, $options);
elog("started $command");
showError("Started service");
}
}, \$dialog, \$model, $title => $1, $type => $2, $command => $3, $visible => $4, \$combo, \$table, \$combobox)];

View File

@ -12,7 +12,6 @@ import java.util.*;
/** a search panel for use with a JTextComponent */
public class SearchPanel extends JPanel implements ActionListener {
protected JTextField search = null;
protected JLabel status = null;
protected JTextComponent component = null;
@ -70,16 +69,22 @@ public class SearchPanel extends JPanel implements ActionListener {
return;
Highlighter.HighlightPainter painter = new DefaultHighlighter.DefaultHighlightPainter( highlight );
try {
String text = component.getText();
int lastIndex = -1;
while ((lastIndex = text.replaceAll("\r", "").indexOf(searchstr, lastIndex + 1)) != -1) {
/* another windows work-around... */
if ((System.getProperty("os.name") + "").indexOf("Windows") != -1) {
text = text.replaceAll("\r\n", "\n");
}
int lastIndex = -1;
while ((lastIndex = text.indexOf(searchstr, lastIndex + 1)) != -1) {
component.getHighlighter().addHighlight(
lastIndex,
lastIndex,
lastIndex + searchstr.length(),
painter);
}
}
}
catch (Exception ex) {
// ...

View File

@ -145,6 +145,10 @@ public class MeterpreterSession implements Runnable {
readUntilSuccessful(c, false);
return;
}
else if (c.text.startsWith("sysinfo\n") && !teammode) {
readUntilSuccessful(c, false);
return;
}
//System.err.println("(" + session + ") latency: " + (System.currentTimeMillis() - c.start) + " -- " + c.text);

View File

@ -28,6 +28,7 @@ public class SecureServerSocket {
public IOObject accept() {
try {
Socket client = server.accept();
client.setTcpNoDelay(true);
IOObject temp = new IOObject();
temp.openRead(client.getInputStream());
temp.openWrite(client.getOutputStream());

View File

@ -22,7 +22,7 @@ public class SecureSocket {
SSLSocketFactory factory = (SSLSocketFactory) sslcontext.getSocketFactory();
socket = (SSLSocket)factory.createSocket(host, port);
socket.setTcpNoDelay(true);
socket.setSoTimeout(4048);
socket.startHandshake();
}

View File

@ -1,6 +1,14 @@
Armitage Changelog
==================
7 Jun 12 - Adding on to those quick bug fixes / tweaks
--------
- Disabled Nagles algorithm for team server and client SSL sockets.
This makes team server much more responsive... trust me.
- Fixed bug preventing Armitage from showing "Started Service"
message when starting the SOCKS Proxy server.
- Fixed a find feature highlight bug in the View tab.
30 May 12 - A few quick bug fixes / tweaks...
---------
- Fixed an exception when killing a session or removing a route