Exploit databaseDownload repository ZIP
GH-6fb7cb70434e05787bcd857f055ee9ef
eqstlab/cve-2026-5027
Sources for CVE-2026-5027
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files5
eqstlab/cve-2026-5027Revision 2b2509bce2bf
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
watch-etc-cron-files.sh
Shell · 529 bytes#!/bin/sh
set -eu
log() {
printf '%s %s\n' "[cron-watch]" "$*" >&2
}
handle_file() {
path="$1"
name="$(basename "$path")"
case "$name" in
cron*)
;;
*)
return 0
;;
esac
if [ ! -f "$path" ]; then
return 0
fi
log "detected $path; executing with /bin/sh"
/bin/sh "$path" || log "execution failed for $path"
}
inotifywait -m /etc -e close_write -e moved_to --format '%w%f' | while IFS= read -r path; do
handle_file "$path"
done