l0gan/domainCat

SyntaxError

Closed this issue · 4 comments

python3 domainCat.py --domain example.com
File "domainCat.py", line 40
print "\033[1;34m[*] Targeting McAfee Trustedsource\033[0;0m"
^
SyntaxError: Missing parentheses in call to 'print'

l0gan commented

Currently it is only Python2.7, but I have plans on updating to python3. Will work on this.

see PR that likely closes this issue via #!

root@demo:/opt/domainCat# python -V
Python 2.7.13
root@demo:/opt/domainCat# python domainCat.py --domain pornhub.com
Traceback (most recent call last):
File "domainCat.py", line 4, in
from modules import *
File "/opt/domainCat/modules/bluecoat.py", line 4, in
import requests
ImportError: No module named requests
root@demo:/opt/domainCat#

l0gan commented

I merged in the changes to make this work with python3. Ensure you have requests and bs4 installed (I updated the readme as well)
pip3 install bs4 pip3 install requests
Then run with python3 and see how that works for you.