{"id":50869683,"url":"https://github.com/charliewu0788/local-wpctf","last_synced_at":"2026-06-15T04:01:25.540Z","repository":{"id":363988182,"uuid":"1265863303","full_name":"CharlieWu0788/Local-WPCTF","owner":"CharlieWu0788","description":"A lightweight local WordPress CTF reconnaissance framework for detecting attack surfaces including login endpoints, SQLi, XSS, and WordPress-specific misconfigurations.","archived":false,"fork":false,"pushed_at":"2026-06-12T03:22:31.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-12T04:14:29.499Z","etag":null,"topics":["attack-surface","automation","bug-bounty","ctf","cybersecurity","ethical-hacking","information-gathering","penetration-testing","python","reconnaissance","security-tools","sql-injection","vulnerability-scanners","web-application-security","web-security","wordpress","wordpress-security","xss"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CharlieWu0788.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-11T06:24:52.000Z","updated_at":"2026-06-12T03:22:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CharlieWu0788/Local-WPCTF","commit_stats":null,"previous_names":["charliewu0788/qwen-wpctf","charliewu0788/local-wpctf"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CharlieWu0788/Local-WPCTF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlieWu0788%2FLocal-WPCTF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlieWu0788%2FLocal-WPCTF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlieWu0788%2FLocal-WPCTF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlieWu0788%2FLocal-WPCTF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CharlieWu0788","download_url":"https://codeload.github.com/CharlieWu0788/Local-WPCTF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlieWu0788%2FLocal-WPCTF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34346870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attack-surface","automation","bug-bounty","ctf","cybersecurity","ethical-hacking","information-gathering","penetration-testing","python","reconnaissance","security-tools","sql-injection","vulnerability-scanners","web-application-security","web-security","wordpress","wordpress-security","xss"],"created_at":"2026-06-15T04:00:59.864Z","updated_at":"2026-06-15T04:01:25.534Z","avatar_url":"https://github.com/CharlieWu0788.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local WPCTF\n\nA lightweight local WordPress security testing framework that combines reconnaissance, attack surface modeling, test plan generation, and OWASP-based classification.\n\nIt is designed to identify and organize web attack surfaces including authentication endpoints, SQL injection points, XSS vectors, and WordPress-specific misconfigurations.\n\n---\n\n## ⚡ Features (v0.3.1)\n\n### Scanner Layer\n\n* WordPress detection\n* Hybrid authentication surface discovery\n  - Link-based discovery\n  - Endpoint probing (e.g., /wp-login.php)\n  - Form-based login detection\n  - Validation-based confirmation\n* Basic SQL injection reconnaissance (parameter-based)\n* Basic reflected XSS detection (form-based)\n\n---\n\n### Workflow Layer\n\n* Attack surface modeling\n* Security test plan generation\n* Authentication surface normalization\n* Structured workflow output\n\n---\n\n### Security Classification Layer\n\n* OWASP Top 10 mapping for generated test cases\n* Structured vulnerability categorization\n* Risk classification based on test intent\n* Standardized security findings output\n\n---\n\n### Reporting Layer\n\n* Unified JSON output\n* Structured security findings format\n* OWASP-aligned result mapping\n\n---\n\n## 📊 Module Explanation\n\n| Module         | Purpose |\n| -------------- | --------|\n| wordpress_scan | Detect WordPress installations through fingerprinting |\n| auth_scan      | Hybrid authentication discovery engine |\n| sql_scan       | Basic SQL injection reconnaissance |\n| xss_scan       | Basic reflected XSS reconnaissance |\n| attack_surface | Convert scan results into structured attack surfaces |\n| test_plan      | Generate test cases from attack surfaces |\n| owasp_mapper   | Map test cases to OWASP Top 10 categories |\n\n---\n\n## 🧠 Architecture\n\n```text\nTarget URL\n    ↓\nScanner Layer\n    ├── WordPress Scan\n    ├── Auth Scan (Hybrid Engine)\n    ├── SQL Scan\n    └── XSS Scan\n    ↓\nAttack Surface Modeling\n    ↓\nTest Plan Generation\n    ↓\nOWASP Top 10 Classification\n    ↓\nStructured JSON Output\n```\n\nThe framework now supports hybrid authentication discovery by combining link analysis, form-based detection, and endpoint probing to improve coverage of real-world login surfaces.\n\n---\n\n## 📁 Project Structure\n\n```\nLocal WPCTF/\n\n├── main.py\n├── config.json\n│\n├── scanners/\n│   ├── wordpress_scan.py\n│   ├── auth_scan.py\n│   ├── sql_scan.py\n│   ├── xss_scan.py\n│   └── __init__.py\n│\n├── workflow/\n│   ├── attack_surface.py\n│   ├── test_plan.py\n│   └── __init__.py\n│\n├── reports/\n│   └── owasp_mapper.py\n│\n└── README.md\n```\n\n---\n\n## 🚧 Roadmap\n\n### v0.1.x\n\n* WordPress detection\n* Authentication discovery\n* SQL reconnaissance\n* XSS reconnaissance\n\n### v0.2.0\n\n* Attack surface modeling\n* Test plan generation\n* Basic workflow orchestration\n\n### v0.3.0\n\n* OWASP Top 10 classification\n* Structured security findings\n\n### v0.3.1 (CURRENT)\n\n* Hybrid authentication discovery engine\n* Endpoint probing for login surfaces\n* Form-based login detection\n* Improved authentication validation logic\n\n### v0.4.0 (Planned)\n\n* JSON report generator\n* Persistent output files\n* Structured export pipeline\n\n---\n\n## 📌 Notes\n\nThis version significantly improves authentication surface coverage by combining multiple discovery strategies, reducing reliance on CMS-specific assumptions while maintaining compatibility with WordPress environments.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharliewu0788%2Flocal-wpctf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharliewu0788%2Flocal-wpctf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharliewu0788%2Flocal-wpctf/lists"}