How m1cckey/websecurityacademy works
WebSecurityAcademy is a collection of standalone Python scripts for practicing web-security labs, rather than a single integrated application. The principal workflow is an operator running a lab script, which sends crafted HTTP requests to a Web Security Academy target and uses response content, status, or timing to identify credentials or other lab results. The scripts cover authentication enumeration, password guessing, 2FA, persistent-login cookies, and several SQL injection techniques. The shared AcademyClient is a separate helper; no sampled lab script is shown using it. The README documents SQLi lab aims, but other unsampled behavior is not inferred.
Main entry points: lab_2.py Username Enum · lab_3.py Login Brute Force · lab_4.py Password Guessing · lab_5.py Credential Enum
Components 14
Authentication Labs
- Enumeration Lab 1
auth/enum/lab_1.py - Username Enum
auth/enum/lab_2.py - Login Brute Force
auth/enum/lab_3.py - Password Guessing
auth/enum/lab_4.py - Credential Enum
auth/enum/lab_5.py - 2FA Guessing
auth/2FA/lab_6.py - Persistent Login
auth/stay-log-in/lab_7.py
SQL Injection Labs
- Boolean Blind SQLi
sqli/blind-boolean/lab_11.py - Error Blind SQLi
sqli/blind-erorr/lab_12.py - Error Extraction
sqli/blind-erorr/lab_13.py - Time-Based SQLi
sqli/time-based/lab_14.py
HTTP Client
- AcademyClient
utils/client.py
Other components
- Operator
- Lab Target
Connections 21
- Operator → Username Enum: runs
auth/enum/lab_2.py - Username Enum → Lab Target: posts login
auth/enum/lab_2.py - Operator → Login Brute Force: runs
auth/enum/lab_3.py - Login Brute Force → Lab Target: posts login
auth/enum/lab_3.py - Operator → Password Guessing: runs
auth/enum/lab_4.py - Password Guessing → Lab Target: posts login
auth/enum/lab_4.py - Operator → Credential Enum: runs
auth/enum/lab_5.py - Credential Enum → Lab Target: posts login
auth/enum/lab_5.py - Operator → 2FA Guessing: runs
auth/2FA/lab_6.py - 2FA Guessing → Lab Target: posts codes
auth/2FA/lab_6.py - Operator → Persistent Login: runs
auth/stay-log-in/lab_7.py - Persistent Login → Lab Target: gets account
auth/stay-log-in/lab_7.py - Operator → Boolean Blind SQLi: runs
sqli/blind-boolean/lab_11.py - Boolean Blind SQLi → Lab Target: sends probes
sqli/blind-boolean/lab_11.py - Operator → Error Blind SQLi: runs
sqli/blind-erorr/lab_12.py - Error Blind SQLi → Lab Target: sends probes
sqli/blind-erorr/lab_12.py - Operator → Error Extraction: runs
sqli/blind-erorr/lab_13.py - Error Extraction → Lab Target: sends probe
sqli/blind-erorr/lab_13.py - Operator → Time-Based SQLi: runs
sqli/time-based/lab_14.py - Time-Based SQLi → Lab Target: sends timed probes
sqli/time-based/lab_14.py - AcademyClient → Lab Target: sends requests
utils/client.py