ProxyFF Key Hunter & Reset

Procura chaves proxyff e tenta identificar funções de reset

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         ProxyFF Key Hunter & Reset
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Procura chaves proxyff e tenta identificar funções de reset
// @author       Gemini
// @match        https://authproxyff.up.railway.app/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Criar o painel visual no mobile
    const panel = document.createElement('div');
    panel.style = "position: fixed; top: 10px; right: 10px; z-index: 9999; background: #222; color: #0f0; padding: 10px; border: 1px solid #0f0; font-family: monospace; font-size: 12px; max-width: 80%; overflow: auto; border-radius: 8px; opacity: 0.9;";
    panel.innerHTML = `
        <b style="color: yellow;">[ProxyFF Hunter]</b><br>
        <button id="scanBtn" style="margin-top:5px; width:100%;">Escanear Site</button>
        <div id="results" style="margin-top:10px; white-space: pre-wrap;">Aguardando scan...</div>
        <hr>
        <button id="resetBtn" style="width:100%; background: red; color: white; border: none; display:none;">TENTAR RESETAR KEY</button>
    `;
    document.body.appendChild(panel);

    const resultsDiv = document.getElementById('results');
    const resetBtn = document.getElementById('resetBtn');

    // Função de Escaneamento
    document.getElementById('scanBtn').onclick = function() {
        const bodyText = document.body.innerText;
        const htmlContent = document.documentElement.innerHTML;
        
        // Procurar por chaves (proxyff-...)
        const keyPattern = /proxyff-[\w-]+/g;
        const keys = htmlContent.match(keyPattern);
        
        // Procurar por botões de Reset
        const resetElements = document.querySelectorAll('button, a, input[type="button"]');
        let foundReset = null;

        resetElements.forEach(el => {
            if (el.innerText.toLowerCase().includes('reset') || el.value?.toLowerCase().includes('reset')) {
                foundReset = el;
            }
        });

        // Mostrar resultados
        let output = "";
        if (keys) {
            output += "<b>Keys Encontradas:</b>\n" + [...new Set(keys)].join('\n') + "\n\n";
        } else {
            output += "Nenhuma key encontrada.\n\n";
        }

        if (foundReset) {
            output += "<span style='color:cyan;'>Botão de Reset Detectado!</span>";
            resetBtn.style.display = "block";
            resetBtn.onclick = () => {
                if(confirm("Deseja tentar clicar no botão de Reset do site?")) {
                    foundReset.click();
                }
            };
        } else {
            output += "Nenhum botão de Reset visível.";
        }

        resultsDiv.innerHTML = output;
    };

})();