mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-18 07:37:44 +02:00
Delay importing the main to avoid the SyntaxError.
$ ./theHarvester.py
Traceback (most recent call last):
File "./theHarvester.py", line 5, in <module>
from theHarvester import __main__
File
"theHarvester/__main__.py",
line 96
print(f'\033[94m[*] Target: {word} \n \033[0m')
^
SyntaxError: invalid syntax
12 lines
306 B
Python
Executable File
12 lines
306 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
# Note: This script runs theHarvester
|
|
from platform import python_version
|
|
import sys
|
|
if python_version()[0:3] < '3.6':
|
|
print('\033[93m[!] Make sure you have Python 3.6+ installed, quitting.\n\n \033[0m')
|
|
sys.exit(1)
|
|
|
|
from theHarvester import __main__
|
|
__main__.entry_point()
|