From bbb7db7d6311a2cbb1d3b40c4b9a9f2a3565a43f Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 15 Mar 2020 23:10:31 +1100 Subject: [PATCH] Create crash.md --- _gtfobins/crash.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _gtfobins/crash.md diff --git a/_gtfobins/crash.md b/_gtfobins/crash.md new file mode 100644 index 0000000..e16622c --- /dev/null +++ b/_gtfobins/crash.md @@ -0,0 +1,17 @@ +--- +functions: + shell: + - description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. + code: | + crash -h + !sh + command: + - code: | + COMMAND='/usr/bin/id' + CRASHPAGER="$COMMAND" crash -h + sudo: + - description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. + code: | + sudo crash -h + !sh +---