|
98 | 98 | background: #555; |
99 | 99 | } |
100 | 100 |
|
101 | | - .features { |
102 | | - display: grid; |
103 | | - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); |
104 | | - gap: 1.5rem; |
| 101 | + .output-examples { |
105 | 102 | margin: 2rem 0; |
106 | 103 | } |
107 | 104 |
|
108 | | - .feature { |
109 | | - background: #f8f9fa; |
110 | | - padding: 1.5rem; |
111 | | - border-radius: 8px; |
112 | | - border-top: 3px solid #000; |
| 105 | + .output-section { |
| 106 | + margin: 1.5rem 0; |
113 | 107 | } |
114 | 108 |
|
115 | | - .feature h3 { |
| 109 | + .output-section h4 { |
116 | 110 | color: #000; |
117 | | - margin-bottom: 0.5rem; |
| 111 | + margin-bottom: 0.8rem; |
118 | 112 | font-size: 1.1rem; |
119 | | - } |
120 | | - |
121 | | - .feature p { |
122 | | - color: #666; |
123 | | - font-size: 0.95rem; |
| 113 | + font-weight: 600; |
124 | 114 | } |
125 | 115 |
|
126 | 116 | .languages { |
@@ -194,18 +184,34 @@ <h3 class="install-title">Install & Run</h3> |
194 | 184 | </p> |
195 | 185 | </div> |
196 | 186 |
|
197 | | - <div class="features"> |
198 | | - <div class="feature"> |
199 | | - <h3>🚀 Fast & Efficient</h3> |
200 | | - <p>Parallel processing with Aho-Corasick prefiltering and pattern caching for maximum speed.</p> |
| 187 | + <div class="output-examples"> |
| 188 | + <h3 style="color: #000; margin-bottom: 1.5rem;">Example Outputs</h3> |
| 189 | + |
| 190 | + <div class="output-section"> |
| 191 | + <h4>Table Format (Default)</h4> |
| 192 | + <div class="code-block"> |
| 193 | + <button class="copy-btn" onclick="copyToClipboard('Language | Library | Count | Example\n---------|---------|-------|--------\nRust | RustCrypto | 2 | src/main.rs:12 aes_gcm::Aes256Gcm\nPython | PyCA cryptography | 1 | auth.py:8 Fernet(key)')">Copy</button> |
| 194 | +Language | Library | Count | Example |
| 195 | +---------|---------|-------|-------- |
| 196 | +Rust | RustCrypto | 2 | src/main.rs:12 aes_gcm::Aes256Gcm |
| 197 | +Python | PyCA cryptography | 1 | auth.py:8 Fernet(key) |
| 198 | + </div> |
201 | 199 | </div> |
202 | | - <div class="feature"> |
203 | | - <h3>🎯 Low False Positives</h3> |
204 | | - <p>Smart pattern matching with comment stripping and import validation to reduce noise.</p> |
| 200 | + |
| 201 | + <div class="output-section"> |
| 202 | + <h4>JSONL Format</h4> |
| 203 | + <div class="code-block"> |
| 204 | + <button class="copy-btn" onclick="copyToClipboard('{\"language\":\"Rust\",\"library\":\"RustCrypto\",\"file\":\"src/main.rs\",\"span\":{\"line\":12,\"column\":5},\"symbol\":\"aes_gcm::Aes256Gcm\",\"snippet\":\"use aes_gcm::Aes256Gcm;\",\"confidence\":0.99,\"detector_id\":\"detector-rust\"}')">Copy</button> |
| 205 | +{"language":"Rust","library":"RustCrypto","file":"src/main.rs","span":{"line":12,"column":5},"symbol":"aes_gcm::Aes256Gcm","snippet":"use aes_gcm::Aes256Gcm;","confidence":0.99,"detector_id":"detector-rust"} |
| 206 | + </div> |
205 | 207 | </div> |
206 | | - <div class="feature"> |
207 | | - <h3>📊 Multiple Outputs</h3> |
208 | | - <p>Pretty tables, JSONL, and SARIF formats for integration with CI/CD pipelines.</p> |
| 208 | + |
| 209 | + <div class="output-section"> |
| 210 | + <h4>SARIF Format</h4> |
| 211 | + <div class="code-block"> |
| 212 | + <button class="copy-btn" onclick="copyToClipboard('{\"version\":\"2.1.0\",\"runs\":[{\"tool\":{\"driver\":{\"name\":\"cipherscope\"}},\"results\":[{\"ruleId\":\"detector-rust\",\"message\":{\"text\":\"RustCrypto library detected\"},\"locations\":[{\"physicalLocation\":{\"artifactLocation\":{\"uri\":\"src/main.rs\"},\"region\":{\"startLine\":12}}]}]}]}')">Copy</button> |
| 213 | +{"version":"2.1.0","runs":[{"tool":{"driver":{"name":"cipherscope"}},"results":[{"ruleId":"detector-rust","message":{"text":"RustCrypto library detected"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":12}}]}]}]} |
| 214 | + </div> |
209 | 215 | </div> |
210 | 216 | </div> |
211 | 217 |
|
@@ -234,6 +240,18 @@ <h3 class="install-title">Quick Start</h3> |
234 | 240 | <p style="margin-top: 1rem; color: #666; font-size: 0.9rem;"> |
235 | 241 | Scan current directory with progress bar |
236 | 242 | </p> |
| 243 | + |
| 244 | + <div style="margin-top: 1.5rem;"> |
| 245 | + <h4 style="color: #000; margin-bottom: 0.8rem; font-size: 1rem;">Output Formats</h4> |
| 246 | + <div class="code-block" style="margin: 0.5rem 0;"> |
| 247 | + <button class="copy-btn" onclick="copyToClipboard('cryptofind . --json > findings.jsonl')">Copy</button> |
| 248 | + cryptofind . --json > findings.jsonl |
| 249 | + </div> |
| 250 | + <div class="code-block" style="margin: 0.5rem 0;"> |
| 251 | + <button class="copy-btn" onclick="copyToClipboard('cryptofind . --sarif findings.sarif')">Copy</button> |
| 252 | + cryptofind . --sarif findings.sarif |
| 253 | + </div> |
| 254 | + </div> |
237 | 255 | </div> |
238 | 256 |
|
239 | 257 | <div class="footer"> |
|
0 commit comments