Strings
Hello everyone , In this blog post , I will try to explain my solution steps for Strings challenge from Mobile Hacking Lab Platform . i hope it will be useful for you

image.png 
from base64 import b64decode from Cryptodome.Cipher import AES from Cryptodome.Util.Padding import unpad # Inputs secret = "bqGrDKdQ8zo26HflRsGvVA==" # Encrypted string (Base64 encoded) key = b"your_secret_key_1234567890123456" # 32-byte key iv = b"1234567890123456" # 16-byte IV # Decode the Base64 encoded secret cipher_text = b64decode(secret) # Decrypt using AES CBC mode cipher = AES.new(key, AES.MODE_CBC, iv) decrypted = unpad(cipher.decrypt(cipher_text), AES.block_size) # Print the result print("Decrypted Text:", decrypted.decode('utf-8'))Java.perform(function () { setTimeout(function () { Java.choose("com.mobilehackinglab.challenge.MainActivity" , { onMatch : function(instance){ console.log("Found instance: "+instance); console.log("call KLOW func: " + instance.KLOW()); }, onComplete:function(){} }); }, 1000); setTimeout(function () { Java.choose("com.mobilehackinglab.challenge.Activity2" , { onMatch : function(instance){ console.log("Found instance: "+instance); console.log("cd func: " + instance.cd()); console.log("native func: " + instance.getflag()); }, onComplete:function(){} }); }, 10000); });

Last updated



