Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safe Exam Browser Overlay

The name of this repository might be misleading to be honest. Its a collection of cheating tools. seb-overlay is just one of them, and the first one I ever made.

Overall this repo has tips for instructors to prevent cheating using Safe Exam Browser and a setup exe that anyone can use to install cheating scripts. Some of these include:

  • SEB Patching borrowed from school-cheating/SEBPatch
  • An overlay that layers jpeg images on the screen to hide fake buttons on a patched SEB
  • A very clever free AI-based cheating tool using PyQt6

While this might be confusing, my purpose here is actually very very simple. Power up people who want to cheat while powering up the instructors monitoring those cheaters even more. Following that, this documentation bellow is 100% hand-typed. I appreciate anyone reading.

Screenshot 2026-07-23 162059

For Instructors

To ensure no one cheats in an online exam, just use Safe Exam Browser AND follow any of these: (ordered from the most feasible to the least)

  • have the students take the exam on institution-owned computers
  • restrict the exam for only the latest version of safe browser
  • verify safe browser close and minimize buttons for each student
  • use the SEB Windows Verifier Tool for each student

Contact me via WhatsApp at 923184299873 or via email at shahzaibahmad6789@gmail.com for a free discussion.


For Students

While I'm not a supporter of cheating personally, I have already stated that I am going to power up both students and invigilators. So if you're having problems setting this up, or are confused in general, just drop a message on WhatsApp at 923184299873 or on email at shahzaibahmad6789@gmail.com.

For students who are not restricted to safe browser, the setup offers an option to just pick the AI tool as well. (to be used with regular browser on-LMS exams)


How to Use

  1. Download the latest exe from releases.
  2. Double-click to run.
  3. Answer questions in the terminal as numbers to proceed with the setup.
  4. Thank me via a message if you like it.

Inspiration

When I started researching methods to patch safe browser, I discovered that most of the existing patches for Safe Exam Browser are either outdated, or only partially work.

One of the working patches that I found was this one: school-cheating/SEBPatch. And well, for the patcher UI, it looks like this (as of v1.5.2 release):

Screenshot 2026-06-06 140434

It's surprisingly well-done and easy-to-use. But it looks like they intentionally/unknowingly missed the main purpose there, which was to keep the UI looking like the original. But this is what the Safe Browser UI looks like after applying the patch:

Screenshot 2026-06-07 021800

Problems with this:

  • The original taskbar of the safe exam browser is gone. Any invigilator looking at it would instantly recognize it's a fake
  • There are extra buttons on the UI which we don't need and look fake too.
  • SEB on pressing the close button crashes, and takes about 20 seconds to crash too.
  • The windows taskbar is visible and various shortcut keys work. Like alt+tab, win, ctrl+win+arrow. Imagine accidently pressing one of these as an invigilator is passing by. I think I don't have to explain what happens next.
  • Having to switch to another browser to search for an answer is still not feasible. We have to setup some API.
  • Having to install the correct version of SEB for the correct version of the patch confuses many people.

Now I'm about to tackle all of these problems here.


What this repository offers

  • setup/

Install anything or everything this repository has to offer with minimal effort. Running this will open a TUI which you give y/n commands to. This also makes the process of setting up the patch from school-cheating/SEBPatch quite easy.

In short, just follow the instructions in a terminal and you're good to go. To run, install setup.exe from the latest release and double-click to run.

  • overlay/

Disables useless and suspicious shortcut keys. Adds jpeg images as always-on-top layers on the screen. Basically an extension to school-cheating/SEBPatch. Two keys, one to get the answer, one to display it on the bottom-right corner of the screen. Free-to-use.


Other Motives

Since its not very polite to have these in the back of my mind, I think it's better if I share. The phone number I have provided for WhatsApp is also my business number.

You can all contact me for any software-related work even if you're low on a budget. I can do your projects, create/upgrade websites, do deployments, create portfolios, and I can make setups for your projects. Free to discuss, message to get started on WhatsApp on +923184299873


Setup

I put this here for people who'd rather compile the code themselves or use it directly without compilation. For others, this is the better approach.

Have python 3.11 (or newer) and pip installed on your windows computer, and let's begin:

  • Clone:
git clone https://github.com/ShahzaibAhmad05/seb-overlay.git
  • Initialize a virtual environment considering you wouldn't want to pollute your globals:
py -3.11 -m venv .venv
  • Install requirements:
pip install -r requirements.txt
  • For the overlay, download the assets folder for your screen size from here and put it in the project root. Then run with:
python -m overlay
  • FOr the AI integration, sample .env.example to create space for your API keys:
cp .env.example .env
  • Get your free Gemini API keys from here, and place them in .env. It should look like this:
GEMINI_API_KEY=AQ.Fb8RN6LadnoI4K9af8D9jYasIaInV_D5sv-6faHTTafdwJKhtQ    # this one is not real, okay?
GEMINI_MODEL=gemini-3.5-flash-lite
  • Now run the tool:
python -m mcq
  • And for patching safe browser you'd have to run the setup script: (make sure to be aware of what you choose when asked during the setup)
python -m setup

About

good scripts to trick instructors AND better guidance for those instructors on how to stop exam-cheating via these scripts

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages