Created
September 4, 2019 09:50
-
-
Save eybisi/b88b5d0e9b75b058390f330ef76f6aab to your computer and use it in GitHub Desktop.
hydra time bypass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var unlinkPtr = Module.findExportByName(null, 'unlink'); | |
// remove bypass | |
Interceptor.replace(unlinkPtr, new NativeCallback( function (a){ | |
console.log("[+] Unlink : " + Memory.readUtf8String(ptr(a))) | |
}, 'int', ['pointer'])); | |
var timePtr = Module.findExportByName(null, 'time'); | |
// time bypass | |
Interceptor.replace(timePtr, new NativeCallback( function (){ | |
console.log("[+] native time bypass : ") | |
return 1568358599 | |
},'long', ['long'])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment