Use Fiddler to monitor network traffic

Use Fiddler to monitor network trafficBeing able to easily monitor your network traffic is very helpful when working with APIs as well as Web Scraping.

In these two videos I demonstrate how to use Fiddler to monitor network traffic.  Fiddler is a great, free, tool that can help you see what traffic is going on behind the scenes from browsers, programs, apps, and AutoHotkey.  FYI- If you don’t care to use Fiddler / an external tool, a lot of this can be done with the developer tools inside a browser however they are somewhat limited in functionality.  I’ve tried other network monitoring tools but they are ridiculously complex.

Use Fiddler to monitor network traffic

Intro to using Fiddler to peek at traffic

Use AutoHotkey to easily clear network traffic in Fiddler

;*********************Clear traffic in Fiddler   Need to uncomment**********************************
;~ #IfWinActive ahk_exe Fiddler.exe  ;Uncomment this if you want to only do it when Fiddler is Active
^+c:: ;Hotkey to clear traffic
ControlFocus,WindowsForms10.SysListView32.app.0.2bf8098_r6_ad12 ;Control where Traffic is (must be active)
Send ^x ;Clear Traffic
return
;~ #IfWinActive ;Uncomment this if you uncommend the above #IfWinactive

 

 

 

Using Filters in Fiddler to clean-up what Fiddler is tracking

 

 

AutoHotkey Webinar- Automating Android Apps with Nox & Fiddler

In this webinar we demonstrated Automating Android Apps being emulated in Nox & using Fiddler to see the API traffic.Automating Android Apps

Video Hour 1High-level overview
Video Hour 2Q&A

The script we highlighted was AHKGenerator – from mshafer1.  You can find the source code here and the forum post here.

In the webinar we demonstrated the three programs needed:

Configuring Fiddler & Nox / Mobile Devices

  • 0603 Configuring Fiddler to Decrypt Encrypted connections- 443 connections
  • Loading Fiddler Certificate on a Android device ipv4.fiddler:8888
  • Start Fiddler-
  • Go to tools, options, connections- select “allow remote computers to connect”
  • On Fiddler- Hover over “Online” icon in top right area and note IP address where Fiddler is running.
  • On phone-
  • Go to wifi settings and long-hold your wifi connection. Then click Modify network. Show advanced options.   Add IP address where fiddler is running & port of 8888
  • On phone, navigate to http://ipv4.fiddler:8888 Download certificate to your phone
  • Go to Settings- Security, Trusted Credentials & install from SD card. Find downloaded certificate from above
  • 0608 SSL Behavior on a Compromised Device
  • How to Capture Mobile Device Network Traffic

Automating Android Apps /Interacting with the Emulator and Fiddler

NOX examples

run “D:\Program Files\Nox\bin\Nox.exe” “-package:com.car2go”

run “D:\Program Files\Nox\bin\Nox.exe” “-quit“

ADB commands