guelfoweb / knock

Knock Subdomain Scan
GNU General Public License v3.0
3.85k stars 854 forks source link

Syntax Error #54

Closed darkdemon28 closed 1 day ago

darkdemon28 commented 6 years ago

SyntaxError: Missing parentheses in call to 'print'. Did you mean print("""


| |/ / | | """+version+""")?

Getting this error when trying to use the script. Please can we have this issue fixed?

Thanks

Sechunt3r commented 6 years ago

Traceback (most recent call last): File "/usr/local/bin/knockpy", line 11, in load_entry_point('knockpy==4.1.1', 'console_scripts', 'knockpy')() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2693, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2324, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2330, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python3.6/dist-packages/knockpy-4.1.1-py3.6.egg/knockpy/knockpy.py", line 53 | |/ / | | """+version+"""
^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("""


| |/ / | | """+version+""")?

epi052 commented 6 years ago

I'll check it out tonight and submit a PR.

epi052 commented 6 years ago

follow-up, run it with python2. the syntax error is when run with python3

Rataash99 commented 3 years ago

#

follow-up, run it with python2. the syntax error is when run with python3

It's not working with python2 either i've literally tried everything possible ended up by an unsolved issue please, let me know if you find any other fix for this