Skip to content

Instantly share code, notes, and snippets.

@nghia4007
nghia4007 / frida-tips.md
Created October 23, 2021 06:33 — forked from daniellimws/frida-tips.md
Frida tips

Frida Tips

The documentation is so limited. A compilation of things I found on StackOverflow and don't want to have to search it up again.

Bypass root check

setTimeout(function() { // avoid java.lang.ClassNotFoundException

  Java.perform(function() {

    // Root detection bypass example
@nghia4007
nghia4007 / wait_for_http_json_response.sh
Last active September 24, 2020 13:44 — forked from rgl/wait_for_http_json_response.sh
Wait for an HTTP endpoint to return a given JSON property value with Bash, curl and jq
bash -c 'while [[ "$(curl -s localhost:9000/api/system/status | jq --raw-output ''.status'')" != "UP" ]]; do sleep 5; done'
# also check https://gist.github.com/rgl/f90ff293d56dbb0a1e0f7e7e89a81f42