Skip to content

MarioBlox/Student_Care_BF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

# 🏫 Thai School Data Toolkit

A set of Python scripts for managing student and teacher data from a Thai school web system. This toolkit includes data extraction, filtering, formatting, and even brute-force OTP testing for internal validation.

---

## πŸ“ Files Overview

| File | Description |
|------|-------------|
| `bf_otp.py` | Brute-force OTP tester with Discord webhook notifications. |
| `downloads_all.py` | Downloads full student and teacher datasets from the official platform. |
| `filter_student.py` | Organizes and saves student profiles and pictures into a structured folder tree. |
| `filter_teacher.py` | Filters teacher data and downloads profile images into folders by role and name. |

---

## πŸ“¦ Requirements

Install the necessary Python packages:

```bash
pip install httpx requests

Use Python 3.8 or higher.


πŸ” Brute Force OTP

File: bf_otp.py

python bf_otp.py
  • Randomly generates and submits OTP codes.
  • Detects correct OTP by analyzing response.
  • Sends a Discord alert via webhook when valid OTP is found.

πŸ“₯ Download Raw Student & Teacher Data

File: downloads_all.py

python downloads_all.py
  • Requires valid session cookies (COOKIE).

  • Saves:

    • student_raw_data.json
    • teacher_raw_data.json

Make sure to adjust TERM and BODY if needed.


πŸ§‘β€πŸŽ“ Filter Students

File: filter_student.py

python filter_student.py
  • Input: students_all.json

  • Output:

    • JSON and JPG per student
    • Structured as: alldata_student/levelX/class Y/std_no_name.json alldata_student/levelX/class Y/std_no_name.jpg

πŸ‘©β€πŸ« Filter Teachers

File: filter_teacher.py

python filter_teacher.py
  • Input: teacher_raw_data.json

  • Output:

    • Each teacher in: alldata_teacher/Position_Name_FullName/{.json + .jpg}

πŸ›‘οΈ Disclaimer

This project is for internal or educational use only. Do not use these scripts on real-world systems without permission.


πŸ™‹β€β™‚οΈ Author

marioblox β€” The Cyber Sorcerer πŸ§™β€β™‚οΈ

"Clean data is magical data." ✨



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages