Add human-readable stdout display for all event types#3035
Merged
Conversation
Contributor
📊 Performance Benchmark Report
📈 Detailed Results (All Benchmarks)
🎯 Performance Summary✅ No significant performance changes detected (all changes <10%) 🐍 Python Version 3.11.15 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.0 #3035 +/- ##
======================================
- Coverage 91% 91% -0%
======================================
Files 440 440
Lines 37411 37550 +139
======================================
+ Hits 33890 33969 +79
- Misses 3521 3581 +60 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
TheTechromancer
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Override
_data_human()for all dict-based event types so they show concise, readable output on stdout instead of raw JSON dumps.Before / After
FINDING
Before:
{"confidence": "CONFIRMED", "description": "Found exposed admin panel", "host": "example.com", "name": "Exposed Admin", "severity": "HIGH", "url": "http://example.com/admin"}After:
Severity: [HIGH] Confidence: [CONFIRMED] Found exposed admin panel (http://example.com/admin)With CVEs:
After:
Severity: [CRITICAL] Confidence: [HIGH] Remote code execution (http://example.com/) [CVE-2024-1234, CVE-2024-5678]TECHNOLOGY
Before:
{"host": "example.com", "technology": "nginx", "url": "http://example.com/"}After:
nginx (http://example.com/)PROTOCOL
Before:
{"banner": "SSH-2.0-OpenSSH_8.9", "host": "example.com", "port": 22, "protocol": "SSH"}After:
SSH/22 - SSH-2.0-OpenSSH_8.9WAF
Before:
{"host": "example.com", "url": "http://example.com/", "waf": "cloudflare"}After:
cloudflare (http://example.com/)ASN
Before:
{"asn": 13335}After:
AS13335CODE_REPOSITORY
Before:
{"url": "https://github.com/org/repo"}After:
https://github.com/org/repoWEB_PARAMETER
Before:
{"additional_params": {}, "description": "HTTP Extracted Parameter (GET)", "host": "example.com", "name": "q", "original_value": "test", "type": "GETPARAM", "url": "http://example.com/search"}After:
[GETPARAM] q=test - HTTP Extracted Parameter (GET) (http://example.com/search)SOCIAL
Before:
{"platform": "github", "profile_name": "liquidsec", "url": "https://github.com/liquidsec"}After:
github: liquidsec (https://github.com/liquidsec)AZURE_TENANT
Before:
{"domains": ["example.com", "contoso.onmicrosoft.com"], "tenant-id": "a1b2c3d4-...", "tenant-names": ["contoso"]}After:
contoso (a1b2c3d4-...) - example.com, contoso.onmicrosoft.comWEBSCREENSHOT
Before:
{"path": "gowitness/screenshots/http-example-com-.png", "url": "http://example.com/"}After:
http://example.com/ Saved to: gowitness/screenshots/http-example-com-.pngFILESYSTEM
Before:
{"magic_description": "PDF document, version 1.7", "magic_extension": "pdf", "magic_mime_type": "application/pdf", "path": "filedownload/document.pdf"}After:
filedownload/document.pdf (PDF document, version 1.7)RAW_DNS_RECORD
Before:
{"answer": "93.184.216.34", "host": "example.com", "type": "A"}After:
A example.com -> 93.184.216.34MOBILE_APP
Before:
{"id": "com.example.myapp", "url": "https://play.google.com/store/apps/details?id=com.example.myapp"}After:
com.example.myapp (https://play.google.com/store/apps/details?id=com.example.myapp)GEOLOCATION
Before:
{"city": "New York", "country_name": "United States", "latitude": 40.7128, "longitude": -74.006, "region_name": "New York", ...}After:
New York, New York, United States (40.7128, -74.006)HTTP_RESPONSE
Before: (entire raw HTTP response body + headers as JSON)
After:
[200] GET http://example.com/ - [Example Domain] (12.4KB)STORAGE_BUCKET
Before:
{"name": "my-bucket", "url": "https://my-bucket.s3.amazonaws.com/"}After:
my-bucket (https://my-bucket.s3.amazonaws.com/)