Wget SUDO old version
RadamireZ opened this issue · 1 comments
RadamireZ commented
the option --use-askpass doesn't work anymore in the newer version of wget
we can use a solution described here:
https://exploit-notes.hdks.org/exploit/linux/privilege-escalation/sudo/sudo-wget-privilege-escalation/#4.-transfer-the-content-of-the-shadow-file
that is still present in wget make use of file upload and file download sections
If there is instead a better option that do not waste shadow files should be great
cyrus-and commented
Still works in 1.21.2 (the one in Ubuntu 22.04) and with the latest (1.21.4). The link you provided just shows how to download something, and we already have it.