-
Notifications
You must be signed in to change notification settings - Fork 561
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
File Download Module #754
File Download Module #754
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #754 +/- ##
======================================
+ Coverage 92% 92% +1%
======================================
Files 284 287 +3
Lines 16692 16885 +193
======================================
+ Hits 15243 15439 +196
+ Misses 1449 1446 -3
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
bbot/agent/agent.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of changing agent.py? Is this for downloading specifically or is it a change required in order to allow for downloading?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1b6d8c9
to
032d3ff
Compare
Adds a module that downloads common/interesting file types (such as PDFs and Word documents) out to a scope distance of 1. The files are downloaded into a subdirectory in the scan's output folder.
Executing the following scan will automatically spider every subdomain up to depth 2 and download any interesting file it encounters. It will even detect files without extensions by the content-type, and download them too.
This module should serve as a good jumping-off point for a FOCA-like metadata extraction module.
During development of this module, an SSL-related error in the
download()
helper was discovered. The fix is included.Note: this PR depends on #692.