mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add busybox
This commit is contained in:
parent
3a619c7777
commit
bdf78c5e99
24
_gtfobins/busybox.md
Normal file
24
_gtfobins/busybox.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
description: BusyBox may contain many UNIX utilities, run `busybox --list-full` to check what GTFBins binaries are supported. Here some example.
|
||||||
|
functions:
|
||||||
|
execute-interactive:
|
||||||
|
- code: busybox sh
|
||||||
|
sudo-enabled:
|
||||||
|
- code: sudo busybox sh
|
||||||
|
suid-enabled:
|
||||||
|
- description: It may drop the SUID privileges depending on the compilation flags and the runtime configuration.
|
||||||
|
code: ./busybox sh
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./busybox cat "$LFILE"
|
||||||
|
file-write:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_write
|
||||||
|
busybox sh -c 'echo "data" > $LFILE'
|
||||||
|
upload:
|
||||||
|
- description: Serve files in the local folder running an HTTP server.
|
||||||
|
code: |
|
||||||
|
export LPORT=12345
|
||||||
|
busybox httpd -f -p $LPORT -h .
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user