This commit is contained in:
Dionysus 2025-02-11 21:44:58 -05:00
parent 311d37108a
commit 63517430b7
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -177,10 +177,10 @@ class HTTPZScanner:
break break
except Exception as e: except Exception as e:
debug(f'Error checking {url}: {str(e)}') debug(f'Error checking {url}: {str(e)}')
result['status'] = -1 continue # Just continue to next protocol without setting status = -1
continue
return result # Return None if we never got a valid status
return None if result['status'] == 0 else result
async def scan(self, input_source): async def scan(self, input_source):

View File

@ -10,7 +10,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup( setup(
name='httpz_scanner', name='httpz_scanner',
version='2.0.8', version='2.0.9',
author='acidvegas', author='acidvegas',
author_email='acid.vegas@acid.vegas', author_email='acid.vegas@acid.vegas',
description='Hyper-fast HTTP Scraping Tool', description='Hyper-fast HTTP Scraping Tool',