Fiddler script request

105 views
Skip to first unread message

Farshad Sohrabi

unread,
May 30, 2019, 8:39:03 AM5/30/19
to Fiddler
hi
i am new to fiddler script
and i have couple of question
first is it posible to define multiple gateway for fiddle.
secound i need an script to request an specific url if it failed until valid response issuied and save the valid response (200) to the fiddler autoresponder or get back the valid response to browser. can any bodey help me i already find this one but i cant get it to work thanks.

EricLaw

unread,
Jun 5, 2019, 5:34:01 PM6/5/19
to Fiddler
1. I'm not sure what you mean by "multiple gateway" but you can direct Fiddler to use a particular upstream proxy for a given request; just set the oSession["x-overrideGateway"] = "1.2.3.4:8080" session flag with the value of the target gateway proxy to use, or set to DIRECT to send the request directly to the server.

2. Please be more specific about what exactly isn't working here?

Farshad Sohrabi

unread,
Jun 6, 2019, 7:23:48 AM6/6/19
to Fiddler
i want to route incoming terafic frome specific invalid ip's to diffrent vaild ip after i done some changing to it with fiddler

Марсель Ахмадуллин

unread,
Feb 12, 2023, 3:28:54 AM2/12/23
to Fiddler
Hello!

Which one is better or are they the same?
you wrote in another post


>>EricLaw
22 авг. 2016 г., 10:01:47
– Fiddler
The simplest thing to do is ignore the Tools > Options settings entirely. Inside Rules > Customize Rules > OnBeforeRequest, add a line at the top

   if (oSession.uriContains("whatever")) { oSession["x-overrideGateway"] = "123.123.123.213:1234"; }

The specified request will ignore the default gateway and will use the specified proxy (123.123.123.213 on port 1234) instead.
<<

also two questions for you.
1. is it possible to use variables
and put for example a range of ports randomly?
2. Is it possible to use a proxy with login password authorization?

четверг, 6 июня 2019 г. в 02:34:01 UTC+5, EricLaw:
Reply all
Reply to author
Forward
0 new messages