bingo-ai 1.0.0__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.
- bingo_ai-1.0.0/.gitignore +37 -0
- bingo_ai-1.0.0/PKG-INFO +291 -0
- bingo_ai-1.0.0/README.md +263 -0
- bingo_ai-1.0.0/assets/logo.png +0 -0
- bingo_ai-1.0.0/bingo/__init__.py +2 -0
- bingo_ai-1.0.0/bingo/cli.py +317 -0
- bingo_ai-1.0.0/bingo/config.py +90 -0
- bingo_ai-1.0.0/bingo/core/__init__.py +1 -0
- bingo_ai-1.0.0/bingo/core/authorization.py +259 -0
- bingo_ai-1.0.0/bingo/lang/__init__.py +3 -0
- bingo_ai-1.0.0/bingo/lang/strings.py +142 -0
- bingo_ai-1.0.0/bingo/models/__init__.py +4 -0
- bingo_ai-1.0.0/bingo/models/base.py +179 -0
- bingo_ai-1.0.0/bingo/models/deepseek_prompt.py +300 -0
- bingo_ai-1.0.0/bingo/models/registry.py +80 -0
- bingo_ai-1.0.0/bingo/models/system_prompt.py +452 -0
- bingo_ai-1.0.0/bingo/redteam/__init__.py +5 -0
- bingo_ai-1.0.0/bingo/redteam/agent.py +125 -0
- bingo_ai-1.0.0/bingo/redteam/agents.py +265 -0
- bingo_ai-1.0.0/bingo/redteam/phases/01_recon.py +111 -0
- bingo_ai-1.0.0/bingo/redteam/phases/02_scan.py +109 -0
- bingo_ai-1.0.0/bingo/redteam/phases/03_exploit.py +540 -0
- bingo_ai-1.0.0/bingo/redteam/phases/09_report.py +198 -0
- bingo_ai-1.0.0/bingo/redteam/phases/__init__.py +1 -0
- bingo_ai-1.0.0/bingo/redteam/pipeline.py +148 -0
- bingo_ai-1.0.0/bingo/redteam/session.py +106 -0
- bingo_ai-1.0.0/bingo/redteam/verification.py +413 -0
- bingo_ai-1.0.0/bingo/skills/__init__.py +3 -0
- bingo_ai-1.0.0/bingo/skills/engine.py +381 -0
- bingo_ai-1.0.0/bingo/skills/skills_data.py +1378 -0
- bingo_ai-1.0.0/bingo/skills/skills_data2.py +1797 -0
- bingo_ai-1.0.0/bingo/skills/skills_data3.py +1485 -0
- bingo_ai-1.0.0/bingo/tools/__init__.py +11 -0
- bingo_ai-1.0.0/bingo/tools/executor.py +145 -0
- bingo_ai-1.0.0/bingo/tools/hash_crack.py +302 -0
- bingo_ai-1.0.0/bingo/tools/hash_lookup.py +234 -0
- bingo_ai-1.0.0/bingo/tools/http_probe.py +217 -0
- bingo_ai-1.0.0/bingo/tools/registry.py +130 -0
- bingo_ai-1.0.0/bingo/tools/sqli.py +273 -0
- bingo_ai-1.0.0/bingo/tools/waf_bypass.py +524 -0
- bingo_ai-1.0.0/bingo/ui/__init__.py +3 -0
- bingo_ai-1.0.0/bingo/ui/terminal.py +934 -0
- bingo_ai-1.0.0/bingo-github-profile.png +0 -0
- bingo_ai-1.0.0/install.ps1 +104 -0
- bingo_ai-1.0.0/install.sh +164 -0
- bingo_ai-1.0.0/push.sh +14 -0
- bingo_ai-1.0.0/pyproject.toml +41 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.pyo
|
|
5
|
+
*.pyd
|
|
6
|
+
.Python
|
|
7
|
+
*.egg
|
|
8
|
+
*.egg-info/
|
|
9
|
+
dist/
|
|
10
|
+
build/
|
|
11
|
+
.eggs/
|
|
12
|
+
.venv/
|
|
13
|
+
venv/
|
|
14
|
+
env/
|
|
15
|
+
pip-wheel-metadata/
|
|
16
|
+
*.whl
|
|
17
|
+
|
|
18
|
+
# IDE
|
|
19
|
+
.vscode/
|
|
20
|
+
.idea/
|
|
21
|
+
*.swp
|
|
22
|
+
*.swo
|
|
23
|
+
.DS_Store
|
|
24
|
+
Thumbs.db
|
|
25
|
+
|
|
26
|
+
# 테스트
|
|
27
|
+
.pytest_cache/
|
|
28
|
+
.coverage
|
|
29
|
+
htmlcov/
|
|
30
|
+
.ruff_cache/
|
|
31
|
+
|
|
32
|
+
# Bingo 설정 (개인정보 포함)
|
|
33
|
+
# ~/.config/bingo/config.json 은 홈 디렉토리에 있으므로 자동 제외
|
|
34
|
+
*.local.json
|
|
35
|
+
|
|
36
|
+
# 내보낸 대화
|
|
37
|
+
bingo_chat_*.md
|
bingo_ai-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bingo-ai
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Hacker-style AI red team terminal — WAF bypass, hash crack, multi-model
|
|
5
|
+
Author-email: bingook <bingook@users.noreply.github.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: ai,cli,hacker,llm,pentest,red-team,security,terminal,waf
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Intended Audience :: Information Technology
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Topic :: Security
|
|
18
|
+
Classifier: Topic :: Terminals
|
|
19
|
+
Requires-Python: >=3.10
|
|
20
|
+
Requires-Dist: httpx>=0.27
|
|
21
|
+
Requires-Dist: prompt-toolkit>=3.0
|
|
22
|
+
Requires-Dist: pydantic>=2.0
|
|
23
|
+
Requires-Dist: rich>=13.0
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
26
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
<div align="center">
|
|
30
|
+
|
|
31
|
+
<img src="assets/logo.png" width="180" alt="bingo logo"/>
|
|
32
|
+
|
|
33
|
+
**Hacker-style AI Red Team Terminal — Multi-Model · Multi-Language · Full Automation**
|
|
34
|
+
|
|
35
|
+
[](https://python.org)
|
|
36
|
+
[](LICENSE)
|
|
37
|
+
[](https://github.com/bingook/bingo)
|
|
38
|
+
|
|
39
|
+
*DeepSeek · Claude · GPT · GLM · Qwen · Ollama · Custom*
|
|
40
|
+
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
### macOS / Linux
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
curl -fsSL https://raw.githubusercontent.com/bingook/bingo/main/install.sh | bash
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Or clone and install:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
git clone https://github.com/bingook/bingo.git
|
|
57
|
+
cd bingo
|
|
58
|
+
bash install.sh
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Windows (PowerShell)
|
|
62
|
+
|
|
63
|
+
```powershell
|
|
64
|
+
irm https://raw.githubusercontent.com/bingook/bingo/main/install.ps1 | iex
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Or clone and install:
|
|
68
|
+
|
|
69
|
+
```powershell
|
|
70
|
+
git clone https://github.com/bingook/bingo.git
|
|
71
|
+
cd bingo
|
|
72
|
+
.\install.ps1
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### pip
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
pip install bingo-ai
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
> **Requirements:** Python 3.10+
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Usage
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
bingo # Start interactive chat
|
|
89
|
+
bingo scan <url> # Full automated red team scan
|
|
90
|
+
bingo --reset # Reset settings
|
|
91
|
+
bingo --version # Show version
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
On first run: **select language → enter AI model API key → start chatting**.
|
|
95
|
+
Settings are saved automatically.
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Core Features
|
|
100
|
+
|
|
101
|
+
### Automated WAF Bypass
|
|
102
|
+
When a URL is mentioned in chat, bingo automatically:
|
|
103
|
+
1. Detects WAF type (Cloudflare, AWS, ModSecurity, etc.)
|
|
104
|
+
2. Selects optimal bypass strategy
|
|
105
|
+
3. Runs `WafBypassEngine` with real HTTP probes
|
|
106
|
+
4. Injects real scan results into AI context — not just suggestions
|
|
107
|
+
|
|
108
|
+
| WAF | Auto Bypass Strategy |
|
|
109
|
+
|-----|---------------------|
|
|
110
|
+
| Cloudflare | newline encoding → MySQL comment → UA rotation |
|
|
111
|
+
| AWS WAF | tab encoding → keyword bypass → header injection |
|
|
112
|
+
| ModSecurity | space bypass → double encoding → keyword obfuscation |
|
|
113
|
+
|
|
114
|
+
### Hash Cracking — Fully Automated
|
|
115
|
+
When password hashes appear in AI responses, bingo automatically:
|
|
116
|
+
|
|
117
|
+
**Step 1 — Online Lookup** (fast, no GPU needed):
|
|
118
|
+
| Site | Notes |
|
|
119
|
+
|------|-------|
|
|
120
|
+
| CrackStation | Largest free DB |
|
|
121
|
+
| hashes.com | Multi-algorithm |
|
|
122
|
+
| md5decrypt.net | MD5 specialist |
|
|
123
|
+
| nivaura.com | SHA-1 / MD5 |
|
|
124
|
+
| cmd5.org | Asia-friendly |
|
|
125
|
+
|
|
126
|
+
**Step 2 — Offline Crack** (if online fails):
|
|
127
|
+
- `john` (John the Ripper)
|
|
128
|
+
- `hashcat` (GPU-accelerated, bcrypt)
|
|
129
|
+
- Python wordlist engine (rockyou.txt auto-detected)
|
|
130
|
+
|
|
131
|
+
Supported hash types: `bcrypt`, `MD5`, `SHA-1`, `SHA-256`, `SHA-512`, `NTLM`, `MySQL41`
|
|
132
|
+
|
|
133
|
+
Stop anytime: type `/stop` in chat.
|
|
134
|
+
|
|
135
|
+
### Session Auto-Save
|
|
136
|
+
Every chat session is automatically saved to:
|
|
137
|
+
```
|
|
138
|
+
~/.config/bingo/sessions/session_YYYYMMDD_HHMMSS.md
|
|
139
|
+
```
|
|
140
|
+
Full AI responses, commands, and crack results are logged in real time.
|
|
141
|
+
|
|
142
|
+
### Skill Engine
|
|
143
|
+
220+ red team skills auto-injected into AI context based on your input.
|
|
144
|
+
|
|
145
|
+
### AI Refusal Bypass
|
|
146
|
+
All models (DeepSeek, Claude, GPT, GLM) are guided by a proprietary universal system prompt that enforces:
|
|
147
|
+
- Structured task execution with XML semantic delimiters
|
|
148
|
+
- OODA-loop based decision making (Observe → Orient → Decide → Act)
|
|
149
|
+
- Anti-laziness enforcement — explicit evidence required for every step
|
|
150
|
+
- 5-phase red team pipeline with intel accumulation and coverage tracking
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Commands
|
|
155
|
+
|
|
156
|
+
Type `/` in chat to see an interactive command menu (arrow keys to navigate).
|
|
157
|
+
|
|
158
|
+
| Command | Description |
|
|
159
|
+
|---------|-------------|
|
|
160
|
+
| `/scan <url>` | Quick recon: WAF + fingerprint + sensitive files |
|
|
161
|
+
| `/waf <url>` | WAF detection + auto bypass attempt |
|
|
162
|
+
| `/crack [hash]` | Hash crack — online lookup → offline crack pipeline |
|
|
163
|
+
| `/stop` | Stop running crack / scan |
|
|
164
|
+
| `/model` | Add or switch AI model |
|
|
165
|
+
| `/skill <keyword>` | Search skill knowledge base |
|
|
166
|
+
| `/history` | View conversation history |
|
|
167
|
+
| `/export` | Save conversation as `.md` file |
|
|
168
|
+
| `/config` | View current settings |
|
|
169
|
+
| `/lang` | Change language (ko / zh / en) |
|
|
170
|
+
| `/clear` | Clear screen |
|
|
171
|
+
| `/tools` | Show installed tools (sqlmap, john, hashcat, etc.) |
|
|
172
|
+
| `/quit` | Exit |
|
|
173
|
+
|
|
174
|
+
### `/crack` Usage
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
/crack # Auto-extract hashes from last AI response
|
|
178
|
+
/crack $2y$10$Eix... # Crack a specific hash
|
|
179
|
+
/crack -w ~/Downloads/rockyou.txt # Use custom wordlist
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### `bingo scan` Full Pipeline
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
bingo scan https://target.com
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Runs the full 5-phase red team pipeline:
|
|
189
|
+
1. **Recon** — tech fingerprint, WAF detection, endpoint mapping
|
|
190
|
+
2. **Collect** — sensitive files, admin panels, parameter discovery
|
|
191
|
+
3. **Test** — SQLi, LFI, XSS, SSRF probing
|
|
192
|
+
4. **Exploit** — WAF bypass + SQLi extraction + credential dump
|
|
193
|
+
5. **Report** — auto-generated markdown report in `targets/`
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## Supported Models
|
|
198
|
+
|
|
199
|
+
| Provider | Default Model | API |
|
|
200
|
+
|----------|--------------|-----|
|
|
201
|
+
| **DeepSeek** | `deepseek-chat` | [platform.deepseek.com](https://platform.deepseek.com) |
|
|
202
|
+
| **Anthropic Claude** | `claude-opus-4-5` | [console.anthropic.com](https://console.anthropic.com) |
|
|
203
|
+
| **OpenAI GPT** | `gpt-4o` | [platform.openai.com](https://platform.openai.com) |
|
|
204
|
+
| **Zhipu GLM** | `glm-4` | [open.bigmodel.cn](https://open.bigmodel.cn) |
|
|
205
|
+
| **Alibaba Qwen** | `qwen-turbo` | [dashscope.aliyuncs.com](https://dashscope.aliyuncs.com) |
|
|
206
|
+
| **Ollama** (local) | `llama3` | [ollama.com](https://ollama.com) |
|
|
207
|
+
| **Custom** | — | Enter Base URL manually |
|
|
208
|
+
|
|
209
|
+
Switch models anytime with `/model`.
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Languages
|
|
214
|
+
|
|
215
|
+
| Language | Code |
|
|
216
|
+
|----------|------|
|
|
217
|
+
| 한국어 | `ko` |
|
|
218
|
+
| 中文 | `zh` |
|
|
219
|
+
| English | `en` |
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## Data Storage
|
|
224
|
+
|
|
225
|
+
| Data | Location | When |
|
|
226
|
+
|------|----------|------|
|
|
227
|
+
| Chat sessions | `~/.config/bingo/sessions/session_*.md` | Auto (real-time) |
|
|
228
|
+
| Scan reports | `targets/report_<domain>.md` | Auto on `bingo scan` |
|
|
229
|
+
| Command history | `~/.config/bingo/history` | Auto |
|
|
230
|
+
| Manual export | `./bingo_chat_<timestamp>.md` | `/export` command |
|
|
231
|
+
| Config | `~/.config/bingo/config.json` | Auto |
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Config File
|
|
236
|
+
|
|
237
|
+
| OS | Path |
|
|
238
|
+
|----|------|
|
|
239
|
+
| macOS | `~/Library/Application Support/bingo/config.json` |
|
|
240
|
+
| Linux | `~/.config/bingo/config.json` |
|
|
241
|
+
| Windows | `%APPDATA%\bingo\config.json` |
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Project Structure
|
|
246
|
+
|
|
247
|
+
```
|
|
248
|
+
bingo/
|
|
249
|
+
├── bingo/
|
|
250
|
+
│ ├── cli.py # Entry point + onboarding
|
|
251
|
+
│ ├── config.py # Settings (cross-platform)
|
|
252
|
+
│ ├── models/
|
|
253
|
+
│ │ ├── base.py # Streaming HTTP (OpenAI-compatible + Claude)
|
|
254
|
+
│ │ ├── registry.py # Provider registry
|
|
255
|
+
│ │ └── system_prompt.py # Universal pentest prompt (all models)
|
|
256
|
+
│ ├── tools/
|
|
257
|
+
│ │ ├── http_probe.py # HTTP fingerprinting
|
|
258
|
+
│ │ ├── sqli.py # SQLi detection & exploitation
|
|
259
|
+
│ │ ├── waf_bypass.py # WAF detection + auto bypass engine
|
|
260
|
+
│ │ ├── hash_crack.py # Offline hash cracker (bcrypt/MD5/SHA/NTLM)
|
|
261
|
+
│ │ └── hash_lookup.py # Online hash lookup (CrackStation, hashes.com, etc.)
|
|
262
|
+
│ ├── redteam/
|
|
263
|
+
│ │ └── phases/ # 5-phase pipeline (recon → report)
|
|
264
|
+
│ ├── skills/
|
|
265
|
+
│ │ └── engine.py # 220+ skill knowledge base
|
|
266
|
+
│ ├── ui/
|
|
267
|
+
│ │ └── terminal.py # Interactive terminal (slash autocomplete, auto-crack)
|
|
268
|
+
│ └── lang/
|
|
269
|
+
│ └── strings.py # Multi-language strings
|
|
270
|
+
├── install.sh # macOS/Linux installer
|
|
271
|
+
├── install.ps1 # Windows installer
|
|
272
|
+
└── pyproject.toml
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## Contributing
|
|
278
|
+
|
|
279
|
+
```bash
|
|
280
|
+
git clone https://github.com/bingook/bingo.git
|
|
281
|
+
cd bingo
|
|
282
|
+
pip install -e ".[dev]"
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
Pull requests are welcome.
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## License
|
|
290
|
+
|
|
291
|
+
MIT © 2026 bingook
|
bingo_ai-1.0.0/README.md
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<img src="assets/logo.png" width="180" alt="bingo logo"/>
|
|
4
|
+
|
|
5
|
+
**Hacker-style AI Red Team Terminal — Multi-Model · Multi-Language · Full Automation**
|
|
6
|
+
|
|
7
|
+
[](https://python.org)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
[](https://github.com/bingook/bingo)
|
|
10
|
+
|
|
11
|
+
*DeepSeek · Claude · GPT · GLM · Qwen · Ollama · Custom*
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
### macOS / Linux
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
curl -fsSL https://raw.githubusercontent.com/bingook/bingo/main/install.sh | bash
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or clone and install:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git clone https://github.com/bingook/bingo.git
|
|
29
|
+
cd bingo
|
|
30
|
+
bash install.sh
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Windows (PowerShell)
|
|
34
|
+
|
|
35
|
+
```powershell
|
|
36
|
+
irm https://raw.githubusercontent.com/bingook/bingo/main/install.ps1 | iex
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Or clone and install:
|
|
40
|
+
|
|
41
|
+
```powershell
|
|
42
|
+
git clone https://github.com/bingook/bingo.git
|
|
43
|
+
cd bingo
|
|
44
|
+
.\install.ps1
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### pip
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
pip install bingo-ai
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
> **Requirements:** Python 3.10+
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Usage
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
bingo # Start interactive chat
|
|
61
|
+
bingo scan <url> # Full automated red team scan
|
|
62
|
+
bingo --reset # Reset settings
|
|
63
|
+
bingo --version # Show version
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
On first run: **select language → enter AI model API key → start chatting**.
|
|
67
|
+
Settings are saved automatically.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Core Features
|
|
72
|
+
|
|
73
|
+
### Automated WAF Bypass
|
|
74
|
+
When a URL is mentioned in chat, bingo automatically:
|
|
75
|
+
1. Detects WAF type (Cloudflare, AWS, ModSecurity, etc.)
|
|
76
|
+
2. Selects optimal bypass strategy
|
|
77
|
+
3. Runs `WafBypassEngine` with real HTTP probes
|
|
78
|
+
4. Injects real scan results into AI context — not just suggestions
|
|
79
|
+
|
|
80
|
+
| WAF | Auto Bypass Strategy |
|
|
81
|
+
|-----|---------------------|
|
|
82
|
+
| Cloudflare | newline encoding → MySQL comment → UA rotation |
|
|
83
|
+
| AWS WAF | tab encoding → keyword bypass → header injection |
|
|
84
|
+
| ModSecurity | space bypass → double encoding → keyword obfuscation |
|
|
85
|
+
|
|
86
|
+
### Hash Cracking — Fully Automated
|
|
87
|
+
When password hashes appear in AI responses, bingo automatically:
|
|
88
|
+
|
|
89
|
+
**Step 1 — Online Lookup** (fast, no GPU needed):
|
|
90
|
+
| Site | Notes |
|
|
91
|
+
|------|-------|
|
|
92
|
+
| CrackStation | Largest free DB |
|
|
93
|
+
| hashes.com | Multi-algorithm |
|
|
94
|
+
| md5decrypt.net | MD5 specialist |
|
|
95
|
+
| nivaura.com | SHA-1 / MD5 |
|
|
96
|
+
| cmd5.org | Asia-friendly |
|
|
97
|
+
|
|
98
|
+
**Step 2 — Offline Crack** (if online fails):
|
|
99
|
+
- `john` (John the Ripper)
|
|
100
|
+
- `hashcat` (GPU-accelerated, bcrypt)
|
|
101
|
+
- Python wordlist engine (rockyou.txt auto-detected)
|
|
102
|
+
|
|
103
|
+
Supported hash types: `bcrypt`, `MD5`, `SHA-1`, `SHA-256`, `SHA-512`, `NTLM`, `MySQL41`
|
|
104
|
+
|
|
105
|
+
Stop anytime: type `/stop` in chat.
|
|
106
|
+
|
|
107
|
+
### Session Auto-Save
|
|
108
|
+
Every chat session is automatically saved to:
|
|
109
|
+
```
|
|
110
|
+
~/.config/bingo/sessions/session_YYYYMMDD_HHMMSS.md
|
|
111
|
+
```
|
|
112
|
+
Full AI responses, commands, and crack results are logged in real time.
|
|
113
|
+
|
|
114
|
+
### Skill Engine
|
|
115
|
+
220+ red team skills auto-injected into AI context based on your input.
|
|
116
|
+
|
|
117
|
+
### AI Refusal Bypass
|
|
118
|
+
All models (DeepSeek, Claude, GPT, GLM) are guided by a proprietary universal system prompt that enforces:
|
|
119
|
+
- Structured task execution with XML semantic delimiters
|
|
120
|
+
- OODA-loop based decision making (Observe → Orient → Decide → Act)
|
|
121
|
+
- Anti-laziness enforcement — explicit evidence required for every step
|
|
122
|
+
- 5-phase red team pipeline with intel accumulation and coverage tracking
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Commands
|
|
127
|
+
|
|
128
|
+
Type `/` in chat to see an interactive command menu (arrow keys to navigate).
|
|
129
|
+
|
|
130
|
+
| Command | Description |
|
|
131
|
+
|---------|-------------|
|
|
132
|
+
| `/scan <url>` | Quick recon: WAF + fingerprint + sensitive files |
|
|
133
|
+
| `/waf <url>` | WAF detection + auto bypass attempt |
|
|
134
|
+
| `/crack [hash]` | Hash crack — online lookup → offline crack pipeline |
|
|
135
|
+
| `/stop` | Stop running crack / scan |
|
|
136
|
+
| `/model` | Add or switch AI model |
|
|
137
|
+
| `/skill <keyword>` | Search skill knowledge base |
|
|
138
|
+
| `/history` | View conversation history |
|
|
139
|
+
| `/export` | Save conversation as `.md` file |
|
|
140
|
+
| `/config` | View current settings |
|
|
141
|
+
| `/lang` | Change language (ko / zh / en) |
|
|
142
|
+
| `/clear` | Clear screen |
|
|
143
|
+
| `/tools` | Show installed tools (sqlmap, john, hashcat, etc.) |
|
|
144
|
+
| `/quit` | Exit |
|
|
145
|
+
|
|
146
|
+
### `/crack` Usage
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
/crack # Auto-extract hashes from last AI response
|
|
150
|
+
/crack $2y$10$Eix... # Crack a specific hash
|
|
151
|
+
/crack -w ~/Downloads/rockyou.txt # Use custom wordlist
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### `bingo scan` Full Pipeline
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
bingo scan https://target.com
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Runs the full 5-phase red team pipeline:
|
|
161
|
+
1. **Recon** — tech fingerprint, WAF detection, endpoint mapping
|
|
162
|
+
2. **Collect** — sensitive files, admin panels, parameter discovery
|
|
163
|
+
3. **Test** — SQLi, LFI, XSS, SSRF probing
|
|
164
|
+
4. **Exploit** — WAF bypass + SQLi extraction + credential dump
|
|
165
|
+
5. **Report** — auto-generated markdown report in `targets/`
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Supported Models
|
|
170
|
+
|
|
171
|
+
| Provider | Default Model | API |
|
|
172
|
+
|----------|--------------|-----|
|
|
173
|
+
| **DeepSeek** | `deepseek-chat` | [platform.deepseek.com](https://platform.deepseek.com) |
|
|
174
|
+
| **Anthropic Claude** | `claude-opus-4-5` | [console.anthropic.com](https://console.anthropic.com) |
|
|
175
|
+
| **OpenAI GPT** | `gpt-4o` | [platform.openai.com](https://platform.openai.com) |
|
|
176
|
+
| **Zhipu GLM** | `glm-4` | [open.bigmodel.cn](https://open.bigmodel.cn) |
|
|
177
|
+
| **Alibaba Qwen** | `qwen-turbo` | [dashscope.aliyuncs.com](https://dashscope.aliyuncs.com) |
|
|
178
|
+
| **Ollama** (local) | `llama3` | [ollama.com](https://ollama.com) |
|
|
179
|
+
| **Custom** | — | Enter Base URL manually |
|
|
180
|
+
|
|
181
|
+
Switch models anytime with `/model`.
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Languages
|
|
186
|
+
|
|
187
|
+
| Language | Code |
|
|
188
|
+
|----------|------|
|
|
189
|
+
| 한국어 | `ko` |
|
|
190
|
+
| 中文 | `zh` |
|
|
191
|
+
| English | `en` |
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## Data Storage
|
|
196
|
+
|
|
197
|
+
| Data | Location | When |
|
|
198
|
+
|------|----------|------|
|
|
199
|
+
| Chat sessions | `~/.config/bingo/sessions/session_*.md` | Auto (real-time) |
|
|
200
|
+
| Scan reports | `targets/report_<domain>.md` | Auto on `bingo scan` |
|
|
201
|
+
| Command history | `~/.config/bingo/history` | Auto |
|
|
202
|
+
| Manual export | `./bingo_chat_<timestamp>.md` | `/export` command |
|
|
203
|
+
| Config | `~/.config/bingo/config.json` | Auto |
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Config File
|
|
208
|
+
|
|
209
|
+
| OS | Path |
|
|
210
|
+
|----|------|
|
|
211
|
+
| macOS | `~/Library/Application Support/bingo/config.json` |
|
|
212
|
+
| Linux | `~/.config/bingo/config.json` |
|
|
213
|
+
| Windows | `%APPDATA%\bingo\config.json` |
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## Project Structure
|
|
218
|
+
|
|
219
|
+
```
|
|
220
|
+
bingo/
|
|
221
|
+
├── bingo/
|
|
222
|
+
│ ├── cli.py # Entry point + onboarding
|
|
223
|
+
│ ├── config.py # Settings (cross-platform)
|
|
224
|
+
│ ├── models/
|
|
225
|
+
│ │ ├── base.py # Streaming HTTP (OpenAI-compatible + Claude)
|
|
226
|
+
│ │ ├── registry.py # Provider registry
|
|
227
|
+
│ │ └── system_prompt.py # Universal pentest prompt (all models)
|
|
228
|
+
│ ├── tools/
|
|
229
|
+
│ │ ├── http_probe.py # HTTP fingerprinting
|
|
230
|
+
│ │ ├── sqli.py # SQLi detection & exploitation
|
|
231
|
+
│ │ ├── waf_bypass.py # WAF detection + auto bypass engine
|
|
232
|
+
│ │ ├── hash_crack.py # Offline hash cracker (bcrypt/MD5/SHA/NTLM)
|
|
233
|
+
│ │ └── hash_lookup.py # Online hash lookup (CrackStation, hashes.com, etc.)
|
|
234
|
+
│ ├── redteam/
|
|
235
|
+
│ │ └── phases/ # 5-phase pipeline (recon → report)
|
|
236
|
+
│ ├── skills/
|
|
237
|
+
│ │ └── engine.py # 220+ skill knowledge base
|
|
238
|
+
│ ├── ui/
|
|
239
|
+
│ │ └── terminal.py # Interactive terminal (slash autocomplete, auto-crack)
|
|
240
|
+
│ └── lang/
|
|
241
|
+
│ └── strings.py # Multi-language strings
|
|
242
|
+
├── install.sh # macOS/Linux installer
|
|
243
|
+
├── install.ps1 # Windows installer
|
|
244
|
+
└── pyproject.toml
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## Contributing
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
git clone https://github.com/bingook/bingo.git
|
|
253
|
+
cd bingo
|
|
254
|
+
pip install -e ".[dev]"
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Pull requests are welcome.
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## License
|
|
262
|
+
|
|
263
|
+
MIT © 2026 bingook
|
|
Binary file
|