Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

54 lines
1.7 KiB
Markdown

# API Reference: WAF Bypass Testing
## Encoding Bypass Techniques
| Technique | Example | Description |
|-----------|---------|-------------|
| URL Encoding | `%3Cscript%3E` | Single URL encode |
| Double Encoding | `%253Cscript%253E` | Double URL encode |
| Unicode/Fullwidth | `\uff1cscript\uff1e` | Unicode replacement |
| HTML Entities | `<script>` | Hex HTML entities |
| Null Byte | `%00` insertion | Terminate string parsing |
| Tab/Newline | `scr\tipt` | Whitespace insertion |
## SQLi WAF Bypass Techniques
| Technique | Payload Pattern |
|-----------|----------------|
| Inline Comment | `1'/**/OR/**/1=1--` |
| Version Comment | `1'/*!50000OR*/1=1--` |
| Case Variation | `1' oR 1=1--` |
| Hex Encoding | `0x313d31` |
| Buffer Overflow | Long padding before payload |
| Content-Type Switch | Send as `application/json` |
## HTTP Method Bypass
| Method | WAF Behavior |
|--------|-------------|
| GET/POST | Usually inspected |
| PUT/PATCH/DELETE | Often not inspected |
| OPTIONS | Typically bypasses rules |
## WAF Detection Indicators
| Response | Meaning |
|----------|---------|
| 403 Forbidden | Request blocked by WAF |
| 406 Not Acceptable | Content rejected |
| 429 Too Many Requests | Rate limited |
| Custom error page | WAF vendor-specific block |
## Python Libraries
| Library | Version | Purpose |
|---------|---------|---------|
| `requests` | >=2.28 | HTTP request sending |
| `urllib.parse` | stdlib | URL encoding/double encoding |
## References
- OWASP WAF Bypass: https://owasp.org/www-community/attacks/WAF_Bypass
- PortSwigger WAF Bypass: https://portswigger.net/web-security/essential-skills/obfuscating-attacks-using-encodings
- PayloadsAllTheThings WAF: https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/WAF%20Bypass