An open API service indexing awesome lists of open source software.

https://github.com/trympet/lockdown-browser-bypass-macos

Browse the internet while using Respondus LockDown Browser or ItsLearning Test Mode Browser.
https://github.com/trympet/lockdown-browser-bypass-macos

itslearning itslearning-test-mode lockdown-browser lockdown-browser-bypass provemodus respondus respondus-lockdown-browser

Last synced: 11 months ago
JSON representation

Browse the internet while using Respondus LockDown Browser or ItsLearning Test Mode Browser.

Awesome Lists containing this project

README

          

# LockDown Browser Bypass for MacOS
Browse the internet, using a PIP browser window, while using [Respondus LockDown Browser](https://web.respondus.com/he/lockdownbrowser/) or [It's Learning Test Mode Browser](https://support.itslearning.com/en/support/solutions/articles/7000053270-test-mode-browser) (prøvemodus). **THIS IS NOT FOR CHEATING/A VIOLATION OF ACADEMIC INTEGRITY** This is meant as a proof of concept to show how useless LockDown Browser is. Please do not use this for cheating.

## How it works
Unlike many other "hacks", this implementation does not utilize binary patching or other modifications. It simply circumvents the lockdown functionality by making a call to the [window manager](https://en.wikipedia.org/wiki/Window_manager), telling it to put the Helium window on top after LDB has been launched. Now you have a small PIP browser that always stays on top. Also, since Helium is a picture in picture browser, the window doesn't disappear when you click outside of the bounds.

## I'm on Windows!
If you are on Windows, and you have a little programming experience, you can simply fetch the window handle of the application you wish to put on top, and call the [ShowWindow](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow) and [SetWindowPos](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos) function, for instance in a PowerShell script. Feel free to send a PR if you have a working implementation on Windows :)

## Prerequisites
1. [Helium](https://github.com/JadenGeller/Helium)
1. Python 3. If you don't have Python 3, (check with `$ which python3`), see [this resource](https://installpython3.com/mac/).

## Installation
1. Clone the repository and install dependencies.
```
git clone https://github.com/trympet/lockdown-browser-bypass-macos.git ~/Documents/lockdown-browser-bypass &&
cd $_ &&
pip3 install -r requirements.txt &&
chmod +x lockdown-bypass.py
```

## Usage
1. Place Helium app inside of lockdown-browser-bypass directory (search in spotlight, drag into folder)
2. Start Helium
3. Start the script: `python3 ~/Documents/lockdown-browser-bypass/lockdown-bypass.py`
4. Within 10 seconds of starting the script, click a valid lockdown browser URL to start the lockdown browser session.
You can use [this site](https://webassign.com/instructors/features/secure-testing/lockdown-browser/) to test it out

## Troubleshooting
Make sure that you have completeted the prerequistes and installed Helium, Python 3, and the repository correctly.

***Note*** : When attempting to run the script, you may recieve this error:

>"File "lockdown-bypass.py", line 4, in
>from Cocoa import *
>ImportError: No module named Cocoa"

Complete the above steps for troubleshooting and it should resolve, run script as outlined in Usage.