nopasaran 0.2.104__py3-none-any.whl → 0.2.106__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.
@@ -126,7 +126,7 @@ class TCPDNSSocketServer:
126
126
 
127
127
  try:
128
128
  # Get the numeric type directly from the string using QTYPE
129
- rtype = QTYPE.get(response_type)
129
+ rtype = QTYPE.reverse.get(response_type)
130
130
  if rtype is None:
131
131
  logging.warning(f"Unsupported response_type: {response_type}")
132
132
  return query_record.reply()
@@ -78,7 +78,7 @@ class UDPDNSSocketServer:
78
78
 
79
79
  try:
80
80
  # Get the numeric type directly from the string using QTYPE
81
- rtype = QTYPE.get(response_type)
81
+ rtype = QTYPE.reverse.get(response_type)
82
82
  if rtype is None:
83
83
  logging.warning(f"Unsupported response_type: {response_type}")
84
84
  return query_record.reply()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nopasaran
3
- Version: 0.2.104
3
+ Version: 0.2.106
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
@@ -76,12 +76,12 @@ nopasaran/tools/http_2_socket_base.py,sha256=KDfkU4Nr_TXxqzp1-ZHec_UawfDZ5oIIj-J
76
76
  nopasaran/tools/http_2_socket_client.py,sha256=5mmc8FuT2dNVAihbMdvyytVwME_xSc7mez_jwU3YZOA,6256
77
77
  nopasaran/tools/http_2_socket_server.py,sha256=8W-bxmdoGyK5moxpC87V1EGuZ9jJpIKhokvZrDV84kk,5551
78
78
  nopasaran/tools/https_1_socket_server.py,sha256=ytLVYdH5je4L6ElCKKhhsbU_53gT6QF9l5ym7q5TMmo,8162
79
- nopasaran/tools/tcp_dns_socket_server.py,sha256=smZVhE8m1sLW1NsPxB13EN3Ox87t9pBOIR9ScWiRMwk,7973
80
- nopasaran/tools/udp_dns_socket_server.py,sha256=6LHIeczpn_QZZWSOhZBDqS_zSkLUMW6Ywr3yKsMqZe4,5609
79
+ nopasaran/tools/tcp_dns_socket_server.py,sha256=muy1sWUKCUNbt51St2i5kC2hZlQmC5h3b5W43nooLfA,7981
80
+ nopasaran/tools/udp_dns_socket_server.py,sha256=wD-1bwNMQlsV-jSNbtF4x2zkA-181vHoGx69uc85RH8,5617
81
81
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
- nopasaran-0.2.104.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
83
- nopasaran-0.2.104.dist-info/METADATA,sha256=iQ5HflMdRKpAS7wKRmOqFlnqrx0V0zc1smfiHC7vzn8,5497
84
- nopasaran-0.2.104.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
85
- nopasaran-0.2.104.dist-info/entry_points.txt,sha256=LaOz5GlWuMLjzg4KOEB5OVTattCXVW6a4nSW-WQajCw,55
86
- nopasaran-0.2.104.dist-info/top_level.txt,sha256=60R1FzpprzU8iiJ1cBMNOA0F083_lYoctFo7pzOpMwY,16
87
- nopasaran-0.2.104.dist-info/RECORD,,
82
+ nopasaran-0.2.106.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
83
+ nopasaran-0.2.106.dist-info/METADATA,sha256=QYa2GZLlf8s8TuLUAXLSG6DAuHQnRm9wEazGfe_7Jpo,5497
84
+ nopasaran-0.2.106.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
85
+ nopasaran-0.2.106.dist-info/entry_points.txt,sha256=LaOz5GlWuMLjzg4KOEB5OVTattCXVW6a4nSW-WQajCw,55
86
+ nopasaran-0.2.106.dist-info/top_level.txt,sha256=60R1FzpprzU8iiJ1cBMNOA0F083_lYoctFo7pzOpMwY,16
87
+ nopasaran-0.2.106.dist-info/RECORD,,