philarkwright / DGA-Detection

DGA Domain Detection using Bigram Frequency Analysis
Other
53 stars 32 forks source link

Invalid Token #1

Open psychomad opened 6 years ago

psychomad commented 6 years ago

Hi I try to install using first pip install -r requirements.txt and then pip3 install -r requirements.txt

because first way didn't work both way show me

Collecting scapy Using cached scapy-2.3.3.tgz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-xe7ucgvg/scapy/setup.py", line 36 os.chmod(fname, 0755) ^ SyntaxError: invalid token

But i have scapy already update and working

Any clue?

philarkwright commented 6 years ago

The script was written for python 2.7 so wouldn't work with python 3. Which linux distro are you using? Try sudo apt-get install scapy. Then try installing the rest and run using sudo python2.7 dga_detection.py