Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wget SUDO old version #391

Closed
RadamireZ opened this issue Jun 1, 2023 · 1 comment
Closed

Wget SUDO old version #391

RadamireZ opened this issue Jun 1, 2023 · 1 comment

Comments

@RadamireZ
Copy link

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants