coffeeMiner icon indicating copy to clipboard operation
coffeeMiner copied to clipboard

injector.py error sintax

Open s00xMx opened this issue 7 years ago • 4 comments

hello,

when i run a coffeeminer get the following error:

root@kali:~/coffeeMiner# python3 coffeeMiner.py 192.168.0.1 gateway: 192.168.0.1 victims: ['192.168.0.4'] Loading script: injector.py http://192.168.0.10:8000/script.js

Script error: injector.py line 11: invalid syntax

Proxy server listening at http://0.0.0.0:8080 192.168.0.4:57793: clientconnect 192.168.0.4:57795: clientconnect 192.168.0.4:57800: clientconnect 192.168.0.4:57801: clientconnect

and not inject the script.js

can you help me plz ?

s00xMx avatar Jan 18 '18 07:01 s00xMx

same issue when using nethunter armhf on my Android but when inside a vm on laptop no issues

ragekillen avatar Mar 28 '18 20:03 ragekillen

after further investigation i believe its a system link error.

if you type root@kali:/ python injector.py | root@kali:/ python2 injector.py you will see error line 11

on the other hand if you type root@kali:/ python3 injector.py there is no errors reported

so what this means if i am correct is its being ran with the python v1 | v2 instead of v3 as for a fix what i'm going to try is uninstall python v1 & v2 & v3 then re run install.sh

ragekillen avatar Mar 28 '18 21:03 ragekillen

hi ragekillen, hi all i have same problem invalid syntax line 11 but when i try to remove all version of python with this command: apt-get autoremove python apt purge python apt-get autoremove python3 apt purge python3 my server lost graphic interface and i have dependancy error.

please help me

patame avatar Jun 06 '18 18:06 patame

Try running it as python3 injector.py

ragekillen avatar Jun 06 '18 18:06 ragekillen