atomicshop 2.18.24__py3-none-any.whl → 2.18.25__py3-none-any.whl
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.
Potentially problematic release.
This version of atomicshop might be problematic. Click here for more details.
- atomicshop/__init__.py +1 -1
- atomicshop/mitm/connection_thread_worker.py +13 -1
- {atomicshop-2.18.24.dist-info → atomicshop-2.18.25.dist-info}/METADATA +1 -1
- {atomicshop-2.18.24.dist-info → atomicshop-2.18.25.dist-info}/RECORD +7 -7
- {atomicshop-2.18.24.dist-info → atomicshop-2.18.25.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.18.24.dist-info → atomicshop-2.18.25.dist-info}/WHEEL +0 -0
- {atomicshop-2.18.24.dist-info → atomicshop-2.18.25.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -36,7 +36,12 @@ def thread_worker_main(
|
|
|
36
36
|
|
|
37
37
|
# Same goes for the '.path' attribute, if it is not HTTP message then there will be no path.
|
|
38
38
|
try:
|
|
39
|
-
|
|
39
|
+
if client_message.request_auto_parsed and client_message.request_auto_parsed.path:
|
|
40
|
+
http_path: str = client_message.request_auto_parsed.path
|
|
41
|
+
elif client_message.response_auto_parsed.path:
|
|
42
|
+
http_path: str = client_message.response_auto_parsed.path
|
|
43
|
+
else:
|
|
44
|
+
http_path: str = str()
|
|
40
45
|
except AttributeError:
|
|
41
46
|
http_path: str = str()
|
|
42
47
|
|
|
@@ -114,12 +119,17 @@ def thread_worker_main(
|
|
|
114
119
|
auto_parsed = request_http_parsed
|
|
115
120
|
network_logger.info(
|
|
116
121
|
f"HTTP Request Parsed: Method: {request_http_parsed.command} | Path: {request_http_parsed.path}")
|
|
122
|
+
http_path_queue.put(request_http_parsed.path)
|
|
123
|
+
network_logger.info(f"HTTP Request Parsed: Putting PATH to queue.")
|
|
117
124
|
|
|
118
125
|
is_http_request_a_websocket(auto_parsed, client_message)
|
|
119
126
|
elif is_http_response:
|
|
120
127
|
auto_parsed = response_http_parsed
|
|
121
128
|
network_logger.info(
|
|
122
129
|
f"HTTP Response Parsed: Status: {response_http_parsed.code}")
|
|
130
|
+
|
|
131
|
+
auto_parsed.path = http_path_queue.get()
|
|
132
|
+
network_logger.info(f"HTTP Response Parsed: Got PATH from queue: [{auto_parsed.path}]")
|
|
123
133
|
elif protocol == 'Websocket':
|
|
124
134
|
client_message.protocol2 = 'Frame'
|
|
125
135
|
auto_parsed = parse_websocket(raw_bytes)
|
|
@@ -516,6 +526,8 @@ def thread_worker_main(
|
|
|
516
526
|
exception_or_close_in_receiving_thread: bool = False
|
|
517
527
|
# Responder queue for ClientMessage objects.
|
|
518
528
|
responder_queue: queue.Queue = queue.Queue()
|
|
529
|
+
# Queue for http request URI paths.
|
|
530
|
+
http_path_queue: queue.Queue = queue.Queue()
|
|
519
531
|
|
|
520
532
|
try:
|
|
521
533
|
client_ip, source_port = client_socket.getpeername()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=VYY4rRuPaRWzCl2qpmWJGJNhw3urqzTdtnJA8xHBRFE,124
|
|
2
2
|
atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
|
|
3
3
|
atomicshop/_create_pdf_demo.py,sha256=Yi-PGZuMg0RKvQmLqVeLIZYadqEZwUm-4A9JxBl_vYA,3713
|
|
4
4
|
atomicshop/_patch_import.py,sha256=ENp55sKVJ0e6-4lBvZnpz9PQCt3Otbur7F6aXDlyje4,6334
|
|
@@ -127,7 +127,7 @@ atomicshop/file_io/xmls.py,sha256=zh3SuK-dNaFq2NDNhx6ivcf4GYCfGM8M10PcEwDSpxk,21
|
|
|
127
127
|
atomicshop/mitm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
128
128
|
atomicshop/mitm/config_static.py,sha256=HIzxyMEj7DZksYvJsN5VuKpB-_HSVvuR6U59ztS9gi0,7871
|
|
129
129
|
atomicshop/mitm/config_toml_editor.py,sha256=2p1CMcktWRR_NW-SmyDwylu63ad5e0-w1QPMa8ZLDBw,1635
|
|
130
|
-
atomicshop/mitm/connection_thread_worker.py,sha256=
|
|
130
|
+
atomicshop/mitm/connection_thread_worker.py,sha256=2180oQgD3qRS53zloeALs_vYt66RJWJtnaCqjl2jVs4,28187
|
|
131
131
|
atomicshop/mitm/import_config.py,sha256=0Ij14aISTllTOiWYJpIUMOWobQqGofD6uafui5uWllE,9272
|
|
132
132
|
atomicshop/mitm/initialize_engines.py,sha256=NWz0yBErSrYBn0xWkJDBcHStBJ-kcsv9VtorcSP9x5M,8258
|
|
133
133
|
atomicshop/mitm/message.py,sha256=mNo4Lphr_Jo6IlNX5mPJzABpogWGkjOhwI4meAivwHw,2987
|
|
@@ -321,8 +321,8 @@ atomicshop/wrappers/socketw/statistics_csv.py,sha256=fgMzDXI0cybwUEqAxprRmY3lqbh
|
|
|
321
321
|
atomicshop/wrappers/winregw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
322
322
|
atomicshop/wrappers/winregw/winreg_installed_software.py,sha256=Qzmyktvob1qp6Tjk2DjLfAqr_yXV0sgWzdMW_9kwNjY,2345
|
|
323
323
|
atomicshop/wrappers/winregw/winreg_network.py,sha256=AENV88H1qDidrcpyM9OwEZxX5svfi-Jb4N6FkS1xtqA,8851
|
|
324
|
-
atomicshop-2.18.
|
|
325
|
-
atomicshop-2.18.
|
|
326
|
-
atomicshop-2.18.
|
|
327
|
-
atomicshop-2.18.
|
|
328
|
-
atomicshop-2.18.
|
|
324
|
+
atomicshop-2.18.25.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
325
|
+
atomicshop-2.18.25.dist-info/METADATA,sha256=_5QbjevzVET5wXMH4nvX5y92B_0rCxCdP1xxrubqVsk,10631
|
|
326
|
+
atomicshop-2.18.25.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
327
|
+
atomicshop-2.18.25.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
328
|
+
atomicshop-2.18.25.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|