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

Match and replace doesn't work at URL path #48

Closed
fngoo opened this issue Jun 7, 2021 · 1 comment · Fixed by #63 or #75
Closed

Match and replace doesn't work at URL path #48

fngoo opened this issue Jun 7, 2021 · 1 comment · Fixed by #63 or #75
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@fngoo
Copy link

fngoo commented Jun 7, 2021

Proxify command:

proxify -request-match-replace-dsl "replace(request,'r=','r=#')" -v

GET request:

http:https://testphp.vulnweb.com:80/redir.php?r=http%3A%2F%2F127.0.0.1%3A8080%23%40testphp.vulnweb.com

output:

GET /redir.php?r=http%3A%2F%2F127.0.0.1%3A8080%23%40testphp.vulnweb.com HTTP/1.1
Host: testphp.vulnweb.com:80
Accept-Encoding: gzip
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

HTTP/1.1 302 Moved Temporarily
Transfer-Encoding: chunked
Connection: keep-alive
Content-Type: text/html; charset=UTF-8
Date: Mon, 07 Jun 2021 17:03:23 GMT
Location: http:https://127.0.0.1:8080#@testphp.vulnweb.com
Server: nginx/1.19.0
X-Powered-By: PHP/5.6.40-38+ubuntu20.04.1+deb.sury.org+1
@ehsandeep ehsandeep added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jul 28, 2021
@ehsandeep
Copy link
Member

might be related to this - #38

@LuitelSamikshya LuitelSamikshya linked a pull request Oct 13, 2021 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Oct 19, 2021
@ehsandeep ehsandeep linked a pull request Nov 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants