Forum

frida, nodejs, Refe...
 
Notifications
Clear all

frida, nodejs, ReferenceError: 'exports' is not defined

1 Posty
1 Users
0 Reactions
1,939 Widok
0
Topic starter

or ReferenceError: 'require' is not defined

1 Answer
0
Topic starter

1. after tsc command you have to process output index.js file through frida-compile
2. https://www.npmjs.com/package/frida-compile
2.1 or

npm i frida-compile

3. then

frida-compile.cmd index.js -o indexout.js

(windows)
4. then

frida -U -l "indexout.js" com.target.app --debug

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: