troubadix 25.8.0__py3-none-any.whl → 25.8.1__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.8.0"
5
+ __version__ = "25.8.1"
@@ -96,6 +96,10 @@ EXCEPTIONS = [
96
96
  "firecracker", # Valid package name on e.g. Fedora
97
97
  "Firecracker", # Valid package name on e.g. Fedora
98
98
  "pcp-pmda-nutcracker", # Valid package name on e.g. openSUSE or Arch Linux
99
+ # We should generally exclude http:// and https:// URLs as these are
100
+ # immutable and shouldn't be changed / require separate exclusions for each
101
+ "https://",
102
+ "http://",
99
103
  ]
100
104
 
101
105
  STARTS_WITH_EXCEPTIONS = [
@@ -56,7 +56,7 @@ exceptions = [
56
56
  r"these\s+error\s+(messages|reports|conditions)", re.IGNORECASE
57
57
  ),
58
58
  PatternCheck(
59
- r"these\s+file\s+(permissions|overwrites|names|includes)",
59
+ r"these\s+file\s+(permissions|overwrites|names|includes|systems)",
60
60
  re.IGNORECASE,
61
61
  ),
62
62
  # nb: Valid sentence
@@ -25,21 +25,21 @@ from troubadix.plugin import FileContentPlugin, LinterError, LinterResult
25
25
 
26
26
  ALLOWED_URLS = [
27
27
  "https://lists.apache.org/thread.html/e1ef853fc0079cdb55be"
28
- "fbd2dac042934e49288b476d5f6a649e5da2@<announce.tomcat.apache.org>",
28
+ + "fbd2dac042934e49288b476d5f6a649e5da2@<announce.tomcat.apache.org>",
29
29
  "https://lists.apache.org/thread.html/e1ef853fc0079cdb55be"
30
- "fbd2dac042934e49288b476d5f6a649e5da2@<announce.tomcat.apache.org>",
30
+ + "fbd2dac042934e49288b476d5f6a649e5da2@<announce.tomcat.apache.org>",
31
31
  "https://m0ze.ru/vulnerability/[2021-05-26]-[WordPress]-[C"
32
- "WE-79]-WP-Reset-WordPress-Plugin-v1.86.txt",
32
+ + "WE-79]-WP-Reset-WordPress-Plugin-v1.86.txt",
33
33
  "http://yehg.net/lab/pr0js/advisories/joomla/core/[joomla_"
34
- "1.0.x~15]_cross_site_scripting",
34
+ + "1.0.x~15]_cross_site_scripting",
35
35
  "http://yehg.net/lab/pr0js/advisories/eclipse/[eclipse_hel"
36
- "p_server]_cross_site_scripting",
36
+ + "p_server]_cross_site_scripting",
37
37
  "http://core.yehg.net/lab/pr0js/advisories/dll_hijacking/["
38
- "flash_player]_10.1.x_insecure_dll_hijacking_(dwmapi.dll)",
38
+ + "flash_player]_10.1.x_insecure_dll_hijacking_(dwmapi.dll)",
39
39
  "https://lists.apache.org/thread.html/773c93c2d8a6a52bbe9"
40
- "7610c2b1c2ad205b970e1b8c04fb5b2fccad6@<general.hadoop.apache.org>",
40
+ + "7610c2b1c2ad205b970e1b8c04fb5b2fccad6@<general.hadoop.apache.org>",
41
41
  "http://mail-archives.apache.org/mod_mbox/perl-advocacy/2"
42
- "00904.mbox/<ad28918e0904011458h273a71d4x408f1ed286c9dfbc@mail.gmail.com>",
42
+ + "00904.mbox/<ad28918e0904011458h273a71d4x408f1ed286c9dfbc@mail.gmail.com>",
43
43
  "http://yehg.net/lab/pr0js/advisories/[mybb1.6]_cross_site_scripting",
44
44
  "http://www.live555.com/liveMedia/public/changelog.txt#[2021.08.04]",
45
45
  "http://www.live555.com/liveMedia/public/changelog.txt#[2021.08.06]",
@@ -425,9 +425,7 @@ class CheckValidOID(FileContentPlugin):
425
425
  exceptions = [
426
426
  "ossim_server_detect.nasl",
427
427
  "gsf/2018/vmware/gb_vmware_fusion_vmxnet3_"
428
- "stack_memory_usage_vuln_macosx.nasl",
429
- "enterprise/2018/vmware/gb_vmware_fusion_vmxnet3_"
430
- "stack_memory_usage_vuln_macosx.nasl",
428
+ + "stack_memory_usage_vuln_macosx.nasl",
431
429
  "2008/asterisk_sdp_header_overflow.nasl",
432
430
  "2008/cisco_ios_ftp_server_auth_bypass.nasl",
433
431
  "2008/qk_smtp_server_dos.nasl",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: troubadix
3
- Version: 25.8.0
3
+ Version: 25.8.1
4
4
  Summary: A linting and QA check tool for NASL files
5
5
  License: GPL-3.0-or-later
6
6
  Author: Greenbone
@@ -1,5 +1,5 @@
1
1
  troubadix/__init__.py,sha256=K7sIXXDrC7YRb7BvIpdQ6ZfG_QkT0qUH_wAlHROVRfM,716
2
- troubadix/__version__.py,sha256=slXo8XXjA99NZ-AEZSj0e-r3IC9HzLqsDlDHW74OJ8E,103
2
+ troubadix/__version__.py,sha256=lZcyOTD2zLRXyO-NVRs_xz_Qm2HIqrRLD36Mz8p9gng,103
3
3
  troubadix/argparser.py,sha256=-H07Jhqh68_M4Mbjq9qJjTr3MShy_N2pxl2qHA6cfRU,7481
4
4
  troubadix/codespell/codespell.additions,sha256=SJPlIo8vEKEOTftY6ZBSXzcfyv6y9aFAXl9FdpcMxD0,561
5
5
  troubadix/codespell/codespell.exclude,sha256=W1dHEbKuXZbiLMRLhUPIzhCV1ptHqPLuaB6VsJLxn64,147965
@@ -14,7 +14,7 @@ troubadix/helper/remove_comments.py,sha256=zjhXPQXgKaEOparAdu4aBXcJlEul8LbNaP3uL
14
14
  troubadix/helper/text_utils.py,sha256=gBX0box9VtgA0CMfE0u2Vvi1IuOopxUfCQFYn_1wVjE,2543
15
15
  troubadix/plugin.py,sha256=3fQPj3Qe_hgwHerlYE4hbdzYMzRU557NxJ-UwtE9mOI,3525
16
16
  troubadix/plugins/__init__.py,sha256=7NqTzddmptQZJ_s1yxpamVo0Y8zohAWlEQU2lf103_Y,8745
17
- troubadix/plugins/badwords.py,sha256=k1A1d2pdXzie87FGGXrykP2BgdZbY5QtmQItupHtNyw,4701
17
+ troubadix/plugins/badwords.py,sha256=wiuzCoE5s2cU3MSzOIzlBGX9jyJPdvKTe007vfCW6RM,4885
18
18
  troubadix/plugins/copyright_text.py,sha256=jYsLWmTbT_A78XQQxQFK-5kMMHkh3xdvlh7mEF2dZGU,3583
19
19
  troubadix/plugins/copyright_year.py,sha256=XzM9MHVzOXwNLwHpfuaWj8PUOmswr56SBVOLBdvxjd4,5478
20
20
  troubadix/plugins/creation_date.py,sha256=PRM5z_7cgQhRQ7Kx7ufF8E8LzVNGP5hLSeH25UWJEn8,2403
@@ -30,7 +30,7 @@ troubadix/plugins/duplicated_script_tags.py,sha256=UPBR2jbU15JLKJlVk1e2GFREH5Wj5
30
30
  troubadix/plugins/encoding.py,sha256=zNzqNpP39TUwOklnc8OJ3OIUelAN_hvnuBYoa3Pz764,2104
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=9VPdf4nO-UOE2P8fiAKgh_8GwjGbLztPEixb2AQyeFU,9642
33
+ troubadix/plugins/grammar.py,sha256=amzdZaXMPS5B8UnMbrno48Xl3n-5tfTA6IRIdMxOmDE,9650
34
34
  troubadix/plugins/http_links_in_tags.py,sha256=F4fm74M3CbmWOJoCyDdEO-bKQahFsHL6vs4ZynhHEkc,7325
35
35
  troubadix/plugins/if_statement_syntax.py,sha256=5BRJwCCghvZn1AfvYzmk8l9S7aRqbVaLHhSKod_Q9zw,1429
36
36
  troubadix/plugins/illegal_characters.py,sha256=B6q_RU85AxCjLry56Oc-RhMSpnJU8mTrxclRzi1FVFU,4406
@@ -57,7 +57,7 @@ troubadix/plugins/script_tag_whitespaces.py,sha256=2ZqiNufPIyr5Wmcuap3Wy8RXO_CHG
57
57
  troubadix/plugins/script_tags_mandatory.py,sha256=NTAxypWalrfyd2YjzK-kH4BHeah4MZiFNeyNaKHNz-c,2695
58
58
  troubadix/plugins/script_version_and_last_modification_tags.py,sha256=Yz9dQwrsRfIqXwPd8Re8aDu--SBjgufWOA6U7tW4JW4,7638
59
59
  troubadix/plugins/script_xref_form.py,sha256=5L1KPUHiKbe-71o-X0cUBT844XvIOsAJbB14gnYTod0,1848
60
- troubadix/plugins/script_xref_url.py,sha256=dUTq0ghreVBHFJnwSInmMoQAQwU0oh959mMz4l6rWA0,5331
60
+ troubadix/plugins/script_xref_url.py,sha256=niUIbMhB8KDo98eKSAHJTUNnHtV2NRl18-dX2fuPmP0,5347
61
61
  troubadix/plugins/security_messages.py,sha256=EPu3-YB0iP5_hfbQjrfvvTrQRiPgDjC85GTz3V-by0Q,4629
62
62
  troubadix/plugins/set_get_kb_calls.py,sha256=WGu1CKLjn3VhbDo33IJ4TtWQ-kz9gInkJskTqOSMM6k,3415
63
63
  troubadix/plugins/severity_date.py,sha256=PtVQrZfJNZ23FO-hDFbAaA5YZdv5gm4Se0llFL7sKLM,1492
@@ -72,7 +72,7 @@ troubadix/plugins/tabs.py,sha256=7zXaTZe4cZoZvrLyqntVfTeNN_W3D8dfQl67QevXxtc,131
72
72
  troubadix/plugins/todo_tbd.py,sha256=MN5fFwBhPmt3JDQ2Hx20B8yUy1vz7LIZC3rDIOzfW9M,1758
73
73
  troubadix/plugins/trailing_spaces_tabs.py,sha256=nMly8ZsmGprxHvwCDclKBDRB0eq6JEkjERYKvtStkY4,1873
74
74
  troubadix/plugins/using_display.py,sha256=jCl55MXujaO4VlwN_yex269CKnH-oHiMeq8WqvDmGRI,3760
75
- troubadix/plugins/valid_oid.py,sha256=zoSDyHdePitXJwCtBk4WExtCN36Ql5NATgoQh90oKpI,17824
75
+ troubadix/plugins/valid_oid.py,sha256=-V38BX8AttZ1iiHsNelnynL9oBBr6Arws1RriLnI7ys,17712
76
76
  troubadix/plugins/valid_script_tag_names.py,sha256=6uMJsBdV-Zx-k1F2_MWmQPHXNo1u0ifuosbftbg-27E,3447
77
77
  troubadix/plugins/variable_assigned_in_if.py,sha256=NNz8iuzyQ4rSM6My4WYC1s5TABQqgs7us15PkDA-VV0,3285
78
78
  troubadix/plugins/variable_redefinition_in_foreach.py,sha256=SfaA70TkpD9dsvNbhwJEA3eLAHWvj4YwksN-qeBMowg,2470
@@ -108,8 +108,8 @@ troubadix/standalone_plugins/no_solution.py,sha256=p_-az9Igl4GH6HnhLLYbYlWIiEP64
108
108
  troubadix/standalone_plugins/util.py,sha256=JTXGmi-_BJouTNe6QzEosLlXUt9jKW-3fz4db05RJJw,696
109
109
  troubadix/standalone_plugins/version_updated.py,sha256=6YHF0OjL5NWszQdsSh7XzlSji1e6Uaqwu_Y6m3R0mvI,4203
110
110
  troubadix/troubadix.py,sha256=5__Jz3bYSrya4aG6RCBWxqnsDepXfwXZ3v0bjCzEFi0,6039
111
- troubadix-25.8.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
112
- troubadix-25.8.0.dist-info/METADATA,sha256=52Gr3cjy7GvoaV-rmo0KTpT5OrbCvRUOWRItkZfsuWo,4462
113
- troubadix-25.8.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
114
- troubadix-25.8.0.dist-info/entry_points.txt,sha256=ETEPBi4fKv3o7hzkzceX4838G6g5_5wRdEddYot8N6A,920
115
- troubadix-25.8.0.dist-info/RECORD,,
111
+ troubadix-25.8.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
112
+ troubadix-25.8.1.dist-info/METADATA,sha256=_5wU9sjzeyKPAc-brUi-0TB3R3AkJMsWb2SdEjuRsZ0,4462
113
+ troubadix-25.8.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
114
+ troubadix-25.8.1.dist-info/entry_points.txt,sha256=ETEPBi4fKv3o7hzkzceX4838G6g5_5wRdEddYot8N6A,920
115
+ troubadix-25.8.1.dist-info/RECORD,,