Skip to content

Commit 7b36014

Browse files
authored
Merge pull request #499 from peass-ng/update_PEASS-linpeas-HTB_Environment__Laravel_env_overrid_20250907_013120
[LINPEAS] Add privilege escalation check: HTB Environment Laravel env override (CV...
2 parents 6fe8304 + 4b3f4aa commit 7b36014

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build_lists/sensitive_files.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,6 +2067,11 @@ search:
20672067
type: f
20682068
search_in:
20692069
- common
2070+
- name: "private-keys-v1.d/*.key"
2071+
value:
2072+
type: f
2073+
search_in:
2074+
- common
20702075

20712076
- name: "*.gnupg"
20722077
value:

linPEAS/builder/linpeas_parts/variables/sudoVB1.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# Small linpeas: 1
1414

1515

16-
sudoVB1=" \*|env_keep\W*\+=.*LD_PRELOAD|env_keep\W*\+=.*LD_LIBRARY_PATH|peass{SUDOVB1_HERE}"
17-
sudoVB2="peass{SUDOVB2_HERE}"
16+
sudoVB1=" \*|env_keep\W*\+=.*LD_PRELOAD|env_keep\W*\+=.*LD_LIBRARY_PATH|env_keep\W*\+=.*BASH_ENV|env_keep\W*\+=.* ENV|peass{SUDOVB1_HERE}"
17+
sudoVB2="peass{SUDOVB2_HERE}"

0 commit comments

Comments
 (0)