pyproxytools 0.5.2__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyproxytools-0.5.2/pyproxytools.egg-info → pyproxytools-0.5.3}/PKG-INFO +4 -4
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/__init__.py +1 -1
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/handlers/https.py +6 -1
- {pyproxytools-0.5.2 → pyproxytools-0.5.3/pyproxytools.egg-info}/PKG-INFO +4 -4
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxytools.egg-info/requires.txt +3 -3
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/requirements.txt +3 -3
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/LICENSE +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/MANIFEST.in +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/README.md +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproject.toml +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/__main__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/handlers/__init__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/handlers/client.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/handlers/http.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/modules/__init__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/modules/cancel_inspect.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/modules/custom_header.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/modules/filter.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/modules/shortcuts.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/__init__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/auth.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/messages.pot +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/monitor.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/routes.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/en/LC_MESSAGES/messages.mo +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/en/LC_MESSAGES/messages.po +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/fr/LC_MESSAGES/messages.mo +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/fr/LC_MESSAGES/messages.po +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/pyproxy.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/server.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/utils/__init__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/utils/args.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/utils/config.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/utils/crypto.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/utils/http_req.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/utils/logger.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxytools.egg-info/SOURCES.txt +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxytools.egg-info/dependency_links.txt +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxytools.egg-info/entry_points.txt +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxytools.egg-info/top_level.txt +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/setup.cfg +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/setup.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/modules/__init__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/modules/test_cancel_inspect.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/modules/test_custom_header.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/modules/test_filter.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/modules/test_shortcuts.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/utils/__init__.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/utils/test_crypto.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/utils/test_http_req.py +0 -0
- {pyproxytools-0.5.2 → pyproxytools-0.5.3}/tests/utils/test_logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyproxytools
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Lightweight and fast python web proxy
|
|
5
5
|
Author: pyproxytools
|
|
6
6
|
License-Expression: MIT
|
|
@@ -23,9 +23,9 @@ Classifier: Topic :: Utilities
|
|
|
23
23
|
Classifier: Typing :: Typed
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: rich-argparse>=1.7.
|
|
27
|
-
Requires-Dist: pyOpenSSL
|
|
28
|
-
Requires-Dist: requests>=2.
|
|
26
|
+
Requires-Dist: rich-argparse>=1.7.1
|
|
27
|
+
Requires-Dist: pyOpenSSL==25.3.0
|
|
28
|
+
Requires-Dist: requests>=2.32.5
|
|
29
29
|
Requires-Dist: Flask>=3.1.2
|
|
30
30
|
Requires-Dist: Flask-HTTPAuth>=4.8.1
|
|
31
31
|
Requires-Dist: Flask-Babel>=4.0.0
|
|
@@ -377,7 +377,12 @@ class HttpsHandler:
|
|
|
377
377
|
and "target_ip" not in self.active_connections[thread_id]
|
|
378
378
|
):
|
|
379
379
|
try:
|
|
380
|
-
|
|
380
|
+
peer = server_socket.getpeername()
|
|
381
|
+
if len(peer) == 2:
|
|
382
|
+
target_ip, target_port = peer
|
|
383
|
+
else:
|
|
384
|
+
target_ip, target_port, *_ = peer
|
|
385
|
+
|
|
381
386
|
self.active_connections[thread_id]["target_ip"] = target_ip
|
|
382
387
|
self.active_connections[thread_id]["target_port"] = target_port
|
|
383
388
|
except OSError as e:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyproxytools
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Lightweight and fast python web proxy
|
|
5
5
|
Author: pyproxytools
|
|
6
6
|
License-Expression: MIT
|
|
@@ -23,9 +23,9 @@ Classifier: Topic :: Utilities
|
|
|
23
23
|
Classifier: Typing :: Typed
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: rich-argparse>=1.7.
|
|
27
|
-
Requires-Dist: pyOpenSSL
|
|
28
|
-
Requires-Dist: requests>=2.
|
|
26
|
+
Requires-Dist: rich-argparse>=1.7.1
|
|
27
|
+
Requires-Dist: pyOpenSSL==25.3.0
|
|
28
|
+
Requires-Dist: requests>=2.32.5
|
|
29
29
|
Requires-Dist: Flask>=3.1.2
|
|
30
30
|
Requires-Dist: Flask-HTTPAuth>=4.8.1
|
|
31
31
|
Requires-Dist: Flask-Babel>=4.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/en/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/en/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/fr/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{pyproxytools-0.5.2 → pyproxytools-0.5.3}/pyproxy/monitoring/translations/fr/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|