Hook PyCrypto AES functions and retrieve Specs with Frida
- Install frida
- Open cmd prompt and enter
frida -p <pid> -l PyCrypto_hook.jsyou can get current pid instance withtasklist | findstr "python"cmd under windows. Script should work under any OS...
Note: This script is useful if the code you're running is encrypted/compiled but you sure uses PyCrypto/PyCryptoDome(x) library.