1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-30 22:19:17 +02:00

adjust offset where the useful bits are stored

This commit is contained in:
Brent Cook 2017-09-08 02:21:20 +02:00
parent 167c2d380a
commit cb70dde703

@ -48,9 +48,9 @@ public class Meterpreter {
protected void loadConfiguration(DataInputStream in, OutputStream rawOut, byte[] configuration) throws MalformedURLException {
// socket handle is 4 bytes, followed by exit func, both of
// socket handle is 8 bytes, followed by exit func, both of
// which we ignore.
int csr = 8;
int csr = 12;
// We start with the expiry, which is a 32 bit int
setExpiry(ConfigParser.unpack32(configuration, csr));
@ -83,7 +83,7 @@ public class Meterpreter {
}
this.transports.add(t);
}
// we don't currently support extensions, so when we reach the end of the
// list of transports we just bomb out.
}