proxify icon indicating copy to clipboard operation
proxify copied to clipboard

The request match and replace DSL functionality does not work

Open forgedhallpass opened this issue 3 years ago • 5 comments

proxify -request-match-replace-dsl "replace(request,'curl','firefox')" -v -hp http://localhost:8080
curl google.com --proxy-insecure -x localhost:8888 -v -L

In the verbose output of proxify the value seems to be changed, but not the actual request.

image

image

image

forgedhallpass avatar Jul 07 '22 17:07 forgedhallpass

i've the same problem! This is the Only reason I needed the Proxify!

exploit-io avatar Jul 19 '22 20:07 exploit-io

@exploit-io don't worry, it will be fixed :)

forgedhallpass avatar Jul 19 '22 20:07 forgedhallpass

I used Following Command:

./proxify -request-match-replace-dsl "replace(request,'curl','**********************')"

in the logs directory, i see the replacement is ok:

GET / HTTP/1.1
Host: yyyyyb.interact.sh
Accept: */*
User-Agent: **********************/7.64.1

but in the interact.sh

GET / HTTP/1.1
Host: yyyyyyb.interact.sh
Accept: */*
Accept-Encoding: gzip
User-Agent: curl/7.64.1

exploit-io avatar Jul 19 '22 21:07 exploit-io

I didn't analyze the code, but I think it is forwarding the origional request not the modified one!

exploit-io avatar Jul 19 '22 21:07 exploit-io

@forgedhallpass @exploit-io this is now fixed in the dev version with https://github.com/projectdiscovery/proxify/pull/149

ehsandeep avatar Aug 03 '22 12:08 ehsandeep