brickwall hacks

Changes the password to the Admin password. On full release of Brick Wall Website, the admin password will be changed. However this script "HACKS" into the security pin and finds the passwords. (javascript keeps all the password data).

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         brickwall hacks
// @namespace    http://tampermonkey.net/
// @version      2024-03-31
// @description  Changes the password to the Admin password. On full release of Brick Wall Website, the admin password will be changed. However this script "HACKS" into the security pin and finds the passwords. (javascript keeps all the password data). 
// @author       You
// @match        https://thebrickwall.w3spaces.com/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=w3spaces.com
// @grant        none
// @license     MIT
// ==/UserScript==


(function() {
    'use strict';

    // Function to change the input type attribute to text
    function changeInputTypeToText(input) {
        input.setAttribute('type', 'text');
    }

    // Function to change whatever is typed inside the input to "Admin"
    function changeInputToAdmin(input) {
        input.value = 'Admin';
    }

    // Wait for the document to fully load
    window.addEventListener('load', function() {
        // Find all input fields with class "input"
        var inputFields = document.querySelectorAll('input.input[type="password"]');
        inputFields.forEach(function(input) {
            // Change the type attribute to text
            changeInputTypeToText(input);

            // Add event listener for input event
            input.addEventListener('input', function() {
                // Change whatever is typed inside the input to "Admin"
                changeInputToAdmin(input);
            });
        });
    });
})();