GTFOBins.github.io/_gtfobins/busybox.md
2020-06-10 23:04:59 +02:00

734 B

description functions
BusyBox may contain many UNIX utilities, run `busybox --list-full` to check what GTFBins binaries are supported. Here some example.
shell file-upload file-write file-read suid sudo
code
busybox sh
description code
Serve files in the local folder running an HTTP server. LPORT=12345 busybox httpd -f -p $LPORT -h .
code
LFILE=file_to_write busybox sh -c 'echo "DATA" > $LFILE'
code
LFILE=file_to_read ./busybox cat "$LFILE"
description code
It may drop the SUID privileges depending on the compilation flags and the runtime configuration. ./busybox sh
code
sudo busybox sh