nopasaran 0.2.107__py3-none-any.whl → 0.2.109__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.
- nopasaran/utils.py +2 -2
- {nopasaran-0.2.107.dist-info → nopasaran-0.2.109.dist-info}/METADATA +1 -1
- {nopasaran-0.2.107.dist-info → nopasaran-0.2.109.dist-info}/RECORD +7 -7
- {nopasaran-0.2.107.dist-info → nopasaran-0.2.109.dist-info}/LICENSE +0 -0
- {nopasaran-0.2.107.dist-info → nopasaran-0.2.109.dist-info}/WHEEL +0 -0
- {nopasaran-0.2.107.dist-info → nopasaran-0.2.109.dist-info}/entry_points.txt +0 -0
- {nopasaran-0.2.107.dist-info → nopasaran-0.2.109.dist-info}/top_level.txt +0 -0
nopasaran/utils.py
CHANGED
@@ -458,7 +458,7 @@ def send_tcp_dns_query(server_ip, server_port, domain, query_type="A"):
|
|
458
458
|
|
459
459
|
logging.debug("Received response data")
|
460
460
|
parsed_response = DNSRecord.parse(response_data)
|
461
|
-
result["response"] = parsed_response.
|
461
|
+
result["response"] = str(parsed_response).replace("\n", "")
|
462
462
|
return result
|
463
463
|
|
464
464
|
except Exception as e:
|
@@ -511,7 +511,7 @@ def send_udp_dns_query(server_ip, server_port, domain, query_type="A"):
|
|
511
511
|
|
512
512
|
logging.debug("Received UDP response")
|
513
513
|
parsed_response = DNSRecord.parse(response_data)
|
514
|
-
result["response"] = parsed_response.
|
514
|
+
result["response"] = str(parsed_response).replace("\n", "")
|
515
515
|
return result
|
516
516
|
|
517
517
|
except Exception as e:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: nopasaran
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.109
|
4
4
|
Summary: NoPASARAN is an advanced network tool designed to detect, fingerprint, and locate network middleboxes in a unified framework.
|
5
5
|
Home-page: https://github.com/BenIlies/NoPASARAN
|
6
6
|
Author: Ilies Benhabbour
|
@@ -2,7 +2,7 @@ nopasaran/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
nopasaran/__main__.py,sha256=9dY9M5gbwdR74rBezoSAvQPO3acAVHFA5Kov9KkrXO8,2461
|
3
3
|
nopasaran/decorators.py,sha256=4QcUtZAMYZqNWwv7OsIAhHcec8C_MfxThA8kmUXw1Xo,2941
|
4
4
|
nopasaran/http_2_utils.py,sha256=eQL8uG2USCN5ab2brrYtxcTnYk-g3s_b7v4bZ3YdA-Y,26324
|
5
|
-
nopasaran/utils.py,sha256=
|
5
|
+
nopasaran/utils.py,sha256=9L_5ulyFld_5fGMdRbY7hm6pmp8Ruvjwuny6XlCyW3k,16482
|
6
6
|
nopasaran/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
nopasaran/controllers/controller.py,sha256=kh6_ByvSMRiz8o8DgfR00WfylmClVZKdHe1OIcnltp8,7326
|
8
8
|
nopasaran/controllers/factory.py,sha256=e1c6oea4ePiSZcQuAUn-515kjgmBIOqFXQ_78huEXHw,1287
|
@@ -79,9 +79,9 @@ nopasaran/tools/https_1_socket_server.py,sha256=ytLVYdH5je4L6ElCKKhhsbU_53gT6QF9
|
|
79
79
|
nopasaran/tools/tcp_dns_socket_server.py,sha256=fZl2ujE3C_1iqyz8qquWnePPAj8n2uzWfk3DUEDlgho,7924
|
80
80
|
nopasaran/tools/udp_dns_socket_server.py,sha256=N6_27OTo3aKlihu1YqWfgYeCpdR3Xfo2o7ZE2db9Vuw,5568
|
81
81
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
82
|
-
nopasaran-0.2.
|
83
|
-
nopasaran-0.2.
|
84
|
-
nopasaran-0.2.
|
85
|
-
nopasaran-0.2.
|
86
|
-
nopasaran-0.2.
|
87
|
-
nopasaran-0.2.
|
82
|
+
nopasaran-0.2.109.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
83
|
+
nopasaran-0.2.109.dist-info/METADATA,sha256=hiUWvJtOl64fXxhHYorA2fo7WPyHdff3X_ZUk7zsxvg,5497
|
84
|
+
nopasaran-0.2.109.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
85
|
+
nopasaran-0.2.109.dist-info/entry_points.txt,sha256=LaOz5GlWuMLjzg4KOEB5OVTattCXVW6a4nSW-WQajCw,55
|
86
|
+
nopasaran-0.2.109.dist-info/top_level.txt,sha256=60R1FzpprzU8iiJ1cBMNOA0F083_lYoctFo7pzOpMwY,16
|
87
|
+
nopasaran-0.2.109.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|