Skip to content

Commit 62dcf6e

Browse files
committed
kprobes
1 parent e2187b8 commit 62dcf6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hackshell.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,6 +1237,11 @@ _warn_edr() {
12371237
echo -en "${CN}"
12381238
}
12391239
1240+
[ -f /sys/kernel/debug/kprobes/list ] && out="$(</sys/kernel/debug/kprobes/list)" && [ -n "$out" ] && {
1241+
echo -e "${CR}kprobes found:${CF}"
1242+
echo "$out"
1243+
echo -en "${CN}"
1244+
}
12401245
unset -f _hs_chk_systemd _hs_chk_fn
12411246
}
12421247

0 commit comments

Comments
 (0)