Remove python checks in the run script as they are not needed anymore and add py3.10 support (#895)

* Add new fullhunt module

* Remove python checks in the run script as they are not needed anymore

* Remove netcraft from ci as it is not needed
This commit is contained in:
J.Townsend 2021-10-18 01:16:29 +01:00 committed by GitHub
parent 929a642bab
commit 35a9fae73d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 22 deletions

View file

@ -97,10 +97,6 @@ jobs:
run: |
python theHarvester.py -d yale.edu -b linkedin_links
- name: Run theHarvester module Netcraft
run: |
python theHarvester.py -d yale.edu -b netcraft
- name: Run theHarvester module Omnisint
run: |
python theHarvester.py -d yale.edu -b omnisint

View file

@ -1,16 +1,10 @@
#!/usr/bin/env python3
# Note: This script runs theHarvester
from platform import python_version
import sys
import asyncio
from theHarvester import __main__
if python_version()[0:3] < '3.7':
print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
sys.exit(1)
if __name__ == '__main__':
platform = sys.platform
if platform == 'win32':
@ -19,9 +13,8 @@ if __name__ == '__main__':
multiprocessing.freeze_support()
asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
else:
if python_version()[0:3] < '3.9':
import uvloop
uvloop.install()
import uvloop
uvloop.install()
if "linux" in platform:
import aiomultiprocess

View file

@ -1,16 +1,10 @@
#!/usr/bin/env python3
# Note: This script runs theHarvester
from platform import python_version
import sys
import asyncio
from theHarvester import __main__
if python_version()[0:3] < '3.7':
print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
sys.exit(1)
if __name__ == '__main__':
platform = sys.platform
if platform == 'win32':
@ -19,9 +13,8 @@
multiprocessing.freeze_support()
asyncio.DefaultEventLoopPolicy = asyncio.WindowsSelectorEventLoopPolicy
else:
if python_version()[0:3] < '3.9':
import uvloop
uvloop.install()
import uvloop
uvloop.install()
if "linux" in platform:
import aiomultiprocess