package enabled community high v1.0.0

dnf

Fedora package manager, can execute commands by installing crafted RPM packages.

📋 Live Preview
dnf install -y package.rpm --disablerepo=*
dnf install -y package.rpm --disablerepo=*

Sandbox: execFile · Timeout: 60s

Capabilities

security.execution.command

Contract

Outputs

process.output

Command execution output

Side effects: process_spawnfilesystem_write

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory32 MB
Networklow
Disk I/Olow

Examples

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=*

Related Tools

rpm

References