mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-31 04:42:37 +01:00
and that
This commit is contained in:
parent
ca177ec03b
commit
f7f59c28e4
@ -57,17 +57,18 @@ public class Rc4Obtainer {
|
|||||||
|
|
||||||
if (DEBUG) System.out.println("[+] send encrypted");
|
if (DEBUG) System.out.println("[+] send encrypted");
|
||||||
|
|
||||||
List<byte[]> cached = client.getRC4cached();
|
boolean worked = false;
|
||||||
boolean worked = onSendFirstEncryptedMessage(handler, cached);
|
int i = 0;
|
||||||
|
while (!worked && i < 4) {
|
||||||
if (!worked) {
|
worked = (i % 2 == 0) ?
|
||||||
worked = onSendFirstEncryptedMessage(handler, client.getRC4possibilities());
|
onSendFirstEncryptedMessage(handler, client.getRC4cached()) :
|
||||||
if (!worked) {
|
onSendFirstEncryptedMessage(handler, client.getRC4possibilities());
|
||||||
System.err.println("COULD NOT FIND RC4 TABLE");
|
i++;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!worked) {
|
||||||
|
System.err.println("COULD NOT FIND RC4 TABLE");
|
||||||
|
}
|
||||||
|
|
||||||
incomingHandler.unblock();
|
incomingHandler.unblock();
|
||||||
outgoingHandler.unblock();
|
outgoingHandler.unblock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user