Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

injector.py error sintax #21

Open
s00xMx opened this issue Jan 18, 2018 · 4 comments
Open

injector.py error sintax #21

s00xMx opened this issue Jan 18, 2018 · 4 comments

Comments

@s00xMx
Copy link

s00xMx commented Jan 18, 2018

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
Copy link

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

@ragekillen
Copy link

ragekillen commented Mar 28, 2018

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
Copy link

patame commented Jun 6, 2018

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
Copy link

Try running it as python3 injector.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants