mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-10 07:49:18 +07:00
Shred System.map files
This commit is contained in:
@ -26,7 +26,7 @@ fi
|
||||
## Removes the System.map files as they are only used for debugging or malware.
|
||||
for filename in ${system_map_location} ; do
|
||||
if [ -f "${filename}" ]; then
|
||||
rm --verbose --force "${filename}"
|
||||
shred --verbose --force --zero -u "${filename}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user