Skip to content

Commit 262feb9

Browse files
committed
Updated the sudo regex to catch 2 more CVE's.
1 parent 40cf08a commit 262feb9

File tree

1 file changed

+2
-3
lines changed
  • linPEAS/builder/linpeas_parts/variables

1 file changed

+2
-3
lines changed

linPEAS/builder/linpeas_parts/variables/sudovB.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Title: Variables - sudovB
22
# ID: sudovB
33
# Author: Carlos Polop
4-
# Last Update: 22-08-2023
4+
# Last Update: 04-10-2025
55
# Description: Sudo version bad regex
66
# License: GNU GPL
77
# Version: 1.0
@@ -13,5 +13,4 @@
1313
# Small linpeas: 1
1414

1515

16-
#sudovB="[01].[012345678].[0-9]+|1.9.[01234][^0-9]|1.9.[01234]$|1.9.5p1"
17-
sudovB="[01]\.[012345678]\.[0-9]+|1\.9\.[0-9]+|1\.9\.5p1"
16+
sudovB="[01].[012345678].[0-9]+|1.9.[01234][^0-9]|1.9.[01234]$|1.9.5p1|1\.9\.[6-9]|1\.9\.1[0-7]"

0 commit comments

Comments
 (0)