From b99ae232a75084095c515fe71cb4e5c4d16df5f3 Mon Sep 17 00:00:00 2001 From: ThatTotallyRealMyth <106909154+ThatTotallyRealMyth@users.noreply.github.com> Date: Tue, 3 Jun 2025 21:47:13 +1000 Subject: [PATCH] Update dnf.md run final sudo command with --disablerepo=* When running this on a system without internet connectivity, it is unable to actually execute and install the package created above. It is neccesary to include --disablerepo=* as there are instances where the exploit chain wont continue without while theres never a situation where your exploit chain wont work if the --disablerepo=* is included --- _gtfobins/dnf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/dnf.md b/_gtfobins/dnf.md index 670307e4..f9371702 100644 --- a/_gtfobins/dnf.md +++ b/_gtfobins/dnf.md @@ -9,5 +9,5 @@ functions: fpm -n x -s dir -t rpm -a all --before-install $TF/x.sh $TF ``` code: | - sudo dnf install -y x-1.0-1.noarch.rpm + sudo dnf install -y x-1.0-1.noarch.rpm --disablerepo=* ---