V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-08 17:54:25 +02:00
parent 166186a8f0
commit 06c093e0a1
26 changed files with 156 additions and 2050 deletions

View File

@@ -20,7 +20,7 @@
# None
#######################################
scanlw() {
printf "%s🔍 Scanning all running processes for 'libwrap' usage ... %s%s" "${CGRE}" "${CRES}" "${NL}"
printf "%b🔍 Scanning all running processes for 'libwrap' usage ... %b%b" "${CGRE}" "${CRES}" "${NL}"
printf "\n"
### Collect binaries from all running PIDs.
@@ -37,12 +37,12 @@ scanlw() {
if ldd "${exe_path}" 2>/dev/null | grep -q "libwrap"; then
comm=$(ps -p "${pid}" -o comm=)
user=$(ps -p "${pid}" -o user=)
printf "%s✅ PID: %s (%s) [User: %s] is linked with 'libwrap.so'. %s%s" "${CGRE}" "${pid}" "${comm}" "${user}" "${CRES}" "${NL}"
printf "%b✅ PID: %s (%s) [User: %s] is linked with 'libwrap.so'. %b%b" "${CGRE}" "${pid}" "${comm}" "${user}" "${CRES}" "${NL}"
fi
done
printf "\n"
printf "%s✅ Scan complete. %s%s" "${CGRE}" "${CRES}" "${NL}"
printf "%b✅ Scan complete. %b%b" "${CGRE}" "${CRES}" "${NL}"
exit 0
}