Enter the correct 4-digit code to see the success message. The correct code is 2095.
You can use the following scripts to automate interaction with this page.
tampermonkey and paste this script to test the submission.
// ==UserScript==
// @name Fast Visual Brute-Force Code Validator
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Automates the sequential submission of 4-digit codes on skbrute.netlify.app for a fast, visual brute-force.
// @author Shalom Karr
// @match https://skbrutes.netlify.app/
// @grant none
// @run-at document-idle
// ==/UserScript==
(function() {
'use strict';
// The current code to test, starts at 1
let currentCode = 1;
const maxCode = 9999;
const intervalDelay = 5; // Milliseconds to wait between attempts (adjust for visual speed)
// Select the necessary DOM elements
const codeInput = document.getElementById('codeInput');
const submitBtn = document.getElementById('submitBtn');
const messageArea = document.getElementById('messageArea');
if (!codeInput || !submitBtn) {
console.error("Required form elements not found. Script cannot run.");
return;
}
console.log("Starting fast visual brute-force attack...");
/**
* Formats an integer into a 4-digit string (e.g., 45 -> "0045").
* @param {number} num - The number to format.
* @returns {string} The 4-digit code string.
*/
function formatCode(num) {
return String(num).padStart(4, '0');
}
/**
* Executes one code submission attempt.
*/
function attemptCode() {
if (currentCode > maxCode) {
console.log("Brute-force finished. Code not found within the range.");
return;
}
const code = formatCode(currentCode);
// 1. Clear previous message (JavaScript on the page does this, but being explicit is safer)
messageArea.innerHTML = '';
// 2. Update the input field
codeInput.value = code;
// 3. Simulate the button click
submitBtn.click();
// 4. Check for success *immediately* after the click
// The check uses the dynamically created element ID.
const successElement = document.getElementById('successMsg');
if (successElement) {
console.log(`%c[SUCCESS] Code Found: ${code}`, 'color: green; font-weight: bold; font-size: 14px;');
alert(`Code Found: ${code}`); // Show a disruptive alert to confirm
return; // Stop the recursive loop
}
// Log status periodically
if (currentCode % 500 === 0) {
console.log(`[STATUS] Tested up to: ${code}`);
}
// Increment the code for the next attempt
currentCode++;
// Schedule the next attempt with a minimal delay to allow DOM/Visual updates
setTimeout(attemptCode, intervalDelay);
}
// Start the brute-force after a short delay
setTimeout(attemptCode, 100);
})();