s0md3v / Striker

Striker is an offensive information and vulnerability scanner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line 61 Error

mr7Zx opened this issue · comments

commented

File "striker.py", line 61
SyntaxError: Non-ASCII character '\xe2' in file striker.py on line 61, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

yeap same error here

commented

@mr7Zx @tweetyzero
use Python3 with this build. This issue is caused by using Python 2
apt-get install git
git clone https://github.com/s0md3v/Striker && cd
apt-get install python3
apt-get install python3-pip
pip3 install -r requirements.txt
python3 striker.py %yourdomain.com%

Anyone else getting this error ?

AbuAdams-MacBook-Pro:Striker-master AbuAdam$ python3 striker.py
Traceback (most recent call last):
File "striker.py", line 13, in
from core.colors import red, white, end, green, dgreen, info, good, bad, run, red_line
ImportError: cannot import name 'dgreen' from 'core.colors' (/Users/AbuAdam/Striker-master/core/colors.py)
AbuAdams-MacBook-Pro:Striker-master AbuAdam$

AbuAdams-MacBook-Pro:Striker-master AbuAdam$ python3 striker.py yahoo.com
Traceback (most recent call last):
File "striker.py", line 13, in
from core.colors import red, white, end, green, dgreen, info, good, bad, run, red_line
ImportError: cannot import name 'dgreen' from 'core.colors' (/Users/AbuAdam/Striker-master/core/colors.py)
AbuAdams-MacBook-Pro:Striker-master AbuAdam$
AbuAdams-MacBook-Pro:Striker-master AbuAdam$ ls
LICENSE db striker.py
README.md modules
core requirements.txt
AbuAdams-MacBook-Pro:Striker-master AbuAdam$
AbuAdams-MacBook-Pro:Striker-master AbuAdam$ ls
LICENSE db striker.py
README.md modules
core requirements.txt
AbuAdams-MacBook-Pro:Striker-master AbuAdam$

I believe the issue has been fixed in latest update, let me know if it still exists.