这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@denandz
Copy link
Contributor

@denandz denandz commented Jul 29, 2022

Description

This pull request adds additional checking for proxy and replay-proxy parameters, as well as adding some tests to make sure the parser is working how it's expected to. Go's url.parse alone does not provide enough verification to determine whether a given URL matches the requirements for a proxy passed to a HTTP transport.

Fixes: #573

@xbol0 xbol0 mentioned this pull request Oct 9, 2022
Copy link
Member

@joohoi joohoi left a comment

Choose a reason for hiding this comment

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

LGTM with this proposed small nit

Co-authored-by: Joona Hoikkala <joohoi@users.noreply.github.com>
@denandz
Copy link
Contributor Author

denandz commented Feb 2, 2023

LGTM with this proposed small nit

good catch! Committed.

Copy link
Member

@joohoi joohoi left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

@joohoi joohoi merged commit 39c8934 into ffuf:master Feb 3, 2023
joohoi added a commit that referenced this pull request Feb 3, 2023
* Added additional proxy URL verification

* Update pkg/ffuf/optionsparser.go

Co-authored-by: Joona Hoikkala <joohoi@users.noreply.github.com>

---------

Co-authored-by: Joona Hoikkala <joohoi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ffuf silently ignores invalid proxy options

2 participants