Mr_hEx icon

disable to load SO file to bypass frida detection

Mr_hEx | PRO | 03/26/24 10:14:17 PM UTC (Edited) | 0 ⭐ | 989 👁️ | Never ⏰ | []
JavaScript |

460 B

|

None

|

0 👍

/

0 👎

// HackTheBox challenge mobile => Waiting
// Telegram : @HTB0X
 
Java.perform(function () {
    var System = Java.use('java.lang.System');
    System.loadLibrary.overload('java.lang.String').implementation = function (library) {
        console.log('[*] LoadLibrary call: ' + library);
        if (library === 'native-lib') {
            console.log('[+] bypass loading of '+ library);
        } else {
            this.loadLibrary(library);
        }
    };
});

Comments