diff --git a/.github/workflows/theHarvester.yml b/.github/workflows/theHarvester.yml index f526dc71..4d4b38e1 100644 --- a/.github/workflows/theHarvester.yml +++ b/.github/workflows/theHarvester.yml @@ -17,7 +17,7 @@ jobs: max-parallel: 8 matrix: os: [ ubuntu-latest, macos-latest ] - python-version: [ 3.8, 3.9, 3.10.0 ] + python-version: [ 3.10.0, 3.11.0 ] steps: - uses: actions/checkout@v3 diff --git a/bin/theHarvester b/bin/theHarvester index 5efdb3bb..1ea903dd 100755 --- a/bin/theHarvester +++ b/bin/theHarvester @@ -4,8 +4,8 @@ import sys import asyncio from theHarvester import __main__ -if sys.version_info.major < 3 or sys.version_info.minor < 7: - print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m') +if sys.version_info.major < 3 or sys.version_info.minor < 10: + print('\033[93m[!] Make sure you have Python 3.10+ installed, quitting.\n\n \033[0m') sys.exit(1) if __name__ == '__main__': @@ -23,6 +23,6 @@ if __name__ == '__main__': if "linux" in platform: import aiomultiprocess - # As we are not using Windows we can change the spawn method to fork for greater performance + # As we are not using Windows, we can change the spawn method to fork for greater performance aiomultiprocess.set_context("fork") asyncio.run(__main__.entry_point()) diff --git a/theHarvester.py b/theHarvester.py index 5efdb3bb..1ea903dd 100755 --- a/theHarvester.py +++ b/theHarvester.py @@ -4,8 +4,8 @@ import asyncio from theHarvester import __main__ -if sys.version_info.major < 3 or sys.version_info.minor < 7: - print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m') +if sys.version_info.major < 3 or sys.version_info.minor < 10: + print('\033[93m[!] Make sure you have Python 3.10+ installed, quitting.\n\n \033[0m') sys.exit(1) if __name__ == '__main__': @@ -23,6 +23,6 @@ if "linux" in platform: import aiomultiprocess - # As we are not using Windows we can change the spawn method to fork for greater performance + # As we are not using Windows, we can change the spawn method to fork for greater performance aiomultiprocess.set_context("fork") asyncio.run(__main__.entry_point())