This commit is contained in:
Dionysus 2025-02-11 21:40:49 -05:00
parent cd66542003
commit 311d37108a
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
3 changed files with 6 additions and 2 deletions

View File

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

View File

@ -107,6 +107,10 @@ class HTTPZScanner:
result['status'] = response.status result['status'] = response.status
# Bail immediately if it's a failed lookup - no point processing further
if result['status'] == -1:
return None
# Early exit if status code doesn't match criteria # Early exit if status code doesn't match criteria
if self.match_codes and result['status'] not in self.match_codes: if self.match_codes and result['status'] not in self.match_codes:
return result return result

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.7', version='2.0.8',
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',