Hallo ich habe mir ein beispiel code gesucht verstehe ihn aber nicht ganz
Kann irgendwer ihn mir erklären?
Kann irgendwer ihn mir erklären?
Code:
public class CrackPW {
public static boolean checkPasscode(int H4X0R) {
// returns true if passcode is valid
boolean result = false;
for (int E1337 = 42; E1337 <= (52 ^ (0x6c)); E1337 += (3 << (14 % 6))) {
if (result = ((++E1337 | E1337 + (2 >>> 1)) ^ (1 + H4X0R)) == (123456789 & 0))
break;
}
return result;
}
public static void main(String[] arguments) {
for (int i = -99999; i < 99999; i++) {
if (checkPasscode(i)) {
System.out.println(i + " is the key!");
}
}
}
}