-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for offline response scanning #23
Conversation
Hi, @confuciussayuhm First all thanks for this PR and for your time!. I have a few comments (the first ones that come to mind) related to it:
Let's do the following: please show me some examples of "raw response files" and I will investigate how to integrate their parsing into 'humble': the files must include request status codes and the parsed URL to which those HTTP response headers correspond. Thanks! |
Hi @rfc-st, Thank you for taking the time to review my PR. To answer your questions:
Here's a sample raw response files:
Response in Burp:
|
Hi, @confuciussayuhm Cool!. Let me look into the specific format of curl and Burp Suite responses (and maybe, why not?, other tools!) when requesting the HTTP response headers of a URL; to parse and analyze them in 'humble' (HTTP status code, URL and HTTP header/Value). Great suggestion!, I'll keep you posted in this thread. Thanks. Best regards, |
Hi @confuciussayuhm, Please do a 'git pull' to get the latest changes:
Try these changes, please ... and if you miss anything, let me know in this thread. Thanks!. Regards, |
Looking good man! Thanks for the addition! |
Pull Request Template
Description
This PR introduces offline analysis capabilities to humble.py, allowing users to analyze HTTP headers from raw response files without making live requests. This enhancement makes the tool more versatile, especially useful for analyzing historical responses or working in environments with limited connectivity.
Key changes:
-if/--input-file
parameter for offline analysisparse_offline_headers()
to process raw HTTP response filesdetermine_scheme_safety()
for better URL scheme validationget_display_url()
for consistent URL representationFixes # (no specific issue referenced)
Type of change
How Has This Been Tested?
Tests performed to verify the changes include:
Offline Analysis Testing
URL Handling Testing
Checklist: