Hello
I been trying to modify response.
my app send Accept-Encoding: gzip. i am trying to verify if modification break it or not.
response is ssl base and i am sending request 0x20 byte with POST but i can't break or find option to change buffer at OnBeforeResponse
so far i am trying
var oBody =oSession.responseBodyBytes;
but i can't find docs or information how to modify body response if its raw data.. there bit lot documents for html and xml modification.
i want to change response body first or last byte. to see if my application detect change or not.
Thx in advance.
I use fiddlercore in my wpf application,which capture http/https info.
i use :
FiddlerCoreStartupFlags oFCSF = FiddlerCoreStartupFlags.Default;
int iPort = 8877;
//Fiddler.FiddlerApplication.Startup(iPort, oFCSF);//启动
//允许descript https请求
//Fiddler.FiddlerApplication.Startup(iPort, true, false, true);//启动
Fiddler.FiddlerApplication.Startup(iPort, oFCSF);
Hi,
Someone please clarify my doubts which are stated below :
1) What is a session in fiddler ?
2) What is the Difference between Sequence (clock) duration and Aggregate session duration ?
3) What should I understand when Sequence (clock) duration value is greater than Aggregate session duration value ?
4) What should I understand when Sequence (clock) duration value is lesser than Aggregate session duration value ?
Thanks & Regards,
Ritesh
A heads up if you're trying to run Fiddler on a Mac with mono 5.2. Starting from Mono 5.2, the "mono"command defaults to 64-bit. Use --arch=32 switch to 32-bit mode to run Fiddler.exe.
mono --arch=32 Fiddler.exe
This threw me for a while as I'm not a mono user and Fiddler continually failed on start with the error below.
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
```
bash-4.3# mono Fiddler.exe
exception inside UnhandledException handler: The type initializer for 'Fiddler.CONFIG' threw an exception.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0
--- End of inner exception stack trace ---
at System.Drawing.KnownColors..cctor () [0x0001a] in <1917aa1c39d94b1a91807b8cd9f03350>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
at Fiddler.frmViewer.ÂÂ (System.String[] ÂÂ) [0x00040] in <1f5c91af40d14c0eb3b0cb76da0ecdcc>:0
at Fiddler.frmViewer.ÂÂ (System.String[] ÂÂ) [0x00016] in <1f5c91af40d14c0eb3b0cb76da0ecdcc>:0
```
Slackware64_14.2
Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Thu Feb 2 14:37:53 CET 2017)
I got a request every 5 seconds from my software to the server in the form
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="default" SOAP-ENV:encodingStyle="default">
<SOAP-ENV:Body>
<login user="xxxx" password="xxxx" token="jrxrOIX8aziQvGs4" />
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
is there a way i can capture the value of the token and create a new request of a different form with the same token using fiddlercore and c# ?
cheers
So i have the below request
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="default" SOAP-ENV:encodingStyle="default">
<SOAP-ENV:Body>
<login user="3602e743d1ba76fb" password="888888" terminal_id="3602e743d1ba76fb" terminal_type="1" mac="08:00:27:db:56:ce" netmode="4" soft_ver="000 pad_1.2.09 eng..20170714.181621" hard_ver="376 KTU84P" epg="epo" token="SKeXAEmnvgBKp74A" />
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
How can i replace parts of this in c# such as 3602e743d1ba76fb with another number ?
is this correct ? it doesn't seem to work
Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
{
oS.bBufferResponse = true;
oS.utilDecodeRequest();
oS.utilReplaceInRequest("3602e743d1ba76fb", "4c1d80a8f35e6a4d"); //userid
oS.utilReplaceInRequest("08:00:27:db:56:ce", "38:1d:d9:9a:51:a2"); //mac
};