s0md3v / Striker

Striker is an offensive information and vulnerability scanner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Syntax error

kot9pko opened this issue · comments

Started script with python2, got this exception after DNS Map:

  File "theHarvester.py", line 56
    print "Invalid search engine, try with: baidu, bing, bingapi,crtsh, dogpile, google, googleCSE, virustotal, netcraft, googleplus, google-profiles, linkedin, pgp, twitter, vhost, yahoo, all"
                                                                                                                                                                                                ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "Invalid search engine, try with: baidu, bing, bingapi,crtsh, dogpile, google, googleCSE, virustotal, netcraft, googleplus, google-profiles, linkedin, pgp, twitter, vhost, yahoo, all")?
[>] Crawling the target for fuzzable URLs
[-] No fuzzable URLs found

[Fixed] Can you please check again?

Now another string :D

  File "theHarvester.py", line 63
    print '\033[1;97m[>]\033[1;m Initiating 3 intel modules'
                                                           ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print '\033[1;97m[>]\033[1;m Initiating 3 intel modules')?

I think the best way is write it on python3 :)

Ah I see now.
You are running this script with python3 because we don't parentheses in a print statement in python2.
Well sorry, it won't work in python3.

No, I'm running it by python2

Huh? But why would python2 require you to use parentheses in print statement.