mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Create iconv.md
This commit is contained in:
parent
5bde37ec38
commit
7aa5510f29
21
_gtfobins/iconv.md
Normal file
21
_gtfobins/iconv.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
file-write:
|
||||||
|
- description: Write ASCII data to file.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_write
|
||||||
|
echo "DATA" | inconv -o "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- description: Read data from file as UTF-8.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
inconv -f UTF8 "$LFILE"
|
||||||
|
suid:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./inconv -f UTF8 "$LFILE"
|
||||||
|
sudo:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo inconv -f UTF8 "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user