Update linpeas.sh
This commit is contained in:
parent
6e9da9dd73
commit
be9544ab01
@ -2111,7 +2111,7 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then
|
|||||||
|
|
||||||
##-- 32IF) IPs inside logs
|
##-- 32IF) IPs inside logs
|
||||||
printf $Y"[+] "$GREEN"Finding IPs inside logs (limit 70)\n"$NC
|
printf $Y"[+] "$GREEN"Finding IPs inside logs (limit 70)\n"$NC
|
||||||
grep -R -a -E -o "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" /var/log/ 2>/dev/null | grep -v "\.0\.\|:0\|\.0$" | sort | uniq -c | sort -r -n | head -n 70
|
(timeout 100 grep -R -a -E -o "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" /var/log/) 2>/dev/null | grep -v "\.0\.\|:0\|\.0$" | sort | uniq -c | sort -r -n | head -n 70
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
##-- 33IF) Passwords inside logs
|
##-- 33IF) Passwords inside logs
|
||||||
|
Loading…
Reference in New Issue
Block a user