From 1819c7dc48709ac99c43d3ba302bee63c545e56b Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 11 Feb 2025 21:13:28 -0500 Subject: [PATCH] fuck --- httpz_scanner/__init__.py | 2 +- httpz_scanner/scanner.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/httpz_scanner/__init__.py b/httpz_scanner/__init__.py index df6076a..5e70c67 100644 --- a/httpz_scanner/__init__.py +++ b/httpz_scanner/__init__.py @@ -6,4 +6,4 @@ from .scanner import HTTPZScanner from .colors import Colors -__version__ = '2.0.2' \ No newline at end of file +__version__ = '2.0.3' \ No newline at end of file diff --git a/httpz_scanner/scanner.py b/httpz_scanner/scanner.py index 49dd698..6220510 100644 --- a/httpz_scanner/scanner.py +++ b/httpz_scanner/scanner.py @@ -229,8 +229,8 @@ class HTTPZScanner: # Handle different input types if isinstance(input_source, str): # File or stdin input - domain_iter = input_generator(input_source, self.shard) - for domain in domain_iter: + gen = input_generator(input_source, self.shard) + async for domain in gen: if len(tasks) >= self.concurrent_limit: done, tasks = await asyncio.wait( tasks, return_when=asyncio.FIRST_COMPLETED diff --git a/setup.py b/setup.py index 69e5715..424e1d1 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open('README.md', 'r', encoding='utf-8') as f: setup( name='httpz_scanner', - version='2.0.2', + version='2.0.3', author='acidvegas', author_email='acid.vegas@acid.vegas', description='Hyper-fast HTTP Scraping Tool',