Refactored HackerOne report scraper with error handling and memory optimizations#5
Open
thiezn wants to merge 1 commit intog0ldencybersec:mainfrom
Open
Refactored HackerOne report scraper with error handling and memory optimizations#5thiezn wants to merge 1 commit intog0ldencybersec:mainfrom
thiezn wants to merge 1 commit intog0ldencybersec:mainfrom
Conversation
… memory optimizations
Author
|
Just to give some idea, when I ran the script today it took me 137 minutes and gave me 12.668 reports. |
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.
Hi batman & batman!
Thanks for sharing both the code and interesting talk. Nice example of leveraging AI for fuzzy data analytics.
I wanted to grab Hacktivity reports for myself for a long time but never got around to it. I saw the hackerone.py script which already figured out how the graphql + report endpoints work so thought I bite the bullet.
This pull request refactors the hackerone.py script to make it a bit more robust by:
Create a new python virtual environment and install the dependency (Friends don't let other friends use system-level Python dependencies)
python3 -m venv .venv source .venv/bin/activate python3 -m pip install httpxYou can run the script as follows (use -h to see optional cli arguments like the cookie and/or filename from the command line):
Kind regards,
Robin