ProxyFF Key Hunter & Reset

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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;
    };

})();