Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mxrch
GitHub Repository: mxrch/GHunt
Path: blob/master/ghunt/ghunt.py
252 views
1
import os
2
import sys
3
4
5
def main():
6
version = sys.version_info
7
if (version < (3, 10)):
8
print('[-] GHunt only works with Python 3.10+.')
9
print(f'Your current Python version : {version.major}.{version.minor}.{version.micro}')
10
sys.exit(os.EX_SOFTWARE)
11
12
from ghunt.cli import parse_and_run
13
from ghunt.helpers.banner import show_banner
14
from ghunt.helpers.utils import show_version
15
16
show_banner()
17
show_version()
18
print()
19
parse_and_run()
20