We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee83c23 commit e15a1f2Copy full SHA for e15a1f2
linPEAS/builder/linpeas_parts/4_procs_crons_timers_srvcs_sockets/16_Crontab_UI_misconfig.sh
@@ -19,17 +19,6 @@ if ! [ "$SEARCH_IN_FOLDER" ]; then
19
print_2title "Crontab UI (root) misconfiguration checks"
20
print_info "https://book.hacktricks.wiki/en/linux-hardening/privilege-escalation/index.html#scheduledcron-jobs"
21
22
- # Helper: mask secret values (keep first/last 2 chars when length >4)
23
- mask_secret() {
24
- local s="$1"
25
- local l=${#s}
26
- if [ $l -le 4 ]; then
27
- printf "%s" "$s"
28
- else
29
- printf "%s...%s" "${s:0:2}" "${s: -2}"
30
- fi
31
- }
32
-
33
# Collect candidate services referencing crontab-ui
34
candidates=""
35
if command -v systemctl >/dev/null 2>&1; then
0 commit comments