troubadix 25.12.2__py3-none-any.whl → 25.12.4__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.
troubadix/__version__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH!
4
4
 
5
- __version__ = "25.12.2"
5
+ __version__ = "25.12.4"
@@ -43,8 +43,17 @@ exceptions = [
43
43
  # From several Ubuntu LSCs like e.g.:
44
44
  # 2021/ubuntu/gb_ubuntu_USN_4711_1.nasl
45
45
  TextCheck("An attacker with access to at least one LUN in a multiple"),
46
- # nb: The regex to catch "this files" might catch this wrongly...
47
- PatternCheck(r"th(is|ese)\s+filesystem", re.IGNORECASE),
46
+ # nb:
47
+ # - The regex to catch e.g. "this files" or "This allow an attacker" might
48
+ # catch this wrongly...
49
+ # - Cases like "this filesystem" vs. "these filesystems" are also handled /
50
+ # excluded here
51
+ PatternCheck(
52
+ r'this\s+(filesystem|allow\s+list)([\s.",]+|$)', re.IGNORECASE
53
+ ),
54
+ PatternCheck(
55
+ r'these\s+(filesystem|allow\s+list)s([\s.",]+|$)', re.IGNORECASE
56
+ ),
48
57
  # Like seen in e.g. 2008/freebsd/freebsd_mod_php4-twig.nasl
49
58
  PatternCheck(r'(\s+|")[Aa]\s+multiple\s+of'),
50
59
  # WITH can be used like e.g. the following which is valid:
@@ -183,6 +192,12 @@ def get_grammer_pattern() -> re.Pattern:
183
192
  # Successful exploitation may allows an attacker to run arbitrary
184
193
  # An error in INSTALL_JAR procedure might allows remote authenticated
185
194
  r"(could|may|will|might|should|can)\s+allows\s+|"
195
+ # e.g.:
196
+ # - Inadequate checks in com_contact could allowed mail submission
197
+ r"(could|may|will|might|should|can)\s+allowed\s+|"
198
+ # e.g.:
199
+ # This allow an attacker to gain administrative access to the
200
+ r"This\s+allow\s+|"
186
201
  # nb: Next few could happen when copy'n'paste some text parts around
187
202
  # like e.g.:
188
203
  # is prone to a to a remote denial-of-service vulnerability
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: troubadix
3
- Version: 25.12.2
3
+ Version: 25.12.4
4
4
  Summary: A linting and QA check tool for NASL files
5
5
  License: GPL-3.0-or-later
6
6
  License-File: LICENSE
@@ -1,5 +1,5 @@
1
1
  troubadix/__init__.py,sha256=K7sIXXDrC7YRb7BvIpdQ6ZfG_QkT0qUH_wAlHROVRfM,716
2
- troubadix/__version__.py,sha256=FAH6GeCVR7zswqIOjSDjH6VoRQ8mjktzg4IuL2BDzIo,104
2
+ troubadix/__version__.py,sha256=O02hJbTZlTup2mh9xuF6iy5Mnxf_koOOA3Xa0WzShAA,104
3
3
  troubadix/argparser.py,sha256=-H07Jhqh68_M4Mbjq9qJjTr3MShy_N2pxl2qHA6cfRU,7481
4
4
  troubadix/codespell/codespell.additions,sha256=_nGI5znfb2BRta4O0tubGYQSLjOusgqT_sz_HFZvbm8,585
5
5
  troubadix/codespell/codespell.exclude,sha256=4arAzknuJxPvGz0-tAFp4A3_VLaPR4_XdUE7UfIAGRI,148629
@@ -30,7 +30,7 @@ troubadix/plugins/duplicated_script_tags.py,sha256=UPBR2jbU15JLKJlVk1e2GFREH5Wj5
30
30
  troubadix/plugins/encoding.py,sha256=Ow_ZpyjtL2_nqhbukY_3EUhiR0agfSxMxJ4IcMSGsT4,2768
31
31
  troubadix/plugins/forking_nasl_functions.py,sha256=IUtCrTK_sGDx79jAPS8lF_aN8zSG2AkzfC6duTMvJOw,6069
32
32
  troubadix/plugins/get_kb_on_services.py,sha256=oFmcjiF7ZD3x5tEbJEoZNn80y1qUzNgeSZNsogSqaZ0,3401
33
- troubadix/plugins/grammar.py,sha256=vRweTp0TnNxOvs2NSEZGdk3kZL11uoaBcB7CDAjqcL4,10465
33
+ troubadix/plugins/grammar.py,sha256=Sz9TgbdLcKlEbCdI7z1LCicH-e7GI-fXSbr34YOYGKU,11013
34
34
  troubadix/plugins/http_links_in_tags.py,sha256=MmjMkjjlhLDrn-GvYQhPuXR4BSHImOrYi_nede-H-8w,7507
35
35
  troubadix/plugins/if_statement_syntax.py,sha256=5BRJwCCghvZn1AfvYzmk8l9S7aRqbVaLHhSKod_Q9zw,1429
36
36
  troubadix/plugins/illegal_characters.py,sha256=B6q_RU85AxCjLry56Oc-RhMSpnJU8mTrxclRzi1FVFU,4406
@@ -109,8 +109,8 @@ troubadix/standalone_plugins/no_solution.py,sha256=p_-az9Igl4GH6HnhLLYbYlWIiEP64
109
109
  troubadix/standalone_plugins/util.py,sha256=JTXGmi-_BJouTNe6QzEosLlXUt9jKW-3fz4db05RJJw,696
110
110
  troubadix/standalone_plugins/version_updated.py,sha256=6YHF0OjL5NWszQdsSh7XzlSji1e6Uaqwu_Y6m3R0mvI,4203
111
111
  troubadix/troubadix.py,sha256=5__Jz3bYSrya4aG6RCBWxqnsDepXfwXZ3v0bjCzEFi0,6039
112
- troubadix-25.12.2.dist-info/METADATA,sha256=zKDqMztffNlH7zvIddUyLZPRKlmUjcPo6sB-XuwRcTA,4536
113
- troubadix-25.12.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
114
- troubadix-25.12.2.dist-info/entry_points.txt,sha256=ETEPBi4fKv3o7hzkzceX4838G6g5_5wRdEddYot8N6A,920
115
- troubadix-25.12.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
116
- troubadix-25.12.2.dist-info/RECORD,,
112
+ troubadix-25.12.4.dist-info/METADATA,sha256=R5Lc78uTVO480F6yPLL6QfFZWaxTWcuk_0RttFlfDDM,4536
113
+ troubadix-25.12.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
114
+ troubadix-25.12.4.dist-info/entry_points.txt,sha256=ETEPBi4fKv3o7hzkzceX4838G6g5_5wRdEddYot8N6A,920
115
+ troubadix-25.12.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
116
+ troubadix-25.12.4.dist-info/RECORD,,