FrenchYeti / dexcalibur

[Official] Android reverse engineering tool focused on dynamic instrumentation automation leveraging Frida. It disassembles dex, analyzes it statically, generates hooks, discovers reflected methods, stores intercepted data and does new things from it. Its aim is to be an all-in-one Android reverse engineering platform.
Apache License 2.0
1.06k stars 126 forks source link

dexcalibur "not found" bug in Docker container #16

Open cryptax opened 4 years ago

cryptax commented 4 years ago

Currently, with the Docker container I get this error:

# ./dexcalibur --app=com.freestylelibre.app.fr --port=8000 --pull
/bin/sh: 23: ./dexcalibur: not found

Investigating a little, we see this is caused by the fact the script uses /usr/local/bin/node which does not exist in the container, but /usr/bin/node.

# ls -al dexcalibur
-rwxr-xr-x 1 root root 5599 Jan 22 12:42 dexcalibur
# ls /usr/local/bin/node
ls: cannot access '/usr/local/bin/node': No such file or directory
# ls /usr/bin/node
/usr/bin/node

The solution is to replace the first line of dexcalibur with the reference to /usr/bin/node (or install node in /usr/local/bin). And then, it works :)

FrenchYeti commented 4 years ago

Thank you :) i will patch ASAP