Skip to content

Instantly share code, notes, and snippets.

@eybisi
Created September 4, 2019 09:50
Show Gist options
  • Save eybisi/b88b5d0e9b75b058390f330ef76f6aab to your computer and use it in GitHub Desktop.
Save eybisi/b88b5d0e9b75b058390f330ef76f6aab to your computer and use it in GitHub Desktop.
hydra time bypass
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