mirror of
https://github.com/laramies/theHarvester.git
synced 2024-11-10 09:02:37 +08:00
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:
parent
929a642bab
commit
35a9fae73d
3 changed files with 4 additions and 22 deletions
4
.github/workflows/theHarvester.yml
vendored
4
.github/workflows/theHarvester.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue