Fedora package manager, can execute commands by installing crafted RPM packages.
dnf install -y package.rpm --disablerepo=* dnf install -y package.rpm --disablerepo=* Sandbox: execFile · Timeout: 60s
security.execution.command Outputs
process.output Command execution output
process_spawnfilesystem_write Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 32 MB |
| Network | low |
| Disk I/O | low |
Execute a command via dnf with crafted RPM
echo '#!/bin/sh
/path/to/command' >x.sh
fpm -n x -s dir -t rpm -a all --before-install x.sh .
dnf install -y x-1.0-1.noarch.rpm --disablerepo=*