Skip to content

Latest commit

 

History

History

scraper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
  • This script can be used to brute force passwords for the attendance app ( which are DOBs )
    • List of roll numbers can be provided as command line arguments or in a file. Refer Usage
  • Scraping all credentials can be done by running the script with no arguments.
    • List of departments and batches to scrape can be changed by editing the lists at the end of the script.
  • Output is printed to stdout, saving it to a file can be done by redirecting the output.
    • Ex: python -u scraper.py [args] > output.txt; -u for unbuffered output
      • refer to your shell's docs for more info about output redirection.
    • Any errors are printed to stderr.
  • The output is csv formatted with the following columns:
    • Unique Web ID, Name, Roll Number, Password(DOB)

Usage:

Requires requests module. Install with pip install requests if not already installed.

    python scraper.py [-h | --help]; Display this help page
    python scraper.py [rollno1] [rollno2] ...
    python scraper.py [file_path]
    python scraper.py; Scrape all btech students' credentials

(do not include brackets)

Input file format:

rollno1
rollno2
...

Output format:

WebID1,Name1,rollno1,password1
WebID2,Name2,rollno2,password2
...

Note: Tested on Python 3.10, 3.11