How do i crack JNI (Java native interface)

RandomNPC

Lurker
Member
Joined
Threads
1
Posts
1
Theres a repo on github that converts java methods to a native method:

I made a simple crack me that checks if a string contains something specific:

String string = "Testing";
if(string.contains("lol")) {
JOptionPane.showMessageDialog(null, "cracked");
}else {
JOptionPane.showMessageDialog(null, "Not cracked");
}

I then converted it to native using that repo heres the jar

the native dll is in the native0 package, how would i go about cracking this? i opened it in IDA and no luck getting it passed.

this is the result i would want in native not just simple change the "Testing" string to "lol"

String string = "Testing";
if(!string.contains("lol")) {
JOptionPane.showMessageDialog(null, "cracked");
}else {
JOptionPane.showMessageDialog(null, "Not cracked");
}
 
  • R
    Created
  • Last reply
  • 0
    Replies
  • 284
    Views
  • 1
    Participants
  • Participants list