atomicshop 3.3.9__py3-none-any.whl → 3.3.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/wrappers/socketw/dns_server.py +10 -8
- {atomicshop-3.3.9.dist-info → atomicshop-3.3.10.dist-info}/METADATA +1 -1
- {atomicshop-3.3.9.dist-info → atomicshop-3.3.10.dist-info}/RECORD +8 -8
- {atomicshop-3.3.9.dist-info → atomicshop-3.3.10.dist-info}/WHEEL +0 -0
- {atomicshop-3.3.9.dist-info → atomicshop-3.3.10.dist-info}/entry_points.txt +0 -0
- {atomicshop-3.3.9.dist-info → atomicshop-3.3.10.dist-info}/licenses/LICENSE.txt +0 -0
- {atomicshop-3.3.9.dist-info → atomicshop-3.3.10.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -303,14 +303,16 @@ class DnsServer:
|
|
|
303
303
|
time.sleep(1)
|
|
304
304
|
raise DnsConfigurationValuesError(e)
|
|
305
305
|
|
|
306
|
-
|
|
307
|
-
if self.listening_interface
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
306
|
+
# If the listening interface is not localhost, check if the interface can be bound to.
|
|
307
|
+
if not self.listening_interface.startswith('127.'):
|
|
308
|
+
host_ips: list[str] = networks.get_host_ips(ipv6=False)
|
|
309
|
+
if self.listening_interface not in host_ips:
|
|
310
|
+
message = (f"Listening interface [{self.listening_interface}] is not assigned to any of the host "
|
|
311
|
+
f"network interfaces. Current host IPv4 addresses: {host_ips}")
|
|
312
|
+
print_api(f'DnsConfigurationValuesError: {str(message)}', error_type=True, color="red", logger=self.logger)
|
|
313
|
+
# Wait for the message to be printed and saved to file.
|
|
314
|
+
time.sleep(1)
|
|
315
|
+
raise DnsConfigurationValuesError(message)
|
|
314
316
|
|
|
315
317
|
ips_ports: list[str] = [f'{self.listening_interface}:{self.listening_port}']
|
|
316
318
|
port_in_use = psutil_networks.get_processes_using_port_list(ips_ports)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=HY3DYsUk0tU3jIXn3TtE_YStylYwC51UrRbr7MMqCM0,123
|
|
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
|
|
@@ -311,7 +311,7 @@ atomicshop/wrappers/socketw/accepter.py,sha256=4I9ORugRDvwaqSzm_gWSjZnRwQGY8hDTl
|
|
|
311
311
|
atomicshop/wrappers/socketw/base.py,sha256=EcosGkD8VzgBY3GeIHDSG29ThQfXwg3-GQPmBTAqTdw,3048
|
|
312
312
|
atomicshop/wrappers/socketw/certificator.py,sha256=mtWPJ_ew3OSwt0-1W4jaoco1VIY4NRCrMv3mDUxb_Cc,12418
|
|
313
313
|
atomicshop/wrappers/socketw/creator.py,sha256=LGI4gcgJ47thx6f96rjwjPz3CsTAIv6VxWFY4EyUF2E,13667
|
|
314
|
-
atomicshop/wrappers/socketw/dns_server.py,sha256=
|
|
314
|
+
atomicshop/wrappers/socketw/dns_server.py,sha256=GOYMvHvS6Fx7s-DRygGqO7_o8_Qt9on3HmKxgOSznRE,55956
|
|
315
315
|
atomicshop/wrappers/socketw/exception_wrapper.py,sha256=qW_1CKyPgGlsIt7_jusKkMV4A4hih4bX324u0PLnoO8,7382
|
|
316
316
|
atomicshop/wrappers/socketw/get_process.py,sha256=aJC-_qFUv3NgWCSUzDI72E4z8_-VTZE9NVZ0CwUoNlM,5698
|
|
317
317
|
atomicshop/wrappers/socketw/receiver.py,sha256=9B3MvcDqr4C3x2fsnjG5SQognd1wRqsBgikxZa0wXG8,8243
|
|
@@ -325,9 +325,9 @@ atomicshop/wrappers/socketw/statistics_csv.py,sha256=_gA8bMX6Sw_UCXKi2y9wNAwlqif
|
|
|
325
325
|
atomicshop/wrappers/winregw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
326
326
|
atomicshop/wrappers/winregw/winreg_installed_software.py,sha256=Qzmyktvob1qp6Tjk2DjLfAqr_yXV0sgWzdMW_9kwNjY,2345
|
|
327
327
|
atomicshop/wrappers/winregw/winreg_network.py,sha256=ih0BVNwByLvf9F_Lac4EdmDYYJA3PzMvmG0PieDZrsE,9905
|
|
328
|
-
atomicshop-3.3.
|
|
329
|
-
atomicshop-3.3.
|
|
330
|
-
atomicshop-3.3.
|
|
331
|
-
atomicshop-3.3.
|
|
332
|
-
atomicshop-3.3.
|
|
333
|
-
atomicshop-3.3.
|
|
328
|
+
atomicshop-3.3.10.dist-info/licenses/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
329
|
+
atomicshop-3.3.10.dist-info/METADATA,sha256=Lfm_L1nmudKGv7HXvn9CwF79LD6LdVejuk7lW--4XTE,9312
|
|
330
|
+
atomicshop-3.3.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
331
|
+
atomicshop-3.3.10.dist-info/entry_points.txt,sha256=SJEgEP0KoFtfxuGwe5tOzKfXkjR9Dv6YYug33KNYxyY,69
|
|
332
|
+
atomicshop-3.3.10.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
333
|
+
atomicshop-3.3.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|