mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-08-02 08:58:34 -07:00
Asciinema updated
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 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**.
|
||||
|
||||
@@ -575,7 +575,7 @@ if [ "$privatekeyfiles" ]; then
|
||||
privatekeyfilesgrep=`grep -L "\"\|'\|(" $privatekeyfiles` # Check there are not that symbols in the file
|
||||
fi
|
||||
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
|
||||
|
||||
if [ "$ssh" ] || [ "$sshrootlogin" ] || [ "$privatekeyfiles" ]; then
|
||||
|
||||
Reference in New Issue
Block a user