Skip to content
September 10, 2026
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube

Daily CyberSecurity

Zero-hour alerts. Unmatched analysis.

Primary Menu
  • Home
  • CVE Data
    • CVE Watchtower
    • Top Exploited CVEs
    • CVE Stats by Vendor
    • Q2 2026 Report
    • CVE Alerts
    • CVE Alert Settings
    • Pricing
  • Cyber Criminals
  • Data Leak
  • Linux
  • Malware
  • Vulnerability
  • Submit Press Release
  • Weekly Recap
Light/Dark Button
  • Home
  • Technique
  • Advanced Web Debugging with Fiddler
  • Technique

Advanced Web Debugging with Fiddler

Do Son June 10, 2017 3 minutes read
Web Debugging Fiddler

On this post, I will introduce a penetration of the web test development industry. It is more popular a web traffic capture package analysis tool. Fiddler’s function here is not to say, a simple summary is to capture the package, change the package, replay. The focus of this article is not to introduce the basic usage of Fiddler, but to introduce how to build their own custom programming Fiddler. Most of the contents of this article from the Internet, such as the contents of the old can be self-bypass, all when the personal inquiries, can be sprayed.

Modify the rules file CustomRules.js

CustomRules.js is written in Jscript.NET and has a syntax similar to C #. By modifying the CustomRules.js can modify the http request and response, without interrupting the program, you can also do a special treatment for different url.

CustomRules.js file location

Fiddler Tools Menu Bar:

rules->CustomRules
Local computer disk storage address:
C:\Documents and Settings\[your user]\MyDocuments\Fiddler2\Scripts\CustomRules.js

Common content

First share a common content:

static function OnBeforeRequest(oSession: Session) {

// oSession.oRequest.headers.Remove("Cookie");
// oSession.oRequest.headers.Add("Cookie", "username=admin;");
// oSession.oRequest["Referer"]="http://securityonline.info";
// if (oSession.HTTPMethodIs("POST")){ //POST修改为GET
// oSession.RequestMethod="GET";
// }
// var strBody=oSession.GetRequestBodyAsString();
// // // strBody=strBody.replace("111","222");
// strBody="11111111111111111111111111111111111"+strBody;
// // // strBody=strBody.ToUpper();
// // // strBody=strBody.ToLower();
// oSession.utilSetRequestBody(strBody);
}

As shown above, modify the code under the OnBeforeRequest function to automatically modify some of the parameters in the request packet before sending the request. Such as can be added to change the cookie, headers header parameters, you can modify the type of request package, the main role is to achieve a specific role in the penetration test, such as bypassing the firewall.

Common function

Http request function: that is, modify the contents of the function, you can send http request packet before modifying some parameters.

static function OnBeforeRequest(oSession: Session)

Http response function: that is, modify the contents of the function, you can receive http response packet before modifying some parameters

static function OnBeforeResponse(oSession: Session)

The method properties in the function

Filter an url

if (oSession.host.indexOf("thief.one") > -1) {}

Modify the display style in the session

oSession["ui-color"] = "orange";

Remove a field from the http header

oSession.oRequest.headers.Remove("");

Modify the contents of a field in the http header

oSession.oRequest["Referer"] = "http://securityonline.info";

Modify host

oSession.host = "securityonline.info";

Modify the Origin field

oSession.oRequest["Origin"] = "http://securityonline.info";

Delete all cookies

oSession.oRequest.headers.Remove("Cookie");

Create a new cookie

oSession.oRequest.headers.Add("Cookie", "username=ddos;");

Gets the body string in the Request

var strBody=oSession.GetRequestBodyAsString();

Use regular expressions or replace methods to modify string

strBody=strBody.replace("security","ddos");

Play a dialog box to check the modified body

FiddlerObject.alert(strBody);

Will modify the body, re-write back to the Request

oSession.utilSetRequestBody(strBody);

Modify request url

For example: Replace the http protocol in the request URI with the https protocol.

oSession.fullUrl = "https" + oSession.fullUrl.Substring(oSession.fullUrl.IndexOf(':'));

Network speed limit

1000/download speed = time to be delayed (milliseconds), such as 20kB/s delay50 milliseconds to receive data.

if (m_SimulateModem) {

// Delay sends by 300ms per KB uploaded.
oSession["request-trickle-delay"] = "300";
// Delay receives by 150ms per KB downloaded.
oSession["response-trickle-delay"] = "150";
}

Fiddler can customize a lot of features, these are usually some of the usual content, such as you want to know more usage please refer to the official documents: Fiddler document

SHARE
Share on FacebookShare on XShare on LinkedInShare on TelegramShare on BlueskyShare on Mastodon
Tags: Fiddler

Search

Translation

CVE ALERTS
📧

Email Delivery
Get threat intel straight to your inbox.

♾️

Unlimited Vendors
Track every technology in your stack.

🚨

All New CVE Alerts
Be the first to know about new flaws.

⚙️

Custom EPSS Threshold
Filter noise, focus on real risks.

💬

Slack & Teams Webhook
Integrate directly into your SecOps.

🚫

100% Ad-Free
Enjoy an uninterrupted reading experience.

$7/mo
Subscribe Now

🚨 Active Exploits in the Wild

  • CVE-2026-20079CVSS 10.0
    A vulnerability in the web interface of Cisco Secure Firewall Management Center (FMC) Software could allow an unauthenticated,...
    Admin intelCISA KEV📅 Added to KEV: Sep 9, 2026📅 Updated: Sep 9, 2026
  • CVE-2025-25249CVSS 8.1
    A heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2.0 through...
    Admin intelCISA KEV📅 Added to KEV: Sep 9, 2026📅 Updated: Sep 9, 2026
  • CVE-2026-87491
    Out of bounds write in V8 in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to execute...
    Admin intelCISA KEV📅 Added to KEV: Sep 9, 2026📅 Updated: Sep 9, 2026
  • CVE-2026-19490
    Vulnerability in NetScaler ADC and NetScaler Gateway. This issue affects ADC: from 14.1 through 73.32 and from 13.1...
    CISA KEV📅 Added to KEV: Sep 9, 2026
  • CVE-2026-75650CVSS 10.0
    Adobe Commerce is affected by an Improper Neutralization of Special Elements Used in a Template Engine vulnerability that...
    Admin intelCISA KEV📅 Added to KEV: Sep 8, 2026📅 Updated: Sep 8, 2026
  • CVE-2026-81963CVSS 7.8
    Improper link resolution before file access ('link following') in Windows Update Stack allows an authorized attacker to elevate...
    CISA KEV📅 Added to KEV: Sep 8, 2026
  • CVE-2026-85880CVSS 7.8
    Heap-based buffer overflow in Windows ALPC allows an authorized attacker to elevate privileges locally.
    CISA KEV📅 Added to KEV: Sep 8, 2026
  • CVE-2026-86218CVSS 10.0
    N-central is vulnerable to a pre-auth remote code execution This issue affects N-central: before 2026.3.1.14.
    Admin intelCISA KEV📅 Added to KEV: Sep 8, 2026📅 Updated: Sep 7, 2026
Powered by CVE Watchtower

🔴 Live Critical Threats

  • CVE-2026-9163CVSS 9.8
    Improper neutralization of special elements used in an SQL command ('SQL injection')...
  • CVE-2026-8323CVSS 9.3
    URL redirection to untrusted site ('open redirect') vulnerability in Armiya Information Technologies...
  • CVE-2026-88285CVSS 9.4
    GeoVision GV-LPC2211 V1.13 exposes a network-accessible PTZ control service without authentication, allowing...
  • CVE-2026-88278CVSS 9.8
    GeoVision GV-LPC2211 V1.13 fails to enforce WS-Security UsernameToken freshness or nonce reuse...
  • CVE-2026-44950CVSS 9.0
    fs_read_glyphs() in the libXfont2 font-server client (src/fc/fserve.c) copies each glyph's bitmap into...
  • CVE-2026-7188CVSS 9.8
    Improper neutralization of special elements used in an SQL command ('SQL injection')...
  • CVE-2026-59679CVSS 9.0
    fs_read_glyphs() in the libXfont2 font-server client (src/fc/fserve.c) indexes the per-character encoding[] array...
  • CVE-2026-19583CVSS 9.9
    Velociraptor allows some sensitive artifacts to be gated by additional permissions. For...
  • CVE-2026-18351CVSS 9.8
    The Drag and Drop File Upload for Elementor Forms plugin for WordPress...
  • CVE-2026-87931CVSS 9.6
    A vulnerability has been found in Behavioral Technology Group Pavlok Behavioral Conditioning...
Powered by CVE WATCHTOWER

Our Websites
  • Penetration Testing Tools
  • The Daily Information Technology
  • Top Exploited CVEs
  • Daily CyberSecurity

    • About SecurityOnline.info
    • Advertise with us
    • Announcement
    • Contact
    • Contributor Register
    • Login
    • Disclaimer
    • DCMA
    • Privacy Policy
    • About SecurityOnline.info
    • Advertise on SecurityOnline.info
    • Contact Us

    When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works

    • CVE Watchtower
    • CVE Statistics by Vendor 2026
    • Q2 2026 Report
    • Top Exploited CVEs
    • Bluesky
    • Facebook
    • Linkedin
    • Mastodon
    • RSS
    • Twitter
    • Youtube
    © 2017 - 2026 Daily CyberSecurity. All Rights Reserved.