Skip to content

About

Auto login for Moodle & Webmail (IIT/NIT) with CAPTCHA solver | Works on any *.ac.in

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” India College Auto Login

Stop typing your password every single day.

Auto-login for Moodle + Webmail at every IIT, NIT & Indian college. Smart CAPTCHA solving. Works on any *.ac.in login page. No Tampermonkey. No setup hassle.

License: MIT Manifest V3 Works On Made for PRs Welcome


The Problem

You open Moodle. Type Kerberos ID. Type password. Solve math CAPTCHA. Done.
You open Webmail. Type Kerberos ID. Type password. Done.
Every. Single. Day.

The Fix

Install this extension once. Enter credentials once. Never again.

Visit Moodle       β†’  logged in automatically (< 1 second)
Visit Webmail      β†’  logged in automatically (< 1 second)
Math CAPTCHA?      β†’  solved automatically
Image CAPTCHA?     β†’  credentials filled, you solve it once
New login page?    β†’  "Add auto-login here?" pill β€” click Yes
3 failed attempts? β†’  fill-only mode, amber banner guides you

Install in 30 Seconds

Brave / Chrome / Edge / Arc

  1. Download this repo β†’ Code β†’ Download ZIP β†’ Extract
  2. Go to brave://extensions (or chrome://extensions)
  3. Enable Developer Mode (top-right toggle)
  4. Click Load unpacked
  5. Select the extracted folder

Done. Visit Moodle β€” one-time popup asks for your ID + password. Fill it. That's it forever.

Firefox

  1. Go to about:debugging#/runtime/this-firefox
  2. Click Load Temporary Add-on
  3. Select manifest.json from the extracted folder

How It Works

Known portals β€” instant auto-login

Detects the login form, fills credentials, solves math CAPTCHA, clicks Login. Done before you blink.

Any other *.ac.in page β€” smart prompt

A pill notification appears bottom-right of screen:

πŸ” Add auto-login here?
   attendance.iitd.ac.in β€” Will use saved ID mt6240344
   [βœ“ Add this site]  [Not now]

Click Add this site β†’ auto-login activates from the next visit onward.

Image CAPTCHA β€” fail-limit system

For pages like the Attendance Portal that use image CAPTCHAs the extension cannot solve:

Visit 1  β†’  fill credentials + try auto-submit
Visit 2  β†’  fail detected β†’ try again (attempt 2/3)
Visit 3  β†’  fail detected β†’ try again (attempt 3/3)
Visit 4  β†’  FILL-ONLY MODE:
             credentials auto-filled βœ“
             amber banner: "Solve CAPTCHA manually"
             [β†Ί Try Auto-Submit] button to reset anytime

No infinite loops. No account lockouts. Just smart graceful degradation.


Supported Portals

Moodle (LMS)

College URL CAPTCHA
IIT Delhi moodle.iitd.ac.in Math β€” auto-solved
IIT Delhi New moodlenew.iitd.ac.in Math β€” auto-solved
IIT Bombay moodle.iitb.ac.in None
IIT Madras courses.iitm.ac.in None
IIT Kharagpur kgpmoodle.iitkgp.ac.in/moodle None
IIT Kharagpur CSE moodlecse.iitkgp.ac.in/moodle None
IIT Kanpur CSE moodle.cse.iitk.ac.in None
IIT Mandi lms.iitmandi.ac.in None
IIT Jammu lms.iitjammu.ac.in None
IIT Patna ais.iitp.ac.in/moodle None
IIT Palakkad moodle.iitpkd.ac.in None
IIT Hyderabad moodle.iith.ac.in None
IIT Bhilai lms.iitbhilai.ac.in None
NIT Calicut moodle.nitc.ac.in None
NIT Rourkela newmoodle.nitrkl.ac.in None
NIT Trichy lms.nitt.edu None
NIT Silchar moodle.nits.ac.in None
MNIT Jaipur moodle.mnit.ac.in None
NIT Patna elearn.nitp.ac.in None
NIT Uttarakhand lms.nitu.ac.in None

Webmail β€” Roundcube

College URL
IIT Delhi webmail.iitd.ac.in
IIT Delhi (alt) webmail.iitd.ernet.in/roundcube
IIT Kanpur webmail.iitk.ac.in
IIT Kanpur CSE roundcube.cse.iitk.ac.in
IIT Mandi webmail.iitmandi.ac.in
IIT Jammu webmail.iitjammu.ac.in
IIT Patna webmail.iitp.ac.in
IIT Palakkad webmail.iitpkd.ac.in
IIT Hyderabad webmail.iith.ac.in
IIT Bhilai webmail.iitbhilai.ac.in
NIT Calicut webmail.nitc.ac.in
NIT Rourkela webmail.nitrkl.ac.in
NIT Trichy webmail.nitt.edu
NIT Silchar webmail.nits.ac.in
MNIT Jaipur webmail.mnit.ac.in
NIT Patna webmail.nitp.ac.in

Webmail β€” Zimbra

College URL
IIT Kharagpur iitkgpmail.iitkgp.ac.in
IIT Roorkee mail.iitr.ac.in

Not Supported (SSO / OAuth)

These redirect to Google or Microsoft β€” no browser extension can inject there:

College System
IIT Guwahati Microsoft 365
IIT Bombay webmail Institutional SSO
IIT Madras email Google Workspace
IIT Kharagpur post-2020 Google Workspace

Math CAPTCHA β€” How It's Solved

IITD Moodle uses plain-text arithmetic CAPTCHAs in the HTML:

"What is 4 added to 7?"            β†’  11
"What is the first number of 9?"   β†’  9
"Write the answer to 6 βˆ’ 2 = ?"   β†’  4

The extension reads the question, parses numbers and the operation keyword, evaluates it, fills the answer β€” all client-side, zero API calls.

Keyword Operation
first First number
second Second number
add, sum, plus Addition
subtract, minus Subtraction
multiply, times Multiplication
divide Division

Security & Privacy

Your password never leaves your device. Ever.

Property Detail
Storage chrome.storage.local β€” browser-managed, encrypted at rest
Network requests Zero β€” no fetch(), no XHR, no external calls
Code ~800 lines, zero obfuscation β€” read it yourself
Telemetry None
Third-party dependencies None
Scope Only runs on *.ac.in pages

Do not use on shared or public computers.


Add Your College

The extension already dynamically detects any *.ac.in login page. To add it permanently to the list for all users:

1. Add your URL to manifest.json:

"https://moodle.yourcollege.ac.in/*",
"https://webmail.yourcollege.ac.in/*"

2. Open a Pull Request with college name, URLs, and CAPTCHA type.


Contributing

Bug Open an issue
Add a college PR with URL in manifest.json
Different CAPTCHA format Open an issue with the HTML
Feature request Open a discussion

Known Limitations

  • Image / reCAPTCHA β€” credentials auto-filled, submit paused after 3 failures, amber banner guides manual completion
  • SSO / OAuth β€” cannot inject into Google or Microsoft login flows
  • 2FA β€” not supported
  • VPN-gated portals β€” network restrictions are out of scope

File Structure

india-college-autologin/
β”œβ”€β”€ manifest.json   β€” Extension config + URL patterns
β”œβ”€β”€ content.js      β€” All logic in ~800 lines of readable JS
β”œβ”€β”€ README.md       β€” This file
└── LICENSE         β€” MIT

Built On


License

MIT β€” free to use, fork, redistribute, and improve.


Made with β˜• by a student, for every student in India.

If this saves you 30 seconds a day β€” that's 3 hours a year back in your life.

⭐ Star this repo so your batchmates can find it.

About

Auto login for Moodle & Webmail (IIT/NIT) with CAPTCHA solver | Works on any *.ac.in

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages