Files
PEASS-ng/linPEAS/builder/linpeas_parts/7_software_information
JohannesLks 4abbf37cc0 fix: SSH key regex false positive with ImageMagick mime.xml
The regex '-----BEGIN .* PRIVATE KEY.*-----' was matching
'-----BEGIN PGP PRIVATE KEY BLOCK-----' in /etc/ImageMagick-6/mime.xml,
causing a false positive for SSH keys.

Fixed by removing the trailing .* before ----- so the regex now requires
the key header to end directly with -----, which excludes PGP key
definitions that have 'BLOCK-----' at the end.

Tested key types still detected:
- RSA PRIVATE KEY
- EC PRIVATE KEY
- OPENSSH PRIVATE KEY
- DSA PRIVATE KEY
2026-01-01 14:07:08 +01:00
..
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2025-01-06 13:55:15 +01:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2025-01-06 13:55:15 +01:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
f
2025-07-01 12:12:01 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2025-01-06 13:55:15 +01:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00
2025-01-06 13:55:15 +01:00
2024-08-27 23:56:21 +02:00
2024-08-27 23:56:21 +02:00