This commit is contained in:
Dionysus 2025-02-11 02:42:36 -05:00
parent 81c692d1fa
commit 91d016299d
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
3 changed files with 3 additions and 21 deletions

View File

@ -6,4 +6,4 @@ from .scanner import HTTPZScanner
from .colors import Colors
__version__ = '1.0.5'
__version__ = '1.0.6'

View File

@ -1,18 +0,0 @@
#!/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()

View File

@ -9,7 +9,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup(
name='httpz-scanner',
version='1.0.5',
version='1.0.6',
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__:cli', # This creates the 'httpz' command
'httpz=httpz-scanner.__main__:cli', # Updated import path
],
},
)