Skip to content

Instantly share code, notes, and snippets.

@iiasceri
Created February 26, 2025 23:00
Show Gist options
  • Save iiasceri/be51edc9bec00c670eb0cdf1065bdfc7 to your computer and use it in GitHub Desktop.
Save iiasceri/be51edc9bec00c670eb0cdf1065bdfc7 to your computer and use it in GitHub Desktop.
Cracked Etsy Api Key Gen
public class MainActivity extends AppCompatActivity {
public Cipher f3770a;
public static final byte[] f44822a = {116, 52, -2, 29, -58, -56, -102, -10, -48, -55, 126, 68, 48, -40, 28, -6};
public static final byte ADD = 17;
public static final byte OVERLAY = 18;
public static final byte[] f3763b = {-89, -117, 96, 117, 82, -83, OVERLAY, -28, -97, -76, ADD, 66, 74, 10, -73, 91, -100, -1, 9, -92, 37, -11, 115, -9, 39, 30, 73, -50, 94, 64, -68, 22};
public final String a(byte[] key) throws IllegalBlockSizeException, BadPaddingException {
Intrinsics.checkNotNullParameter(key, "key");
byte[] doFinal = this.f3770a.doFinal(key);
return new String(doFinal, Charsets.UTF_8);
}
private String test() throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException {
Charset charset = Charsets.UTF_8;
String str = new String("AES/CBC/PKCS5Padding".getBytes(), charset);
String str2 = new String("AES".getBytes(), charset);
IvParameterSpec ivParameterSpec = new IvParameterSpec(new byte[16]);
SecretKeySpec secretKeySpec = new SecretKeySpec(f44822a, str2);
Cipher cipher = Cipher.getInstance(str);
cipher.init(2, secretKeySpec, ivParameterSpec);
f3770a = cipher;
return a(f3763b);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EdgeToEdge.enable(this);
setContentView(R.layout.activity_main);
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
return insets;
});
try {
System.out.println(test());
} catch (Exception e) {
System.out.println(e.toString());
}
}
}
@iiasceri
Copy link
Author

Output will be: gf665hj0kpsdkpllgek11zrz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment