Skip to content

A command line program to check if DTU's Registration portal is up and running and automates the login process by solving the CAPTCHA using CNN.

Notifications You must be signed in to change notification settings

royari/check_if_up

Repository files navigation

check_if_up

Its a python3 program to check if DTU's website is up and running and notifies the user by playing a song. It also automates the login process by brealing the captcha using a trained CNN. Done using selenium.

Why?

DTU's registration always crashes before registration of subject due to high traffic and its taken to lot of effort to sit and keep refreshing the webpage mannually to check if it loads. Since the registration process works in a first come first serve basis, the program helps make life a bit easier.

Captcha type

Captcha

Getting Started

Clone or downlod the program and replace the url and the music ( with the music file being in the same directory ) if required.

Dependencies

download the following python3 packages.

  • copy & paste this in the terminal.
 pip3 install -r requirements.txt

  • driver-download the chrome driver as per your operating system.
  • pytorch

Deploying

Run the program.

python3 check_if_up.py -u <username> -p <password>

eg

python3 check_if_ip.py -u 2k16/it/36 -p aba28jak

Testing

  • tested google chrome Version 75 and python 3.7 on macOS 10.14

Note

the ocr directory contains the CNN notebook and capcha_data contains the self created catptcha dataset.

Built With

About

A command line program to check if DTU's Registration portal is up and running and automates the login process by solving the CAPTCHA using CNN.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published