From 15348c108df6f7aa4544a4a2e11697f3d9d51557 Mon Sep 17 00:00:00 2001 From: blitztide Date: Mon, 4 Jan 2021 13:37:03 +0000 Subject: [PATCH] Update LinEnum.sh Fixed error where spaces in the .bak file location will break script. --- LinEnum.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/LinEnum.sh b/LinEnum.sh index d8c69f2..22d1d7c 100755 --- a/LinEnum.sh +++ b/LinEnum.sh @@ -1230,12 +1230,10 @@ if [ "$checkbashhist" ]; then fi #any .bak files that may be of interest -bakfiles=`find / -name *.bak -type f 2/dev/null +echo -e "\n" + #is there any mail accessible readmail=`ls -la /var/mail 2>/dev/null`