//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package me.ohwhite.crackme1;
import java.util.ArrayList;
import java.util.Scanner;
public class main {
static ArrayList passwords = new ArrayList();
static ArrayList prompts = new ArrayList();
public static void main(String[] args) {
initString();
initPasswd();
System.out.println(prompts.get(0));
Scanner scanner = new Scanner(System.in);
try {
int inputPassword = scanner.nextInt();
if (inputPassword != passwords.get(0)) {
return;
}
} catch (Exception inputMismatchException) {
System.exit(-7);
}
System.out.println(prompts.get(1));
}
public static void initPasswd() {
passwords.add(5256);
}
public static void initString() {
prompts.add("Enter an 8 digit code: ");
prompts.add("You have successfully logged in!");
}
}
|
==> |