aiptx 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aiptx might be problematic. Click here for more details.
- aiptx-2.0.1/ARCHITECTURE.md +88 -0
- aiptx-2.0.1/CHANGELOG.md +121 -0
- aiptx-2.0.1/LICENSE +21 -0
- aiptx-2.0.1/MANIFEST.in +20 -0
- aiptx-2.0.1/PKG-INFO +420 -0
- aiptx-2.0.1/README.md +303 -0
- aiptx-2.0.1/pyproject.toml +300 -0
- aiptx-2.0.1/requirements.txt +75 -0
- aiptx-2.0.1/setup.cfg +4 -0
- aiptx-2.0.1/src/aipt_v2/__init__.py +110 -0
- aiptx-2.0.1/src/aipt_v2/__main__.py +24 -0
- aiptx-2.0.1/src/aipt_v2/agents/AIPTxAgent/__init__.py +10 -0
- aiptx-2.0.1/src/aipt_v2/agents/AIPTxAgent/aiptx_agent.py +211 -0
- aiptx-2.0.1/src/aipt_v2/agents/__init__.py +24 -0
- aiptx-2.0.1/src/aipt_v2/agents/base.py +520 -0
- aiptx-2.0.1/src/aipt_v2/agents/ptt.py +406 -0
- aiptx-2.0.1/src/aipt_v2/agents/state.py +168 -0
- aiptx-2.0.1/src/aipt_v2/app.py +960 -0
- aiptx-2.0.1/src/aipt_v2/browser/__init__.py +31 -0
- aiptx-2.0.1/src/aipt_v2/browser/automation.py +458 -0
- aiptx-2.0.1/src/aipt_v2/browser/crawler.py +453 -0
- aiptx-2.0.1/src/aipt_v2/cli.py +321 -0
- aiptx-2.0.1/src/aipt_v2/compliance/__init__.py +71 -0
- aiptx-2.0.1/src/aipt_v2/compliance/compliance_report.py +449 -0
- aiptx-2.0.1/src/aipt_v2/compliance/framework_mapper.py +424 -0
- aiptx-2.0.1/src/aipt_v2/compliance/nist_mapping.py +345 -0
- aiptx-2.0.1/src/aipt_v2/compliance/owasp_mapping.py +330 -0
- aiptx-2.0.1/src/aipt_v2/compliance/pci_mapping.py +297 -0
- aiptx-2.0.1/src/aipt_v2/config.py +288 -0
- aiptx-2.0.1/src/aipt_v2/core/__init__.py +43 -0
- aiptx-2.0.1/src/aipt_v2/core/agent.py +630 -0
- aiptx-2.0.1/src/aipt_v2/core/llm.py +395 -0
- aiptx-2.0.1/src/aipt_v2/core/memory.py +305 -0
- aiptx-2.0.1/src/aipt_v2/core/ptt.py +329 -0
- aiptx-2.0.1/src/aipt_v2/database/__init__.py +14 -0
- aiptx-2.0.1/src/aipt_v2/database/models.py +232 -0
- aiptx-2.0.1/src/aipt_v2/database/repository.py +384 -0
- aiptx-2.0.1/src/aipt_v2/docker/__init__.py +23 -0
- aiptx-2.0.1/src/aipt_v2/docker/builder.py +260 -0
- aiptx-2.0.1/src/aipt_v2/docker/manager.py +222 -0
- aiptx-2.0.1/src/aipt_v2/docker/sandbox.py +371 -0
- aiptx-2.0.1/src/aipt_v2/evasion/__init__.py +58 -0
- aiptx-2.0.1/src/aipt_v2/evasion/request_obfuscator.py +272 -0
- aiptx-2.0.1/src/aipt_v2/evasion/tls_fingerprint.py +285 -0
- aiptx-2.0.1/src/aipt_v2/evasion/ua_rotator.py +301 -0
- aiptx-2.0.1/src/aipt_v2/evasion/waf_bypass.py +439 -0
- aiptx-2.0.1/src/aipt_v2/execution/__init__.py +23 -0
- aiptx-2.0.1/src/aipt_v2/execution/executor.py +302 -0
- aiptx-2.0.1/src/aipt_v2/execution/parser.py +544 -0
- aiptx-2.0.1/src/aipt_v2/execution/terminal.py +337 -0
- aiptx-2.0.1/src/aipt_v2/health.py +437 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/__init__.py +85 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/auth.py +520 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/chaining.py +775 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/cve_aipt.py +334 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/cve_info.py +1111 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/rag.py +239 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/scope.py +442 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/searchers/__init__.py +5 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/searchers/exploitdb_searcher.py +523 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/searchers/github_searcher.py +467 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/searchers/google_searcher.py +281 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/tools.json +443 -0
- aiptx-2.0.1/src/aipt_v2/intelligence/triage.py +670 -0
- aiptx-2.0.1/src/aipt_v2/interface/__init__.py +5 -0
- aiptx-2.0.1/src/aipt_v2/interface/cli.py +230 -0
- aiptx-2.0.1/src/aipt_v2/interface/main.py +501 -0
- aiptx-2.0.1/src/aipt_v2/interface/tui.py +1276 -0
- aiptx-2.0.1/src/aipt_v2/interface/utils.py +583 -0
- aiptx-2.0.1/src/aipt_v2/llm/__init__.py +39 -0
- aiptx-2.0.1/src/aipt_v2/llm/config.py +26 -0
- aiptx-2.0.1/src/aipt_v2/llm/llm.py +514 -0
- aiptx-2.0.1/src/aipt_v2/llm/memory.py +214 -0
- aiptx-2.0.1/src/aipt_v2/llm/request_queue.py +89 -0
- aiptx-2.0.1/src/aipt_v2/llm/utils.py +89 -0
- aiptx-2.0.1/src/aipt_v2/models/__init__.py +15 -0
- aiptx-2.0.1/src/aipt_v2/models/findings.py +295 -0
- aiptx-2.0.1/src/aipt_v2/models/phase_result.py +224 -0
- aiptx-2.0.1/src/aipt_v2/models/scan_config.py +207 -0
- aiptx-2.0.1/src/aipt_v2/monitoring/grafana/dashboards/aipt-dashboard.json +355 -0
- aiptx-2.0.1/src/aipt_v2/monitoring/grafana/dashboards/default.yml +17 -0
- aiptx-2.0.1/src/aipt_v2/monitoring/grafana/datasources/prometheus.yml +17 -0
- aiptx-2.0.1/src/aipt_v2/monitoring/prometheus.yml +60 -0
- aiptx-2.0.1/src/aipt_v2/orchestration/__init__.py +52 -0
- aiptx-2.0.1/src/aipt_v2/orchestration/pipeline.py +398 -0
- aiptx-2.0.1/src/aipt_v2/orchestration/progress.py +300 -0
- aiptx-2.0.1/src/aipt_v2/orchestration/scheduler.py +296 -0
- aiptx-2.0.1/src/aipt_v2/orchestrator.py +2284 -0
- aiptx-2.0.1/src/aipt_v2/payloads/__init__.py +27 -0
- aiptx-2.0.1/src/aipt_v2/payloads/cmdi.py +150 -0
- aiptx-2.0.1/src/aipt_v2/payloads/sqli.py +263 -0
- aiptx-2.0.1/src/aipt_v2/payloads/ssrf.py +204 -0
- aiptx-2.0.1/src/aipt_v2/payloads/templates.py +222 -0
- aiptx-2.0.1/src/aipt_v2/payloads/traversal.py +166 -0
- aiptx-2.0.1/src/aipt_v2/payloads/xss.py +204 -0
- aiptx-2.0.1/src/aipt_v2/prompts/__init__.py +60 -0
- aiptx-2.0.1/src/aipt_v2/proxy/__init__.py +29 -0
- aiptx-2.0.1/src/aipt_v2/proxy/history.py +352 -0
- aiptx-2.0.1/src/aipt_v2/proxy/interceptor.py +452 -0
- aiptx-2.0.1/src/aipt_v2/recon/__init__.py +44 -0
- aiptx-2.0.1/src/aipt_v2/recon/dns.py +241 -0
- aiptx-2.0.1/src/aipt_v2/recon/osint.py +367 -0
- aiptx-2.0.1/src/aipt_v2/recon/subdomain.py +372 -0
- aiptx-2.0.1/src/aipt_v2/recon/tech_detect.py +311 -0
- aiptx-2.0.1/src/aipt_v2/reports/__init__.py +17 -0
- aiptx-2.0.1/src/aipt_v2/reports/generator.py +313 -0
- aiptx-2.0.1/src/aipt_v2/reports/html_report.py +378 -0
- aiptx-2.0.1/src/aipt_v2/runtime/__init__.py +44 -0
- aiptx-2.0.1/src/aipt_v2/runtime/base.py +30 -0
- aiptx-2.0.1/src/aipt_v2/runtime/docker.py +401 -0
- aiptx-2.0.1/src/aipt_v2/runtime/local.py +346 -0
- aiptx-2.0.1/src/aipt_v2/runtime/tool_server.py +205 -0
- aiptx-2.0.1/src/aipt_v2/scanners/__init__.py +28 -0
- aiptx-2.0.1/src/aipt_v2/scanners/base.py +273 -0
- aiptx-2.0.1/src/aipt_v2/scanners/nikto.py +244 -0
- aiptx-2.0.1/src/aipt_v2/scanners/nmap.py +402 -0
- aiptx-2.0.1/src/aipt_v2/scanners/nuclei.py +273 -0
- aiptx-2.0.1/src/aipt_v2/scanners/web.py +454 -0
- aiptx-2.0.1/src/aipt_v2/scripts/security_audit.py +366 -0
- aiptx-2.0.1/src/aipt_v2/telemetry/__init__.py +7 -0
- aiptx-2.0.1/src/aipt_v2/telemetry/tracer.py +347 -0
- aiptx-2.0.1/src/aipt_v2/terminal/__init__.py +28 -0
- aiptx-2.0.1/src/aipt_v2/terminal/executor.py +400 -0
- aiptx-2.0.1/src/aipt_v2/terminal/sandbox.py +350 -0
- aiptx-2.0.1/src/aipt_v2/tools/__init__.py +44 -0
- aiptx-2.0.1/src/aipt_v2/tools/active_directory/__init__.py +78 -0
- aiptx-2.0.1/src/aipt_v2/tools/active_directory/ad_config.py +238 -0
- aiptx-2.0.1/src/aipt_v2/tools/active_directory/bloodhound_wrapper.py +447 -0
- aiptx-2.0.1/src/aipt_v2/tools/active_directory/kerberos_attacks.py +430 -0
- aiptx-2.0.1/src/aipt_v2/tools/active_directory/ldap_enum.py +533 -0
- aiptx-2.0.1/src/aipt_v2/tools/active_directory/smb_attacks.py +505 -0
- aiptx-2.0.1/src/aipt_v2/tools/agents_graph/__init__.py +19 -0
- aiptx-2.0.1/src/aipt_v2/tools/agents_graph/agents_graph_actions.py +69 -0
- aiptx-2.0.1/src/aipt_v2/tools/api_security/__init__.py +76 -0
- aiptx-2.0.1/src/aipt_v2/tools/api_security/api_discovery.py +608 -0
- aiptx-2.0.1/src/aipt_v2/tools/api_security/graphql_scanner.py +622 -0
- aiptx-2.0.1/src/aipt_v2/tools/api_security/jwt_analyzer.py +577 -0
- aiptx-2.0.1/src/aipt_v2/tools/api_security/openapi_fuzzer.py +761 -0
- aiptx-2.0.1/src/aipt_v2/tools/browser/__init__.py +5 -0
- aiptx-2.0.1/src/aipt_v2/tools/browser/browser_actions.py +238 -0
- aiptx-2.0.1/src/aipt_v2/tools/browser/browser_instance.py +535 -0
- aiptx-2.0.1/src/aipt_v2/tools/browser/tab_manager.py +344 -0
- aiptx-2.0.1/src/aipt_v2/tools/cloud/__init__.py +70 -0
- aiptx-2.0.1/src/aipt_v2/tools/cloud/cloud_config.py +273 -0
- aiptx-2.0.1/src/aipt_v2/tools/cloud/cloud_scanner.py +639 -0
- aiptx-2.0.1/src/aipt_v2/tools/cloud/prowler_tool.py +571 -0
- aiptx-2.0.1/src/aipt_v2/tools/cloud/scoutsuite_tool.py +359 -0
- aiptx-2.0.1/src/aipt_v2/tools/executor.py +307 -0
- aiptx-2.0.1/src/aipt_v2/tools/parser.py +408 -0
- aiptx-2.0.1/src/aipt_v2/tools/proxy/__init__.py +5 -0
- aiptx-2.0.1/src/aipt_v2/tools/proxy/proxy_actions.py +103 -0
- aiptx-2.0.1/src/aipt_v2/tools/proxy/proxy_manager.py +789 -0
- aiptx-2.0.1/src/aipt_v2/tools/registry.py +196 -0
- aiptx-2.0.1/src/aipt_v2/tools/scanners/__init__.py +343 -0
- aiptx-2.0.1/src/aipt_v2/tools/scanners/acunetix_tool.py +712 -0
- aiptx-2.0.1/src/aipt_v2/tools/scanners/burp_tool.py +631 -0
- aiptx-2.0.1/src/aipt_v2/tools/scanners/config.py +156 -0
- aiptx-2.0.1/src/aipt_v2/tools/scanners/nessus_tool.py +588 -0
- aiptx-2.0.1/src/aipt_v2/tools/scanners/zap_tool.py +612 -0
- aiptx-2.0.1/src/aipt_v2/tools/terminal/__init__.py +5 -0
- aiptx-2.0.1/src/aipt_v2/tools/terminal/terminal_actions.py +37 -0
- aiptx-2.0.1/src/aipt_v2/tools/terminal/terminal_manager.py +153 -0
- aiptx-2.0.1/src/aipt_v2/tools/terminal/terminal_session.py +449 -0
- aiptx-2.0.1/src/aipt_v2/tools/tool_processing.py +108 -0
- aiptx-2.0.1/src/aipt_v2/utils/__init__.py +17 -0
- aiptx-2.0.1/src/aipt_v2/utils/logging.py +201 -0
- aiptx-2.0.1/src/aipt_v2/utils/model_manager.py +187 -0
- aiptx-2.0.1/src/aipt_v2/utils/searchers/__init__.py +269 -0
- aiptx-2.0.1/src/aiptx.egg-info/PKG-INFO +420 -0
- aiptx-2.0.1/src/aiptx.egg-info/SOURCES.txt +172 -0
- aiptx-2.0.1/src/aiptx.egg-info/dependency_links.txt +1 -0
- aiptx-2.0.1/src/aiptx.egg-info/entry_points.txt +7 -0
- aiptx-2.0.1/src/aiptx.egg-info/requires.txt +48 -0
- aiptx-2.0.1/src/aiptx.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# AIPT v2 Architecture
|
|
2
|
+
## Built ON TOP of 8 AI Pentesting Frameworks
|
|
3
|
+
|
|
4
|
+
### Module Origins
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
aipt_v2/
|
|
8
|
+
├── llm/ # FROM: AIPTx (litellm-based, 100+ providers)
|
|
9
|
+
│ ├── llm.py # AIPTx: LLM class with caching, vision, reasoning
|
|
10
|
+
│ ├── memory.py # AIPTx: MemoryCompressor (80% threshold)
|
|
11
|
+
│ ├── config.py # AIPTx: LLMConfig dataclass
|
|
12
|
+
│ └── utils.py # AIPTx: Tool invocation parsing
|
|
13
|
+
│
|
|
14
|
+
├── runtime/ # FROM: AIPTx + HackSynth
|
|
15
|
+
│ ├── docker.py # AIPTx: DockerRuntime (399 lines)
|
|
16
|
+
│ ├── terminal.py # AIPTx: TerminalSession (447 lines)
|
|
17
|
+
│ └── sandbox.py # HackSynth: Container isolation patterns
|
|
18
|
+
│
|
|
19
|
+
├── tools/ # FROM: AIPTx + ez-ai-agent
|
|
20
|
+
│ ├── executor.py # AIPTx: Tool executor
|
|
21
|
+
│ ├── terminal/ # AIPTx: Terminal tools
|
|
22
|
+
│ ├── browser/ # AIPTx: Playwright browser (533 lines)
|
|
23
|
+
│ ├── proxy/ # AIPTx: MITM proxy (785 lines)
|
|
24
|
+
│ └── security/ # NEW: Security tool wrappers
|
|
25
|
+
│ ├── nmap.py
|
|
26
|
+
│ ├── nuclei.py
|
|
27
|
+
│ ├── sqlmap.py
|
|
28
|
+
│ └── ...
|
|
29
|
+
│
|
|
30
|
+
├── intelligence/ # FROM: pentest-agent + PentestAssistant
|
|
31
|
+
│ ├── cve.py # pentest-agent: CVE scoring (946 lines)
|
|
32
|
+
│ ├── exploit_search.py # pentest-agent: GitHub/ExploitDB searchers
|
|
33
|
+
│ ├── rag.py # PentestAssistant: BGE embeddings
|
|
34
|
+
│ └── tool_selection.py # PentestAssistant: Tool planning
|
|
35
|
+
│
|
|
36
|
+
├── agents/ # FROM: AIPTx + PentestGPT
|
|
37
|
+
│ ├── base.py # AIPTx: BaseAgent (518 lines)
|
|
38
|
+
│ ├── state.py # AIPTx: Agent state management
|
|
39
|
+
│ ├── pentest_agent.py # NEW: Security-focused agent
|
|
40
|
+
│ └── ptt.py # PentestGPT: Penetration Testing Tree
|
|
41
|
+
│
|
|
42
|
+
├── interface/ # FROM: AIPTx
|
|
43
|
+
│ ├── tui.py # AIPTx: Rich TUI (1,274 lines)
|
|
44
|
+
│ ├── cli.py # AIPTx: CLI interface
|
|
45
|
+
│ └── utils.py # AIPTx: UI utilities
|
|
46
|
+
│
|
|
47
|
+
├── database/ # FROM: VulnBot + AIPT v1
|
|
48
|
+
│ ├── models.py # VulnBot: SQLAlchemy models
|
|
49
|
+
│ ├── repository.py # AIPT v1: CRUD operations
|
|
50
|
+
│ └── kb.py # VulnBot: Knowledge base
|
|
51
|
+
│
|
|
52
|
+
└── api/ # FROM: AIPT v1
|
|
53
|
+
└── app.py # AIPT v1: FastAPI endpoints
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Feature Matrix
|
|
57
|
+
|
|
58
|
+
| Feature | Source | Lines | Status |
|
|
59
|
+
|---------|--------|-------|--------|
|
|
60
|
+
| LLM (litellm) | AIPTx | 513 | Copy |
|
|
61
|
+
| Memory Compression | AIPTx | 212 | Copy |
|
|
62
|
+
| Docker Runtime | AIPTx | 399 | Copy |
|
|
63
|
+
| Terminal Session | AIPTx | 447 | Copy |
|
|
64
|
+
| Browser Automation | AIPTx | 533 | Copy |
|
|
65
|
+
| Proxy/MITM | AIPTx | 785 | Copy |
|
|
66
|
+
| TUI Interface | AIPTx | 1,274 | Copy |
|
|
67
|
+
| CVE Intelligence | pentest-agent | 946 | Adapt |
|
|
68
|
+
| Exploit Search | pentest-agent | 1,200+ | Adapt |
|
|
69
|
+
| Tool RAG | PentestAssistant | 200 | Adapt |
|
|
70
|
+
| PTT Tracking | PentestGPT | 400 | Adapt |
|
|
71
|
+
| Knowledge Base | VulnBot | 500+ | Adapt |
|
|
72
|
+
| Database | AIPT v1 | 616 | Keep |
|
|
73
|
+
| REST API | AIPT v1 | 384 | Keep |
|
|
74
|
+
| Security Tools | ez-ai-agent | 364 | Adapt |
|
|
75
|
+
| Container Setup | HackSynth | 61 | Reference |
|
|
76
|
+
|
|
77
|
+
### Total Expected Lines: ~8,000-10,000
|
|
78
|
+
|
|
79
|
+
### Key Improvements Over Individual Tools
|
|
80
|
+
|
|
81
|
+
1. **Unified LLM Layer** - litellm supports 100+ providers (better than any single tool)
|
|
82
|
+
2. **Complete Toolset** - Browser + Terminal + Proxy (from AIPTx)
|
|
83
|
+
3. **Security Intelligence** - CVE + Exploit search (from pentest-agent)
|
|
84
|
+
4. **Smart Tool Selection** - RAG-based (from PentestAssistant)
|
|
85
|
+
5. **Progress Tracking** - PTT (from PentestGPT)
|
|
86
|
+
6. **Knowledge Persistence** - Database + KB (from VulnBot + AIPT v1)
|
|
87
|
+
7. **Professional Interface** - Rich TUI (from AIPTx)
|
|
88
|
+
8. **REST API** - Programmatic access (from AIPT v1)
|
aiptx-2.0.1/CHANGELOG.md
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to AIPTX will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [2.0.1] - 2024-12-16
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **LICENSE file** - MIT License now included in package
|
|
12
|
+
- **MANIFEST.in** - Proper package data inclusion for PyPI
|
|
13
|
+
- **Enhanced SEO** - Improved discoverability on PyPI and search engines
|
|
14
|
+
- Expanded keywords from 9 to 46 terms
|
|
15
|
+
- Increased classifiers from 14 to 37 categories
|
|
16
|
+
- Added comparison tables and use case examples to README
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **README.md** - Complete rewrite for better SEO and user experience
|
|
20
|
+
- Added 6 badges (PyPI, Downloads, Python, License, Code Style, Security)
|
|
21
|
+
- Added "Why AIPTX?" comparison table
|
|
22
|
+
- Added detailed tool coverage tables by phase
|
|
23
|
+
- Added architecture diagram
|
|
24
|
+
- Added use case examples (Bug Bounty, Pentest, DevSecOps, Red Team)
|
|
25
|
+
- Added competitor comparison table
|
|
26
|
+
- Added keyword section for search indexing
|
|
27
|
+
- **pyproject.toml** - Enhanced metadata
|
|
28
|
+
- License now references LICENSE file
|
|
29
|
+
- Added Python 3.13 support classifier
|
|
30
|
+
- Added Framework :: FastAPI classifier
|
|
31
|
+
- Added multiple OS platform classifiers
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
- **Python 3.9 compatibility** - Added `from __future__ import annotations` to 16 modules for union type syntax support
|
|
35
|
+
- **Import path fixes** - Fixed 15+ incorrect relative imports to use full `aipt_v2.` package prefix
|
|
36
|
+
- `from telemetry.tracer` → `from aipt_v2.telemetry.tracer` (8 locations)
|
|
37
|
+
- `from tools.agents_graph` → `from aipt_v2.tools.agents_graph` (5 locations)
|
|
38
|
+
- `from database.models` → `from aipt_v2.database.models` (1 location)
|
|
39
|
+
- **Test imports** - Fixed sys.path configuration in test files
|
|
40
|
+
- **Package structure** - Ensured proper src layout packaging
|
|
41
|
+
|
|
42
|
+
## [2.0.0] - 2024-12-14
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- **AI Intelligence Layer**
|
|
46
|
+
- LLM-guided scanning with LiteLLM (100+ providers)
|
|
47
|
+
- Smart triage based on real-world exploitability
|
|
48
|
+
- Attack chain detection for vulnerability chaining
|
|
49
|
+
- RAG-based tool selection using BGE embeddings
|
|
50
|
+
|
|
51
|
+
- **36+ Security Tools Integration**
|
|
52
|
+
- Phase 1 RECON: subfinder, assetfinder, amass, httpx, nmap, waybackurls, theHarvester, dnsrecon, wafw00f, whatweb
|
|
53
|
+
- Phase 2 SCAN: nuclei, nikto, wpscan, ffuf, gobuster, dirsearch, sslscan, testssl, gitleaks, trufflehog, trivy
|
|
54
|
+
- Phase 3 EXPLOIT: sqlmap, commix, xsstrike, hydra, searchsploit
|
|
55
|
+
- Phase 4 POST-EXPLOIT: linpeas, winpeas, pspy, lazagne
|
|
56
|
+
|
|
57
|
+
- **Enterprise Scanner Integration**
|
|
58
|
+
- Acunetix API integration (24KB wrapper)
|
|
59
|
+
- Burp Suite Professional API integration (21KB wrapper)
|
|
60
|
+
- Nessus API integration (18KB wrapper)
|
|
61
|
+
- OWASP ZAP API integration (18KB wrapper)
|
|
62
|
+
|
|
63
|
+
- **Intelligence Module**
|
|
64
|
+
- CVE scoring and analysis (42KB)
|
|
65
|
+
- Attack chain generation (27KB)
|
|
66
|
+
- Finding triage and prioritization (24KB)
|
|
67
|
+
- Authenticated scanning support (17KB)
|
|
68
|
+
- Scope enforcement (16KB)
|
|
69
|
+
- RAG tool selection (8KB)
|
|
70
|
+
- ExploitDB, GitHub, Google searchers
|
|
71
|
+
|
|
72
|
+
- **Professional Output**
|
|
73
|
+
- HTML vulnerability reports
|
|
74
|
+
- JSON export for CI/CD
|
|
75
|
+
- REST API server (FastAPI)
|
|
76
|
+
- Rich TUI with real-time progress
|
|
77
|
+
|
|
78
|
+
- **Runtime Options**
|
|
79
|
+
- Docker container execution
|
|
80
|
+
- Local execution
|
|
81
|
+
- VPS remote execution via SSH
|
|
82
|
+
|
|
83
|
+
### Architecture
|
|
84
|
+
- Modular design with clear separation of concerns
|
|
85
|
+
- Async-first implementation for performance
|
|
86
|
+
- Plugin system for future extensibility
|
|
87
|
+
- Database persistence with SQLAlchemy
|
|
88
|
+
|
|
89
|
+
## [1.0.0] - 2024-11-01
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
- Initial release
|
|
93
|
+
- Basic scanning functionality
|
|
94
|
+
- Database integration
|
|
95
|
+
- REST API
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Roadmap
|
|
100
|
+
|
|
101
|
+
### Planned for v2.1.0
|
|
102
|
+
- [ ] Cloud security scanning (AWS, Azure, GCP)
|
|
103
|
+
- [ ] Active Directory attack module
|
|
104
|
+
- [ ] API security testing suite
|
|
105
|
+
- [ ] Compliance reporting (PCI-DSS, HIPAA, SOC2)
|
|
106
|
+
|
|
107
|
+
### Planned for v2.2.0
|
|
108
|
+
- [ ] Web-based dashboard
|
|
109
|
+
- [ ] Team collaboration features
|
|
110
|
+
- [ ] Scheduled scanning
|
|
111
|
+
- [ ] Notification integrations (Slack, Teams, Discord)
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Contributing
|
|
116
|
+
|
|
117
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
|
|
121
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
aiptx-2.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Satyam Rastogi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
aiptx-2.0.1/MANIFEST.in
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
include LICENSE
|
|
2
|
+
include README.md
|
|
3
|
+
include requirements.txt
|
|
4
|
+
include CHANGELOG.md
|
|
5
|
+
include ARCHITECTURE.md
|
|
6
|
+
|
|
7
|
+
recursive-include src/aipt_v2 *.json *.yaml *.yml *.jinja *.jinja2 *.html *.css
|
|
8
|
+
recursive-include src/aipt_v2/prompts *.txt *.md
|
|
9
|
+
|
|
10
|
+
prune tests
|
|
11
|
+
prune htmlcov
|
|
12
|
+
prune .venv
|
|
13
|
+
prune __pycache__
|
|
14
|
+
prune *.egg-info
|
|
15
|
+
|
|
16
|
+
global-exclude *.pyc
|
|
17
|
+
global-exclude *.pyo
|
|
18
|
+
global-exclude .DS_Store
|
|
19
|
+
global-exclude .coverage
|
|
20
|
+
global-exclude *.log
|
aiptx-2.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aiptx
|
|
3
|
+
Version: 2.0.1
|
|
4
|
+
Summary: AI-Powered Penetration Testing Framework - Zero-click security scanning with LLM intelligence
|
|
5
|
+
Author-email: Satyam Rastogi <satyam@aiptx.io>
|
|
6
|
+
Maintainer-email: Satyam Rastogi <satyam@aiptx.io>
|
|
7
|
+
License: MIT License
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2025 Satyam Rastogi
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
|
|
29
|
+
Project-URL: Homepage, https://github.com/satyamrastogi/aiptx
|
|
30
|
+
Project-URL: Documentation, https://aiptx.io/docs
|
|
31
|
+
Project-URL: Repository, https://github.com/satyamrastogi/aiptx
|
|
32
|
+
Project-URL: Issues, https://github.com/satyamrastogi/aiptx/issues
|
|
33
|
+
Project-URL: Changelog, https://github.com/satyamrastogi/aiptx/blob/main/CHANGELOG.md
|
|
34
|
+
Keywords: security,penetration-testing,pentest,vulnerability-scanner,vulnerability-assessment,security-scanner,security-tools,security-automation,ai,llm,artificial-intelligence,machine-learning,gpt,claude,cybersecurity,infosec,appsec,devsecops,vapt,dast,sast,bug-bounty,ethical-hacking,red-team,offensive-security,web-security,owasp,cve,exploit,nmap,nuclei,sqlmap,burp-suite,acunetix,nessus,zap,reconnaissance,recon,scanning,exploitation,automation,cli,api
|
|
35
|
+
Classifier: Development Status :: 4 - Beta
|
|
36
|
+
Classifier: Environment :: Console
|
|
37
|
+
Classifier: Environment :: Web Environment
|
|
38
|
+
Classifier: Intended Audience :: Developers
|
|
39
|
+
Classifier: Intended Audience :: Information Technology
|
|
40
|
+
Classifier: Intended Audience :: System Administrators
|
|
41
|
+
Classifier: Intended Audience :: Science/Research
|
|
42
|
+
Classifier: Topic :: Security
|
|
43
|
+
Classifier: Topic :: Security :: Cryptography
|
|
44
|
+
Classifier: Topic :: Software Development :: Testing
|
|
45
|
+
Classifier: Topic :: Software Development :: Testing :: Acceptance
|
|
46
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
47
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
48
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
49
|
+
Classifier: Topic :: System :: Networking
|
|
50
|
+
Classifier: Topic :: System :: Systems Administration
|
|
51
|
+
Classifier: Topic :: System :: Monitoring
|
|
52
|
+
Classifier: Topic :: Utilities
|
|
53
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
54
|
+
Classifier: Operating System :: OS Independent
|
|
55
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
56
|
+
Classifier: Operating System :: MacOS
|
|
57
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
58
|
+
Classifier: Programming Language :: Python :: 3
|
|
59
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
60
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
61
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
62
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
63
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
64
|
+
Classifier: Typing :: Typed
|
|
65
|
+
Classifier: Framework :: FastAPI
|
|
66
|
+
Classifier: Natural Language :: English
|
|
67
|
+
Requires-Python: >=3.10
|
|
68
|
+
Description-Content-Type: text/markdown
|
|
69
|
+
License-File: LICENSE
|
|
70
|
+
Requires-Dist: litellm>=1.50.0
|
|
71
|
+
Requires-Dist: jinja2>=3.1.0
|
|
72
|
+
Requires-Dist: tiktoken>=0.5.0
|
|
73
|
+
Requires-Dist: requests>=2.31.0
|
|
74
|
+
Requires-Dist: httpx>=0.25.0
|
|
75
|
+
Requires-Dist: aiohttp>=3.9.0
|
|
76
|
+
Requires-Dist: fastapi>=0.104.0
|
|
77
|
+
Requires-Dist: uvicorn[standard]>=0.24.0
|
|
78
|
+
Requires-Dist: pydantic>=2.5.0
|
|
79
|
+
Requires-Dist: pydantic-settings>=2.0.0
|
|
80
|
+
Requires-Dist: slowapi>=0.1.9
|
|
81
|
+
Requires-Dist: sqlalchemy>=2.0.0
|
|
82
|
+
Requires-Dist: alembic>=1.13.0
|
|
83
|
+
Requires-Dist: textual>=0.44.0
|
|
84
|
+
Requires-Dist: rich>=13.7.0
|
|
85
|
+
Requires-Dist: click>=8.1.0
|
|
86
|
+
Requires-Dist: typer>=0.9.0
|
|
87
|
+
Requires-Dist: pyyaml>=6.0
|
|
88
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
89
|
+
Requires-Dist: aiofiles>=23.0.0
|
|
90
|
+
Requires-Dist: structlog>=23.0.0
|
|
91
|
+
Requires-Dist: psutil>=5.9.0
|
|
92
|
+
Provides-Extra: full
|
|
93
|
+
Requires-Dist: sentence-transformers>=2.2.0; extra == "full"
|
|
94
|
+
Requires-Dist: numpy>=1.24.0; extra == "full"
|
|
95
|
+
Requires-Dist: torch>=2.0.0; extra == "full"
|
|
96
|
+
Requires-Dist: playwright>=1.40.0; extra == "full"
|
|
97
|
+
Requires-Dist: mitmproxy>=10.0.0; extra == "full"
|
|
98
|
+
Requires-Dist: docker>=7.0.0; extra == "full"
|
|
99
|
+
Requires-Dist: pexpect>=4.8.0; extra == "full"
|
|
100
|
+
Requires-Dist: paramiko>=3.4.0; extra == "full"
|
|
101
|
+
Requires-Dist: langchain-core>=0.1.0; extra == "full"
|
|
102
|
+
Requires-Dist: scikit-learn>=1.3.0; extra == "full"
|
|
103
|
+
Requires-Dist: scipy>=1.11.0; extra == "full"
|
|
104
|
+
Requires-Dist: pandas>=2.0.0; extra == "full"
|
|
105
|
+
Provides-Extra: dev
|
|
106
|
+
Requires-Dist: pytest>=7.4.0; extra == "dev"
|
|
107
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
108
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
109
|
+
Requires-Dist: pytest-mock>=3.12.0; extra == "dev"
|
|
110
|
+
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
111
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
112
|
+
Requires-Dist: mypy>=1.7.0; extra == "dev"
|
|
113
|
+
Requires-Dist: bandit>=1.7.0; extra == "dev"
|
|
114
|
+
Requires-Dist: pre-commit>=3.5.0; extra == "dev"
|
|
115
|
+
Requires-Dist: safety>=2.3.0; extra == "dev"
|
|
116
|
+
Dynamic: license-file
|
|
117
|
+
|
|
118
|
+
# AIPTX - AI-Powered Penetration Testing Framework
|
|
119
|
+
|
|
120
|
+
[](https://badge.fury.io/py/aiptx)
|
|
121
|
+
[](https://pepy.tech/project/aiptx)
|
|
122
|
+
[](https://www.python.org/downloads/)
|
|
123
|
+
[](https://opensource.org/licenses/MIT)
|
|
124
|
+
[](https://github.com/psf/black)
|
|
125
|
+
[](https://github.com/PyCQA/bandit)
|
|
126
|
+
|
|
127
|
+
> **The Ultimate AI-Powered Penetration Testing & Vulnerability Assessment Tool**
|
|
128
|
+
|
|
129
|
+
**AIPTX** is a comprehensive **penetration testing framework** that combines **36+ security tools** with **AI/LLM intelligence** for automated vulnerability discovery. Perfect for **security researchers**, **bug bounty hunters**, **penetration testers**, and **red team** professionals.
|
|
130
|
+
|
|
131
|
+
## Why AIPTX?
|
|
132
|
+
|
|
133
|
+
| Feature | AIPTX | Traditional Tools |
|
|
134
|
+
|---------|-------|-------------------|
|
|
135
|
+
| AI-Guided Scanning | ✅ LLM decides next steps | ❌ Manual decisions |
|
|
136
|
+
| Tool Integration | ✅ 36+ tools unified | ❌ Run separately |
|
|
137
|
+
| Enterprise Scanners | ✅ Acunetix, Burp, Nessus, ZAP | ❌ Separate licenses |
|
|
138
|
+
| Auto Exploitation | ✅ SQLMap, Hydra, XSStrike | ❌ Manual chaining |
|
|
139
|
+
| Professional Reports | ✅ HTML, JSON, Executive | ❌ Copy-paste results |
|
|
140
|
+
| One Command | ✅ `aiptx scan target.com` | ❌ Multiple scripts |
|
|
141
|
+
|
|
142
|
+
## Key Features
|
|
143
|
+
|
|
144
|
+
### AI-Powered Intelligence
|
|
145
|
+
- **LLM-Guided Scanning** - Claude, GPT-4, or 100+ models via LiteLLM decide which tools to run based on findings
|
|
146
|
+
- **Smart Triage** - AI prioritizes vulnerabilities by real-world exploitability, not just CVSS
|
|
147
|
+
- **Attack Chain Detection** - Identifies how medium findings combine into critical risks
|
|
148
|
+
- **RAG-Based Tool Selection** - Semantic search matches objectives to optimal tools
|
|
149
|
+
|
|
150
|
+
### Comprehensive Tool Coverage
|
|
151
|
+
- **36+ Security Tools** - Unified interface for reconnaissance, scanning, exploitation, and post-exploitation
|
|
152
|
+
- **Enterprise Scanner Integration** - Native API support for Acunetix, Burp Suite Professional, Nessus, and OWASP ZAP
|
|
153
|
+
- **Automated Reconnaissance** - Subdomain enumeration, port scanning, technology fingerprinting
|
|
154
|
+
- **Active Exploitation** - SQL injection, XSS, command injection testing (opt-in)
|
|
155
|
+
- **Post-Exploitation** - Privilege escalation detection with LinPEAS/WinPEAS
|
|
156
|
+
|
|
157
|
+
### Professional Output
|
|
158
|
+
- **HTML Reports** - Executive-ready vulnerability reports
|
|
159
|
+
- **JSON Export** - CI/CD integration and programmatic access
|
|
160
|
+
- **REST API** - Integrate AIPTX into your security pipeline
|
|
161
|
+
- **Rich TUI** - Beautiful terminal interface with real-time progress
|
|
162
|
+
|
|
163
|
+
## Installation
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
# Recommended: Zero-click install with pipx
|
|
167
|
+
pipx install aiptx
|
|
168
|
+
|
|
169
|
+
# Or with pip
|
|
170
|
+
pip install aiptx
|
|
171
|
+
|
|
172
|
+
# Full installation (ML, browser automation, proxy)
|
|
173
|
+
pip install aiptx[full]
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Requirements:** Python 3.10+ | External tools auto-detected (nmap, nuclei, etc.)
|
|
177
|
+
|
|
178
|
+
## Quick Start
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
# Basic vulnerability scan
|
|
182
|
+
aiptx scan example.com
|
|
183
|
+
|
|
184
|
+
# AI-guided intelligent scanning (requires API key)
|
|
185
|
+
aiptx scan example.com --ai
|
|
186
|
+
|
|
187
|
+
# Full comprehensive scan (all tools + exploitation)
|
|
188
|
+
aiptx scan example.com --full
|
|
189
|
+
|
|
190
|
+
# Container security scanning
|
|
191
|
+
aiptx scan example.com --container
|
|
192
|
+
|
|
193
|
+
# Secret/credential detection
|
|
194
|
+
aiptx scan example.com --secrets
|
|
195
|
+
|
|
196
|
+
# With enterprise scanners
|
|
197
|
+
aiptx scan example.com --acunetix --burp --nessus --zap
|
|
198
|
+
|
|
199
|
+
# Check configuration and installed tools
|
|
200
|
+
aiptx status
|
|
201
|
+
|
|
202
|
+
# Start REST API server
|
|
203
|
+
aiptx api
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Tool Coverage
|
|
207
|
+
|
|
208
|
+
### Phase 1: Reconnaissance (10 Tools)
|
|
209
|
+
|
|
210
|
+
| Tool | Purpose | Category |
|
|
211
|
+
|------|---------|----------|
|
|
212
|
+
| **subfinder** | Fast passive subdomain enumeration | Subdomain Discovery |
|
|
213
|
+
| **assetfinder** | Find related domains and assets | Subdomain Discovery |
|
|
214
|
+
| **amass** | In-depth DNS enumeration | Subdomain Discovery |
|
|
215
|
+
| **httpx** | HTTP probing and fingerprinting | HTTP Analysis |
|
|
216
|
+
| **nmap** | Port scanning and service detection | Network Scanning |
|
|
217
|
+
| **waybackurls** | Historical URL discovery via Wayback Machine | OSINT |
|
|
218
|
+
| **theHarvester** | Email and subdomain OSINT gathering | OSINT |
|
|
219
|
+
| **dnsrecon** | DNS enumeration and zone transfers | DNS Analysis |
|
|
220
|
+
| **wafw00f** | Web Application Firewall detection | WAF Detection |
|
|
221
|
+
| **whatweb** | Technology stack fingerprinting | Tech Detection |
|
|
222
|
+
|
|
223
|
+
### Phase 2: Vulnerability Scanning (15+ Tools)
|
|
224
|
+
|
|
225
|
+
| Tool | Purpose | Category |
|
|
226
|
+
|------|---------|----------|
|
|
227
|
+
| **nuclei** | Template-based vulnerability scanning | Vuln Scanner |
|
|
228
|
+
| **nikto** | Web server vulnerability scanner | Web Scanner |
|
|
229
|
+
| **wpscan** | WordPress security scanner | CMS Scanner |
|
|
230
|
+
| **ffuf** | Fast web fuzzer for directories/files | Fuzzing |
|
|
231
|
+
| **gobuster** | Directory and vhost brute-forcing | Fuzzing |
|
|
232
|
+
| **dirsearch** | Web path discovery | Fuzzing |
|
|
233
|
+
| **sslscan** | SSL/TLS configuration analysis | SSL Testing |
|
|
234
|
+
| **testssl** | Comprehensive TLS/SSL testing | SSL Testing |
|
|
235
|
+
| **gitleaks** | Secret detection in git repositories | Secret Scanning |
|
|
236
|
+
| **trufflehog** | Deep credential scanning | Secret Scanning |
|
|
237
|
+
| **trivy** | Container vulnerability scanning | Container Security |
|
|
238
|
+
| **Acunetix** | Enterprise DAST scanner | Enterprise |
|
|
239
|
+
| **Burp Suite** | Professional web security scanner | Enterprise |
|
|
240
|
+
| **Nessus** | Network vulnerability assessment | Enterprise |
|
|
241
|
+
| **OWASP ZAP** | Open-source DAST | Enterprise |
|
|
242
|
+
|
|
243
|
+
### Phase 3: Exploitation (5 Tools - Opt-in Full Mode)
|
|
244
|
+
|
|
245
|
+
| Tool | Purpose | Attack Type |
|
|
246
|
+
|------|---------|-------------|
|
|
247
|
+
| **sqlmap** | Automated SQL injection exploitation | SQLi |
|
|
248
|
+
| **commix** | Command injection testing | Command Injection |
|
|
249
|
+
| **xsstrike** | Advanced XSS detection and exploitation | XSS |
|
|
250
|
+
| **hydra** | Network login brute-forcing | Credential Attack |
|
|
251
|
+
| **searchsploit** | Exploit database search | Exploit Research |
|
|
252
|
+
|
|
253
|
+
### Phase 4: Post-Exploitation (4 Tools)
|
|
254
|
+
|
|
255
|
+
| Tool | Purpose | Platform |
|
|
256
|
+
|------|---------|----------|
|
|
257
|
+
| **linpeas** | Linux privilege escalation enumeration | Linux |
|
|
258
|
+
| **winpeas** | Windows privilege escalation enumeration | Windows |
|
|
259
|
+
| **pspy** | Process monitoring without root | Linux |
|
|
260
|
+
| **lazagne** | Credential extraction from memory | Cross-platform |
|
|
261
|
+
|
|
262
|
+
## Enterprise Scanner Integration
|
|
263
|
+
|
|
264
|
+
AIPTX provides **native API integration** with enterprise security scanners:
|
|
265
|
+
|
|
266
|
+
```bash
|
|
267
|
+
# Configure enterprise scanners
|
|
268
|
+
export ACUNETIX_URL="https://your-acunetix:3443"
|
|
269
|
+
export ACUNETIX_API_KEY="your-api-key"
|
|
270
|
+
|
|
271
|
+
export BURP_URL="http://your-burp:1337"
|
|
272
|
+
export BURP_API_KEY="your-api-key"
|
|
273
|
+
|
|
274
|
+
export NESSUS_URL="https://your-nessus:8834"
|
|
275
|
+
export NESSUS_ACCESS_KEY="your-access-key"
|
|
276
|
+
export NESSUS_SECRET_KEY="your-secret-key"
|
|
277
|
+
|
|
278
|
+
export ZAP_URL="http://localhost:8080"
|
|
279
|
+
export ZAP_API_KEY="your-api-key"
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
## AI/LLM Configuration
|
|
283
|
+
|
|
284
|
+
AIPTX supports **100+ LLM providers** via LiteLLM:
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
# Anthropic Claude (recommended)
|
|
288
|
+
export ANTHROPIC_API_KEY="your-key"
|
|
289
|
+
|
|
290
|
+
# OpenAI GPT-4
|
|
291
|
+
export OPENAI_API_KEY="your-key"
|
|
292
|
+
|
|
293
|
+
# Azure OpenAI
|
|
294
|
+
export AZURE_API_KEY="your-key"
|
|
295
|
+
export AZURE_API_BASE="your-endpoint"
|
|
296
|
+
|
|
297
|
+
# Local models (Ollama, LM Studio)
|
|
298
|
+
export OLLAMA_API_BASE="http://localhost:11434"
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
## Architecture
|
|
302
|
+
|
|
303
|
+
```
|
|
304
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
305
|
+
│ AIPTX v2.0 │
|
|
306
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
307
|
+
│ AI INTELLIGENCE LAYER │
|
|
308
|
+
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
|
|
309
|
+
│ │ LLM Engine │ │ CVE Scoring │ │Attack Chain │ │
|
|
310
|
+
│ │ (LiteLLM) │ │ Engine │ │ Detection │ │
|
|
311
|
+
│ └─────────────┘ └─────────────┘ └─────────────┘ │
|
|
312
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
313
|
+
│ SCANNING PIPELINE │
|
|
314
|
+
│ RECON ──────► SCAN ──────► EXPLOIT ──────► POST-EXPLOIT │
|
|
315
|
+
│ 10 tools 15 tools 5 tools 4 tools │
|
|
316
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
317
|
+
│ ENTERPRISE INTEGRATIONS │
|
|
318
|
+
│ Acunetix │ Burp Suite │ Nessus │ OWASP ZAP │
|
|
319
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
320
|
+
│ OUTPUT │
|
|
321
|
+
│ HTML Reports │ JSON Export │ REST API │ TUI │
|
|
322
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
## Command Reference
|
|
326
|
+
|
|
327
|
+
| Command | Description |
|
|
328
|
+
|---------|-------------|
|
|
329
|
+
| `aiptx scan <target>` | Run security scan against target |
|
|
330
|
+
| `aiptx scan <target> --ai` | Enable AI-guided intelligent scanning |
|
|
331
|
+
| `aiptx scan <target> --full` | Comprehensive scan with all tools |
|
|
332
|
+
| `aiptx scan <target> --quick` | Fast scan with essential tools only |
|
|
333
|
+
| `aiptx scan <target> --exploit` | Enable exploitation tools |
|
|
334
|
+
| `aiptx scan <target> --container` | Enable container/Docker scanning |
|
|
335
|
+
| `aiptx scan <target> --secrets` | Enable secret/credential detection |
|
|
336
|
+
| `aiptx scan <target> --acunetix` | Include Acunetix enterprise scan |
|
|
337
|
+
| `aiptx scan <target> --burp` | Include Burp Suite scan |
|
|
338
|
+
| `aiptx scan <target> --nessus` | Include Nessus vulnerability scan |
|
|
339
|
+
| `aiptx scan <target> --zap` | Include OWASP ZAP scan |
|
|
340
|
+
| `aiptx status` | Check configuration and tool availability |
|
|
341
|
+
| `aiptx version` | Show version information |
|
|
342
|
+
| `aiptx api` | Start REST API server |
|
|
343
|
+
|
|
344
|
+
## Use Cases
|
|
345
|
+
|
|
346
|
+
### Bug Bounty Hunting
|
|
347
|
+
```bash
|
|
348
|
+
# Comprehensive recon + scanning for bug bounty
|
|
349
|
+
aiptx scan target.com --ai --full
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
### Penetration Testing
|
|
353
|
+
```bash
|
|
354
|
+
# Professional pentest with enterprise tools
|
|
355
|
+
aiptx scan client-app.com --acunetix --nessus --full
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
### DevSecOps Pipeline
|
|
359
|
+
```bash
|
|
360
|
+
# Automated security scanning in CI/CD
|
|
361
|
+
aiptx scan staging.app.com --container --secrets --json > results.json
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
### Red Team Operations
|
|
365
|
+
```bash
|
|
366
|
+
# Full attack chain with exploitation
|
|
367
|
+
aiptx scan target.corp --ai --exploit --full
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
## Comparison with Alternatives
|
|
371
|
+
|
|
372
|
+
| Feature | AIPTX | Nuclei | Nmap | Manual Testing |
|
|
373
|
+
|---------|-------|--------|------|----------------|
|
|
374
|
+
| AI Intelligence | ✅ | ❌ | ❌ | ❌ |
|
|
375
|
+
| Unified Interface | ✅ | ❌ | ❌ | ❌ |
|
|
376
|
+
| 36+ Tools | ✅ | ❌ | ❌ | ✅ (manual) |
|
|
377
|
+
| Enterprise Scanners | ✅ | ❌ | ❌ | ✅ (separate) |
|
|
378
|
+
| Auto Reports | ✅ | ✅ | ❌ | ❌ |
|
|
379
|
+
| Attack Chaining | ✅ | ❌ | ❌ | ✅ (manual) |
|
|
380
|
+
| REST API | ✅ | ❌ | ❌ | ❌ |
|
|
381
|
+
| Zero Config | ✅ | ✅ | ✅ | ❌ |
|
|
382
|
+
|
|
383
|
+
## Requirements
|
|
384
|
+
|
|
385
|
+
- **Python**: 3.10 or higher
|
|
386
|
+
- **OS**: Linux, macOS, Windows (WSL recommended)
|
|
387
|
+
- **Optional**: Docker, SSH access for remote execution
|
|
388
|
+
- **External Tools**: Auto-detected (nmap, nuclei, sqlmap, etc.)
|
|
389
|
+
|
|
390
|
+
## License
|
|
391
|
+
|
|
392
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
393
|
+
|
|
394
|
+
## Author
|
|
395
|
+
|
|
396
|
+
**Satyam Rastogi** - Security Researcher & Developer
|
|
397
|
+
|
|
398
|
+
- GitHub: [@satyamrastogi](https://github.com/satyamrastogi)
|
|
399
|
+
- Website: [aiptx.io](https://aiptx.io)
|
|
400
|
+
|
|
401
|
+
## Links
|
|
402
|
+
|
|
403
|
+
- [Documentation](https://aiptx.io/docs)
|
|
404
|
+
- [PyPI Package](https://pypi.org/project/aiptx/)
|
|
405
|
+
- [GitHub Repository](https://github.com/satyamrastogi/aiptx)
|
|
406
|
+
- [Issue Tracker](https://github.com/satyamrastogi/aiptx/issues)
|
|
407
|
+
- [Changelog](https://github.com/satyamrastogi/aiptx/blob/main/CHANGELOG.md)
|
|
408
|
+
|
|
409
|
+
## Keywords
|
|
410
|
+
|
|
411
|
+
`penetration-testing` `pentest` `vulnerability-scanner` `security-tools` `bug-bounty` `ethical-hacking` `red-team` `offensive-security` `web-security` `OWASP` `CVE` `exploit` `reconnaissance` `nmap` `nuclei` `sqlmap` `burp-suite` `acunetix` `nessus` `zap` `AI` `LLM` `automation` `VAPT` `DAST` `appsec` `infosec` `cybersecurity`
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
<p align="center">
|
|
416
|
+
<b>Star this repo if AIPTX helps your security testing!</b><br>
|
|
417
|
+
<a href="https://github.com/satyamrastogi/aiptx">⭐ GitHub</a> •
|
|
418
|
+
<a href="https://pypi.org/project/aiptx/">📦 PyPI</a> •
|
|
419
|
+
<a href="https://aiptx.io/docs">📚 Docs</a>
|
|
420
|
+
</p>
|