atomicshop 3.0.0__py3-none-any.whl → 3.0.2__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/import_config.py +6 -18
- atomicshop/mitm/initialize_engines.py +1 -1
- atomicshop/wrappers/socketw/socket_wrapper.py +1 -1
- {atomicshop-3.0.0.dist-info → atomicshop-3.0.2.dist-info}/METADATA +1 -1
- {atomicshop-3.0.0.dist-info → atomicshop-3.0.2.dist-info}/RECORD +9 -9
- {atomicshop-3.0.0.dist-info → atomicshop-3.0.2.dist-info}/LICENSE.txt +0 -0
- {atomicshop-3.0.0.dist-info → atomicshop-3.0.2.dist-info}/WHEEL +0 -0
- {atomicshop-3.0.0.dist-info → atomicshop-3.0.2.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
atomicshop/mitm/import_config.py
CHANGED
|
@@ -198,24 +198,12 @@ def check_configurations() -> int:
|
|
|
198
198
|
if config_static.DNSServer.resolve_by_engine:
|
|
199
199
|
for engine in config_static.ENGINES_LIST:
|
|
200
200
|
# Check if the DNS target is localhost loopback.
|
|
201
|
-
if engine.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
return 1
|
|
208
|
-
if engine.no_sni.serve_domain_on_address_enable:
|
|
209
|
-
no_sni_target_address_list: list = engine.no_sni.serve_domain_on_address_dict.values()
|
|
210
|
-
for no_sni_target_address in no_sni_target_address_list:
|
|
211
|
-
if no_sni_target_address in base.THIS_DEVICE_IP_LIST or \
|
|
212
|
-
no_sni_target_address.startswith('127.'):
|
|
213
|
-
if not is_admin:
|
|
214
|
-
message: str = \
|
|
215
|
-
("Need to run the script with administrative rights to get the process name while TCP "
|
|
216
|
-
"running on the same computer.\nExiting...")
|
|
217
|
-
print_api(message, color='red')
|
|
218
|
-
return 1
|
|
201
|
+
if engine.is_localhost and not is_admin:
|
|
202
|
+
message: str = \
|
|
203
|
+
("Need to run the script with administrative rights to get the process name while TCP "
|
|
204
|
+
"running on the same computer.\nExiting...")
|
|
205
|
+
print_api(message, color='red')
|
|
206
|
+
return 1
|
|
219
207
|
if config_static.DNSServer.resolve_all_domains_to_ipv4:
|
|
220
208
|
if config_static.DNSServer.target_ipv4 in base.THIS_DEVICE_IP_LIST or \
|
|
221
209
|
config_static.DNSServer.target_ipv4.startswith('127.'):
|
|
@@ -114,7 +114,7 @@ def assign_class_by_domain(
|
|
|
114
114
|
# On the other hand if you want to find if partial string is
|
|
115
115
|
# in the list of strings: if any(a_string in x for x in matches_list):
|
|
116
116
|
# In this case list is the same and string: a_string = domain
|
|
117
|
-
if any(x in message_domain_name for x in function_module.
|
|
117
|
+
if any(x in message_domain_name for x in function_module.domain_target_dict.keys()):
|
|
118
118
|
# Assigning module by current engine of the domain
|
|
119
119
|
module = function_module
|
|
120
120
|
|
|
@@ -516,7 +516,7 @@ class SocketWrapper:
|
|
|
516
516
|
domain_from_engine = domain
|
|
517
517
|
break
|
|
518
518
|
|
|
519
|
-
self.logger.info(f"
|
|
519
|
+
self.logger.info(f"Requested domain setting: {domain_from_engine}")
|
|
520
520
|
|
|
521
521
|
# Wait from any connection on "accept()".
|
|
522
522
|
# 'client_socket' is socket or ssl socket, 'client_address' is a tuple (ip_address, port).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=GEOC5iHeOiaybq-qC7KhTLKWjsw1mfBb9KDefy9-GIE,122
|
|
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
|
|
@@ -137,8 +137,8 @@ atomicshop/mitm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
137
137
|
atomicshop/mitm/config_static.py,sha256=N3D06C_wUytwm80PQCL90ZGHLMHeQlCcI2XQQU2FZ1I,8145
|
|
138
138
|
atomicshop/mitm/config_toml_editor.py,sha256=2p1CMcktWRR_NW-SmyDwylu63ad5e0-w1QPMa8ZLDBw,1635
|
|
139
139
|
atomicshop/mitm/connection_thread_worker.py,sha256=IZtcdW9ZZrtgL-dawt_o56emGCrzWtbd8fUAwgKX9NU,27972
|
|
140
|
-
atomicshop/mitm/import_config.py,sha256=
|
|
141
|
-
atomicshop/mitm/initialize_engines.py,sha256=
|
|
140
|
+
atomicshop/mitm/import_config.py,sha256=MbMgX5IpqC6fUZUTHLOtHyHbzab2tG4RgD2O18csKcI,16506
|
|
141
|
+
atomicshop/mitm/initialize_engines.py,sha256=lucq9LwkWTnrYKsnt8bgs8t9R_y3gOPmzLyEmRuXD8s,6628
|
|
142
142
|
atomicshop/mitm/message.py,sha256=CDhhm4BTuZE7oNZCjvIZ4BuPOW4MuIzQLOg91hJaxDI,3065
|
|
143
143
|
atomicshop/mitm/mitm_main.py,sha256=cfQLaPaUZgluatlZDRiToi14ekZbPT2KM4-AiivTs3w,30055
|
|
144
144
|
atomicshop/mitm/recs_files.py,sha256=ZAAD0twun-FtmbSniXe3XQhIlawvANNB_HxwbHj7kwI,3151
|
|
@@ -328,14 +328,14 @@ atomicshop/wrappers/socketw/sender.py,sha256=aX_K8l_rHjd5AWb8bi5mt8-YTkMYVRDB6Dn
|
|
|
328
328
|
atomicshop/wrappers/socketw/sni.py,sha256=q-F-R1KtE94g8WGrR3QHgi-otXZJUPBprEwQqnY80_A,17639
|
|
329
329
|
atomicshop/wrappers/socketw/socket_client.py,sha256=AQKjm_GZLH2PO7gkFbwzIbXzUXxRFvBTc6onrgapFqs,22048
|
|
330
330
|
atomicshop/wrappers/socketw/socket_server_tester.py,sha256=Qobmh4XV8ZxLUaw-eW4ESKAbeSLecCKn2OWFzMhadk0,6420
|
|
331
|
-
atomicshop/wrappers/socketw/socket_wrapper.py,sha256=
|
|
331
|
+
atomicshop/wrappers/socketw/socket_wrapper.py,sha256=hOOEpA-QNtCGroBzFDpOeD8z2KJWMVTiWaoUvtB1qvU,40886
|
|
332
332
|
atomicshop/wrappers/socketw/ssl_base.py,sha256=kmiif84kMhBr5yjQW17p935sfjR5JKG0LxIwBA4iVvU,2275
|
|
333
333
|
atomicshop/wrappers/socketw/statistics_csv.py,sha256=WcNyaqEZ82S5-f3kzqi1nllNT2Nd2P_zg8HqCc7vW4s,4120
|
|
334
334
|
atomicshop/wrappers/winregw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
335
335
|
atomicshop/wrappers/winregw/winreg_installed_software.py,sha256=Qzmyktvob1qp6Tjk2DjLfAqr_yXV0sgWzdMW_9kwNjY,2345
|
|
336
336
|
atomicshop/wrappers/winregw/winreg_network.py,sha256=3Ts1sVqSUiCDsHRHwJCbiZ9EYvv2ELGxF0Y_pibGU4k,9596
|
|
337
|
-
atomicshop-3.0.
|
|
338
|
-
atomicshop-3.0.
|
|
339
|
-
atomicshop-3.0.
|
|
340
|
-
atomicshop-3.0.
|
|
341
|
-
atomicshop-3.0.
|
|
337
|
+
atomicshop-3.0.2.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
338
|
+
atomicshop-3.0.2.dist-info/METADATA,sha256=aX3egUmln1ZN5f18IVvne582AmpRUfl03XXcoq4EbBk,10653
|
|
339
|
+
atomicshop-3.0.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
340
|
+
atomicshop-3.0.2.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
341
|
+
atomicshop-3.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|