Asciinema updated

This commit is contained in:
carlospolop 2019-06-08 12:59:40 +02:00
parent 99b069fe99
commit b6bde9dace
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# LinPE - Linux Privilege Escalation (one-liner) # LinPE - Linux Privilege Escalation (one-liner)
[![asciicast](https://asciinema.org/a/249809.png)](https://asciinema.org/a/249809) [![asciicast](https://asciinema.org/a/250532.png)](https://asciinema.org/a/250532)
The goal of this script is to search for possible **Privilege Escalation vectors inside a linux machine**. The goal of this script is to search for possible **Privilege Escalation vectors inside a linux machine**.

View File

@ -575,7 +575,7 @@ if [ "$privatekeyfiles" ]; then
privatekeyfilesgrep=`grep -L "\"\|'\|(" $privatekeyfiles` # Check there are not that symbols in the file privatekeyfilesgrep=`grep -L "\"\|'\|(" $privatekeyfiles` # Check there are not that symbols in the file
fi fi
if [ "$privatekeyfilesgrep" ]; then if [ "$privatekeyfilesgrep" ]; then
echo "Private SSH keys found!:\n$privatekeyfilesgrep" | sed "s,.*,${C}[1;31m&${C}[0m," >> $file printf "Private SSH keys found!:\n$privatekeyfilesgrep" | sed "s,.*,${C}[1;31m&${C}[0m," >> $file
fi fi
if [ "$ssh" ] || [ "$sshrootlogin" ] || [ "$privatekeyfiles" ]; then if [ "$ssh" ] || [ "$sshrootlogin" ] || [ "$privatekeyfiles" ]; then