From 0d5c4572331467dbafd576779f3c618dbb7b1e91 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 17 Jan 2021 23:40:41 +0100 Subject: [PATCH] Fix YAML in ar --- _gtfobins/ar.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/_gtfobins/ar.md b/_gtfobins/ar.md index 2e8e300..9b0f36f 100644 --- a/_gtfobins/ar.md +++ b/_gtfobins/ar.md @@ -2,21 +2,21 @@ description: The file appears amid the binary content of the archive. functions: file-read: - code: | - OUTFILE=$(mktemp -u) - LFILE=file_to_read - ar r "$OUTFILE" "$LFILE" - cat "$OUTFILE" + - code: | + OUTFILE=$(mktemp -u) + LFILE=file_to_read + ar r "$OUTFILE" "$LFILE" + cat "$OUTFILE" suid: - code: | - OUTFILE=$(mktemp -u) - LFILE=file_to_read - ./ar r "$OUTFILE" "$LFILE" - cat "$OUTFILE" + - code: | + OUTFILE=$(mktemp -u) + LFILE=file_to_read + ./ar r "$OUTFILE" "$LFILE" + cat "$OUTFILE" sudo: - code: | - OUTFILE=$(mktemp -u) - LFILE=file_to_read - sudo ar r "$OUTFILE" "$LFILE" - cat "$OUTFILE" + - code: | + OUTFILE=$(mktemp -u) + LFILE=file_to_read + sudo ar r "$OUTFILE" "$LFILE" + cat "$OUTFILE" ---