diff --git a/httpz-scanner/__init__.py b/httpz-scanner/__init__.py index 242571b..dfea0d2 100644 --- a/httpz-scanner/__init__.py +++ b/httpz-scanner/__init__.py @@ -6,4 +6,4 @@ from .scanner import HTTPZScanner from .colors import Colors -__version__ = '1.0.5' \ No newline at end of file +__version__ = '1.0.6' \ No newline at end of file diff --git a/httpz/__main__.py b/httpz/__main__.py deleted file mode 100644 index 8f68508..0000000 --- a/httpz/__main__.py +++ /dev/null @@ -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() \ No newline at end of file diff --git a/setup.py b/setup.py index 19a3010..c1752a3 100644 --- a/setup.py +++ b/setup.py @@ -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 ], }, ) \ No newline at end of file