Asciinema updated
This commit is contained in:
parent
99b069fe99
commit
b6bde9dace
@ -1,7 +1,7 @@
|
|||||||
# LinPE - Linux Privilege Escalation (one-liner)
|
# LinPE - Linux Privilege Escalation (one-liner)
|
||||||
|
|
||||||
|
|
||||||
[](https://asciinema.org/a/249809)
|
[](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**.
|
||||||
|
2
linpe.sh
2
linpe.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user