From 814809f1e7a8e7bb5dfa26dac01a04b59ee21771 Mon Sep 17 00:00:00 2001 From: Joe Totes <59018247+Totes5706@users.noreply.github.com> Date: Wed, 12 Oct 2022 12:19:53 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a96df8..cb39a9f 100644 --- a/README.md +++ b/README.md @@ -1426,7 +1426,7 @@ find / -perm -u=s -type f 2>/dev/null cat /etc/passwd # Search Passwords -grep -irE '(password|pwd|pass)[[:space:]]*=[[:space:]]*[[:alpha:]]+' * +grep -irE '(password|pwd|pass)[[:space:]]*=[[:space:]]*[[:alpha:]]+' * 2>/dev/null # List All Users on a System (cleaner, only users) awk –F’:‘ ’{ print $1}’ /etc/passwd @@ -1443,7 +1443,7 @@ find . -mmin -5 find / -mmin -5 # Find files within date range -find / -newermt 2022-09-15 ! -newermt 2022-09-19 -type f 2>/def/null +find / -newermt 2022-09-15 ! -newermt 2022-09-19 -type f 2>/dev/null # Web files ls -alhR /var/www/ 2>/dev/null