mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add curl file-write
This commit is contained in:
parent
c790928248
commit
41d9312c53
@ -17,6 +17,13 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
LFILE=/tmp/file_to_read
|
LFILE=/tmp/file_to_read
|
||||||
curl file://$LFILE
|
curl file://$LFILE
|
||||||
|
file-write:
|
||||||
|
- description: The file path must be absolute.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_write
|
||||||
|
TF=$(mktemp)
|
||||||
|
echo DATA >$TF
|
||||||
|
curl "file://$TF" -o "$LFILE"
|
||||||
suid:
|
suid:
|
||||||
- description: Fetch a remote file via HTTP GET request.
|
- description: Fetch a remote file via HTTP GET request.
|
||||||
code: |
|
code: |
|
||||||
|
Loading…
Reference in New Issue
Block a user