Skip to content
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 web/screenshot recon worker #157

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

moozzi
Copy link
Member

@moozzi moozzi commented Aug 18, 2024

Copy link
Member

@postmodern postmodern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed a few minor things. Also probably need to improve Ronin::Web::Browser::Agent#screenshot to allow saving the screenshot into a root directory.

spec/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
@moozzi moozzi force-pushed the add_web_screenshot_worker branch from 2d171c1 to 25e2722 Compare August 19, 2024 08:20
@postmodern postmodern force-pushed the 0.2.0 branch 2 times, most recently from 032be97 to 9e8f021 Compare August 19, 2024 23:01
@moozzi moozzi force-pushed the add_web_screenshot_worker branch 5 times, most recently from a855a0d to 4ddea94 Compare August 27, 2024 14:11
Copy link
Member

@postmodern postmodern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed two things. Also can configure WebMock to allow localhost requests for Ronin::Web::Browser.

lib/ronin/recon/builtin/web/screenshot.rb Show resolved Hide resolved
spec/builtin/web/screenshot_spec.rb Outdated Show resolved Hide resolved
lib/ronin/recon/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
@moozzi moozzi force-pushed the add_web_screenshot_worker branch from 4ddea94 to 568df24 Compare August 29, 2024 06:43
Copy link
Member

@postmodern postmodern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to restrict the format param to just png and jpg.

lib/ronin/recon/builtin/web/screenshot.rb Outdated Show resolved Hide resolved
@moozzi moozzi force-pushed the add_web_screenshot_worker branch from 568df24 to ef3eebe Compare August 31, 2024 10:45
@postmodern postmodern added this to the 0.2.0 milestone Aug 31, 2024
@postmodern postmodern added the feature New Feature label Aug 31, 2024
@postmodern postmodern added the builtin Builtin Workers label Aug 31, 2024
@postmodern postmodern merged commit 6ba8fdb into ronin-rb:0.2.0 Aug 31, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtin Builtin Workers feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants