atomicshop 2.18.8__py3-none-any.whl → 2.18.10__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 +2 -0
- atomicshop/mitm/engines/__parent/responder___parent.py +10 -3
- atomicshop/mitm/engines/__reference_general/responder___reference_general.py +12 -12
- {atomicshop-2.18.8.dist-info → atomicshop-2.18.10.dist-info}/METADATA +1 -1
- {atomicshop-2.18.8.dist-info → atomicshop-2.18.10.dist-info}/RECORD +9 -9
- {atomicshop-2.18.8.dist-info → atomicshop-2.18.10.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.18.8.dist-info → atomicshop-2.18.10.dist-info}/WHEEL +0 -0
- {atomicshop-2.18.8.dist-info → atomicshop-2.18.10.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -293,6 +293,7 @@ def thread_worker_main(
|
|
|
293
293
|
try:
|
|
294
294
|
while True:
|
|
295
295
|
client_message = responder_queue.get()
|
|
296
|
+
print_api(f"Got message from queue, action: [{client_message.action}]", logger=network_logger, logger_method='info')
|
|
296
297
|
|
|
297
298
|
# If the message is not a ClientMessage object, then we'll break the loop, since it is the exit signal.
|
|
298
299
|
if not isinstance(client_message, ClientMessage):
|
|
@@ -302,6 +303,7 @@ def thread_worker_main(
|
|
|
302
303
|
raw_responses: list[bytes] = responder.create_connect_response(client_message)
|
|
303
304
|
else:
|
|
304
305
|
raw_responses: list[bytes] = create_responder_response(client_message)
|
|
306
|
+
print_api(f"Got responses from responder, count: [{len(raw_responses)}]", logger=network_logger, logger_method='info')
|
|
305
307
|
|
|
306
308
|
is_socket_closed: bool = False
|
|
307
309
|
for response_raw_bytes in raw_responses:
|
|
@@ -190,10 +190,17 @@ class ResponderParent:
|
|
|
190
190
|
|
|
191
191
|
return response_raw_bytes
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
@staticmethod
|
|
194
|
+
def create_connect_response(class_client_message: ClientMessage):
|
|
194
195
|
""" This function should be overridden in the child class. """
|
|
195
|
-
|
|
196
|
+
|
|
197
|
+
_ = class_client_message
|
|
198
|
+
response_bytes_list: list[bytes] = list()
|
|
199
|
+
return response_bytes_list
|
|
196
200
|
|
|
197
201
|
def create_response(self, class_client_message: ClientMessage):
|
|
198
202
|
""" This function should be overridden in the child class. """
|
|
199
|
-
|
|
203
|
+
|
|
204
|
+
_ = class_client_message
|
|
205
|
+
response_bytes_list: list[bytes] = list()
|
|
206
|
+
return response_bytes_list
|
|
@@ -67,18 +67,18 @@ class ResponderGeneral(ResponderParent):
|
|
|
67
67
|
# response_bytes_list.append(byte_response)
|
|
68
68
|
return response_bytes_list
|
|
69
69
|
|
|
70
|
-
def create_connect_response(self, class_client_message: ClientMessage):
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
70
|
+
# def create_connect_response(self, class_client_message: ClientMessage):
|
|
71
|
+
# """
|
|
72
|
+
# This is almost the same as 'create_response' function, but it's used only when the client connects and before
|
|
73
|
+
# sending any data.
|
|
74
|
+
# """
|
|
75
|
+
#
|
|
76
|
+
# # byte_response: bytes = b''
|
|
77
|
+
# # self.logger.info(f"Response: {byte_response}")
|
|
78
|
+
#
|
|
79
|
+
# response_bytes_list: list[bytes] = list()
|
|
80
|
+
# # response_bytes_list.append(byte_response)
|
|
81
|
+
# return response_bytes_list
|
|
82
82
|
|
|
83
83
|
# ==================================================================================================================
|
|
84
84
|
# Uncomment this section in order to begin building custom responder.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=4l5AzU7ZN0ze_ZiHitjIjHpioqNgR6QEkr_lldTAqm4,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=hCtaaXIPIbawPFaKXumxlmtiEXPakw_PQtZ3qSxuXVo,27439
|
|
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
|
|
@@ -141,11 +141,11 @@ atomicshop/mitm/engines/create_module_template_example.py,sha256=X5xhvbV6-g9jU_b
|
|
|
141
141
|
atomicshop/mitm/engines/__parent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
142
142
|
atomicshop/mitm/engines/__parent/parser___parent.py,sha256=HHaCXhScl3OlPjz6eUxsDpJaZyk6BNuDMc9xCkeo2Ws,661
|
|
143
143
|
atomicshop/mitm/engines/__parent/recorder___parent.py,sha256=exfElkgOU57hupV6opRCeYPHw91GIkIZL6UY3f2OClM,5635
|
|
144
|
-
atomicshop/mitm/engines/__parent/responder___parent.py,sha256=
|
|
144
|
+
atomicshop/mitm/engines/__parent/responder___parent.py,sha256=yEgR33CkAd1b9jyH5E8I4E16upqjlcK3WLo3BFHdjyk,9157
|
|
145
145
|
atomicshop/mitm/engines/__reference_general/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
146
|
atomicshop/mitm/engines/__reference_general/parser___reference_general.py,sha256=57MEPZMAjTO6xBDZ-yt6lgGJyqRrP0Do5Gk_cgCiPns,2998
|
|
147
147
|
atomicshop/mitm/engines/__reference_general/recorder___reference_general.py,sha256=El2_YHLoHUCiKfkAmGlXxtFpmSjsUFdsb8I1MvSAFaM,653
|
|
148
|
-
atomicshop/mitm/engines/__reference_general/responder___reference_general.py,sha256=
|
|
148
|
+
atomicshop/mitm/engines/__reference_general/responder___reference_general.py,sha256=eg8dMLXUDJ-0muUqoYM9MrGAXwy_0PTZyB-Apa-QDuE,9553
|
|
149
149
|
atomicshop/mitm/statistic_analyzer_helper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
150
|
atomicshop/mitm/statistic_analyzer_helper/analyzer_helper.py,sha256=pk6L1t1ea1kvlBoR9QEJptOmaX-mumhwLsP2GCKukbk,5920
|
|
151
151
|
atomicshop/mitm/statistic_analyzer_helper/moving_average_helper.py,sha256=UnnY_FSTiXEfZ8SkDKU2s2qpgPYu1oOT99ghmY-zzas,19992
|
|
@@ -319,8 +319,8 @@ atomicshop/wrappers/socketw/ssl_base.py,sha256=kmiif84kMhBr5yjQW17p935sfjR5JKG0L
|
|
|
319
319
|
atomicshop/wrappers/socketw/statistics_csv.py,sha256=fgMzDXI0cybwUEqAxprRmY3lqbh30KAV-jOpoFKT-m8,3395
|
|
320
320
|
atomicshop/wrappers/winregw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
321
321
|
atomicshop/wrappers/winregw/winreg_network.py,sha256=AENV88H1qDidrcpyM9OwEZxX5svfi-Jb4N6FkS1xtqA,8851
|
|
322
|
-
atomicshop-2.18.
|
|
323
|
-
atomicshop-2.18.
|
|
324
|
-
atomicshop-2.18.
|
|
325
|
-
atomicshop-2.18.
|
|
326
|
-
atomicshop-2.18.
|
|
322
|
+
atomicshop-2.18.10.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
323
|
+
atomicshop-2.18.10.dist-info/METADATA,sha256=L18esBXDuCPum0fOH1NdVBZsCWVyCn2EivqCng22M0I,10577
|
|
324
|
+
atomicshop-2.18.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
325
|
+
atomicshop-2.18.10.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
326
|
+
atomicshop-2.18.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|