atomicshop 2.18.10__py3-none-any.whl → 2.18.12__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 +4 -1
- atomicshop/wrappers/winregw/winreg_installed_software.py +46 -0
- {atomicshop-2.18.10.dist-info → atomicshop-2.18.12.dist-info}/METADATA +1 -1
- {atomicshop-2.18.10.dist-info → atomicshop-2.18.12.dist-info}/RECORD +8 -7
- {atomicshop-2.18.10.dist-info → atomicshop-2.18.12.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.18.10.dist-info → atomicshop-2.18.12.dist-info}/WHEEL +0 -0
- {atomicshop-2.18.10.dist-info → atomicshop-2.18.12.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -240,7 +240,7 @@ def thread_worker_main(
|
|
|
240
240
|
if client_received_raw_data == b'':
|
|
241
241
|
return
|
|
242
242
|
|
|
243
|
-
client_message.
|
|
243
|
+
client_message.request_auto_parsed = parse_http(client_message.request_raw_bytes, client_message)
|
|
244
244
|
# This is needed for each cycle that is not HTTP, but its protocol maybe set by HTTP, like websocket.
|
|
245
245
|
if protocol != '':
|
|
246
246
|
client_message.protocol = protocol
|
|
@@ -310,6 +310,9 @@ def thread_worker_main(
|
|
|
310
310
|
client_message.reinitialize_dynamic_vars()
|
|
311
311
|
client_message.timestamp = datetime.now()
|
|
312
312
|
client_message.response_raw_bytes = response_raw_bytes
|
|
313
|
+
|
|
314
|
+
record_and_statistics_write(client_message)
|
|
315
|
+
|
|
313
316
|
error_on_send: str = sender.Sender(
|
|
314
317
|
ssl_socket=client_socket, class_message=client_message.response_raw_bytes,
|
|
315
318
|
logger=network_logger).send()
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import winreg
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def get_installed_software() -> list[dict]:
|
|
6
|
+
registry_path: str = r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
|
7
|
+
data: list[dict] = []
|
|
8
|
+
|
|
9
|
+
# Open the specified registry path
|
|
10
|
+
with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, registry_path) as reg_key:
|
|
11
|
+
i = 0
|
|
12
|
+
while True:
|
|
13
|
+
try:
|
|
14
|
+
# Enumerate all sub-keys
|
|
15
|
+
subkey_name = winreg.EnumKey(reg_key, i)
|
|
16
|
+
subkey_path = os.path.join(registry_path, subkey_name)
|
|
17
|
+
with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, subkey_path) as subkey:
|
|
18
|
+
try:
|
|
19
|
+
# Fetch DisplayName and DisplayVersion if they exist
|
|
20
|
+
display_name, _ = winreg.QueryValueEx(subkey, "DisplayName")
|
|
21
|
+
except FileNotFoundError:
|
|
22
|
+
display_name = "N/A"
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
display_version, _ = winreg.QueryValueEx(subkey, "DisplayVersion")
|
|
26
|
+
except FileNotFoundError:
|
|
27
|
+
display_version = "N/A"
|
|
28
|
+
|
|
29
|
+
try:
|
|
30
|
+
install_date, _ = winreg.QueryValueEx(subkey, "InstallDate")
|
|
31
|
+
except FileNotFoundError:
|
|
32
|
+
install_date = "N/A"
|
|
33
|
+
|
|
34
|
+
if display_name != "N/A":
|
|
35
|
+
data.append({
|
|
36
|
+
"DisplayName": display_name,
|
|
37
|
+
"DisplayVersion": display_version,
|
|
38
|
+
"InstallDate": install_date,
|
|
39
|
+
"SubkeyName": subkey_name
|
|
40
|
+
})
|
|
41
|
+
except OSError:
|
|
42
|
+
break # No more subkeys
|
|
43
|
+
|
|
44
|
+
i += 1
|
|
45
|
+
|
|
46
|
+
return data
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=rUs7ajmP6XgocQoIOp543DfqaYuO8FhGIK5J0sgKi54,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=fdeRBF8Ff-LgD_1PeGPVm2ET4BhRY_rCvESEuiJfWPI,27507
|
|
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
|
|
@@ -318,9 +318,10 @@ atomicshop/wrappers/socketw/socket_wrapper.py,sha256=WtylpezgIIBuz-A6PfM0hO1sm9E
|
|
|
318
318
|
atomicshop/wrappers/socketw/ssl_base.py,sha256=kmiif84kMhBr5yjQW17p935sfjR5JKG0LxIwBA4iVvU,2275
|
|
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
|
+
atomicshop/wrappers/winregw/winreg_installed_software.py,sha256=on99OTT1_0g4KITAW5mSugUYgCAdVikhWjJ78a7JVIQ,1785
|
|
321
322
|
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.
|
|
323
|
+
atomicshop-2.18.12.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
324
|
+
atomicshop-2.18.12.dist-info/METADATA,sha256=jseDyAnqUEjguUofH-QJlPcr8LMdNSgUEfnKLhwp1vw,10577
|
|
325
|
+
atomicshop-2.18.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
326
|
+
atomicshop-2.18.12.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
327
|
+
atomicshop-2.18.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|