From e15a1f2e120e7b91d07ea08226d9c2103a117c72 Mon Sep 17 00:00:00 2001 From: SirBroccoli Date: Sat, 4 Oct 2025 10:38:02 +0200 Subject: [PATCH] Update 16_Crontab_UI_misconfig.sh --- .../16_Crontab_UI_misconfig.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/linPEAS/builder/linpeas_parts/4_procs_crons_timers_srvcs_sockets/16_Crontab_UI_misconfig.sh b/linPEAS/builder/linpeas_parts/4_procs_crons_timers_srvcs_sockets/16_Crontab_UI_misconfig.sh index 4121a86..0512577 100644 --- a/linPEAS/builder/linpeas_parts/4_procs_crons_timers_srvcs_sockets/16_Crontab_UI_misconfig.sh +++ b/linPEAS/builder/linpeas_parts/4_procs_crons_timers_srvcs_sockets/16_Crontab_UI_misconfig.sh @@ -19,17 +19,6 @@ if ! [ "$SEARCH_IN_FOLDER" ]; then print_2title "Crontab UI (root) misconfiguration checks" print_info "https://book.hacktricks.wiki/en/linux-hardening/privilege-escalation/index.html#scheduledcron-jobs" - # Helper: mask secret values (keep first/last 2 chars when length >4) - mask_secret() { - local s="$1" - local l=${#s} - if [ $l -le 4 ]; then - printf "%s" "$s" - else - printf "%s...%s" "${s:0:2}" "${s: -2}" - fi - } - # Collect candidate services referencing crontab-ui candidates="" if command -v systemctl >/dev/null 2>&1; then