// ==UserScript== // @name 🔥深澜校园网|自动登录|暴力破解|窗口|多账号🔥 // @namespace https://baidu.com // @version 10.0.1 // @description 自动登录认证,可通过弹窗输入账号信息,破解账号密码 // @author 十点前睡觉 // @license MIT // @include http*://*/srun_portal_pc* // @include https://connect.rom.miui.com/* // ==/UserScript== (function() { 'use strict'; // 定义常量和变量 const accountStorageKey = 'accounts'; const autoLoginKey = 'autoLoginEnabled'; // 自动登录开关的状态存储键名 // 从localStorage读取自动登录开关的状态,如果不存在,默认为true let autoLoginEnabled = JSON.parse(localStorage.getItem(autoLoginKey)) || false; var accounts = JSON.parse(localStorage.getItem(accountStorageKey) || '[]'); var currentAccountIndex = 0; // 创建主容器 var mainContainer = document.createElement('div'); mainContainer.style.position = 'fixed'; mainContainer.style.top = '50%'; mainContainer.style.left = '50%'; mainContainer.style.transform = 'translate(-50%, -50%)'; mainContainer.style.zIndex = '9999'; mainContainer.style.backgroundColor = 'white'; mainContainer.style.padding = '10px'; mainContainer.style.border = '1px solid #ccc'; mainContainer.style.boxShadow = '0 4px 8px rgba(0, 0, 0, 0.1)'; mainContainer.style.borderRadius = '8px'; // 创建按钮容器 var buttonContainer = document.createElement('div'); buttonContainer.style.textAlign = 'center'; // 创建标签页按钮 var tab1Button = document.createElement('button'); tab1Button.id = 'tab1Button'; tab1Button.textContent = '登录系统'; tab1Button.style.display = 'inline-block'; tab1Button.style.margin = '5px'; tab1Button.style.padding = '5px 15px'; tab1Button.style.backgroundColor = '#0000FF'; tab1Button.style.color = 'white'; tab1Button.style.fontWeight = 'bold'; tab1Button.style.border = 'none'; tab1Button.style.borderRadius = '4px'; tab1Button.style.cursor = 'pointer'; tab1Button.onclick = function() { switchTab('tab1Content'); }; var tab2Button = document.createElement('button'); tab2Button.id = 'tab2Button'; tab2Button.textContent = '破解系统'; tab2Button.style.display = 'inline-block'; tab2Button.style.margin = '5px'; tab2Button.style.padding = '5px 15px'; tab2Button.style.backgroundColor = '#FF4D4F'; tab2Button.style.color = 'white'; tab2Button.style.fontWeight = 'bold'; tab2Button.style.border = 'none'; tab2Button.style.borderRadius = '4px'; tab2Button.style.cursor = 'pointer'; tab2Button.onclick = function() { switchTab('tab2Content'); }; // 创建刷新页面按钮 var refreshPageButton = document.createElement('button'); refreshPageButton.id = 'refreshPageButton'; refreshPageButton.textContent = '刷新页面'; refreshPageButton.style.display = 'inline-block'; refreshPageButton.style.margin = '5px'; refreshPageButton.style.padding = '5px 15px'; refreshPageButton.style.backgroundColor = '#4CAF50'; refreshPageButton.style.color = 'white'; refreshPageButton.style.fontWeight = 'bold'; refreshPageButton.style.border = 'none'; refreshPageButton.style.borderRadius = '4px'; refreshPageButton.style.cursor = 'pointer'; refreshPageButton.onclick = function() { location.reload(); }; // 创建自动登录开关 var autoLoginSwitch = document.createElement('input'); autoLoginSwitch.type = 'checkbox'; autoLoginSwitch.id = 'autoLoginSwitch'; autoLoginSwitch.checked = autoLoginEnabled; autoLoginSwitch.onchange = function() { autoLoginEnabled = this.checked; localStorage.setItem(autoLoginKey, autoLoginEnabled); }; var autoLoginLabel = document.createElement('label'); autoLoginLabel.textContent = '自动登录'; autoLoginLabel.setAttribute('for', autoLoginSwitch.id); // 将自动登录开关和标签添加到按钮容器中 buttonContainer.appendChild(autoLoginSwitch); buttonContainer.appendChild(autoLoginLabel); buttonContainer.appendChild(tab1Button); buttonContainer.appendChild(tab2Button); buttonContainer.appendChild(refreshPageButton); // 将按钮容器添加到主容器中 mainContainer.appendChild(buttonContainer); // 创建Tab 1的内容区域 var tab1Content = document.createElement('div'); tab1Content.id = 'tab1Content'; tab1Content.style.display = 'block'; tab1Content.style.border = '1px solid #ccc'; tab1Content.innerHTML = `
①勾选"自动登录"自动顺位登录账号列表
②输入账号和密码后点击“添加账号”以保存到账号列表中
③删除账号点击账号旁边的“删除”按钮。
可以添加多个账号自动顺位登录
会自动跳过已经在线的账号
①选择破解方式
②输入账号密码区间
③例如账号和密码相同方式,起始100末尾200 就是100-100 101-101一直到200-200
“我喜欢一块蛋糕,我会去了解它的配方,但如果我只是想尝试它,我完全可以吃第一口”