fuck
This commit is contained in:
parent
1a613b005a
commit
81c692d1fa
@ -6,4 +6,4 @@ from .scanner import HTTPZScanner
|
||||
from .colors import Colors
|
||||
|
||||
|
||||
__version__ = '1.0.4'
|
||||
__version__ = '1.0.5'
|
@ -1 +1,18 @@
|
||||
#!/usr/bin/env python3
|
||||
# HTTPZ Web Scanner - Developed by acidvegas in Python (https://github.com/acidvegas/httpz)
|
||||
# httpz/__main__.py
|
||||
|
||||
import asyncio
|
||||
import sys
|
||||
from .cli import main
|
||||
|
||||
def cli():
|
||||
"""Entry point for the command line interface"""
|
||||
try:
|
||||
asyncio.run(main())
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(1)
|
||||
|
||||
# This allows both 'python -m httpz' and the 'httpz' command to work
|
||||
if __name__ == '__main__':
|
||||
cli()
|
4
setup.py
4
setup.py
@ -9,7 +9,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
||||
|
||||
setup(
|
||||
name='httpz-scanner',
|
||||
version='1.0.4',
|
||||
version='1.0.5',
|
||||
author='acidvegas',
|
||||
author_email='acid.vegas@acid.vegas',
|
||||
description='Hyper-fast HTTP Scraping Tool',
|
||||
@ -41,7 +41,7 @@ setup(
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'httpz=httpz.__main__:main', # This creates the 'httpz' command
|
||||
'httpz=httpz.__main__:cli', # This creates the 'httpz' command
|
||||
],
|
||||
},
|
||||
)
|
Loading…
Reference in New Issue
Block a user