Tutorial #7: How To Fix Request Hanging Issue When Proxying Through Burp Suite with Python or PowerShell

Ba Yin Min
2 min readOct 17, 2024

--

tl;dr — If you are using the later version of Burp especially version 2024.8.5, update java JDK or JRE runtime environment to avoid the proxy issue and random crashes.

This is not much of a long tutorial. Recently, after upgrading my Burp Suite to the latest version at this time 2024.8.5 (Stable), I am frequently facing random crashes of the Burp Suite.

The more pressing problem for me is being unable to use my existing python scripts which go through Burp Suite as a proxy. The idea is for logging the HTTP traffic, performing vulnerability scanning with Burp Suite for further analysis.

A sample script looks like below:

import requests

proxies = {"http":"127.0.0.1:8080","https":"127.0.0.1:8080"}
url = 'https://www.google.com'

r = requests.get(url,proxies=proxies)
print("Response Status Code: " + str(r.status_code))
print("Response Length:" + str(len(r.content)))

So, when the script tries to connect to the Burp Suite listener at 8080, it will either hang or timeout.

The culprit is that the new Burp Suite may require a new java runtime version. For me I was using jdk 1.7 (pretty old, I know). Just upgrade your JDK to 1.8 and above. The more recent one, the better but if you use jdk 23, Burp Suite will still work but it shows a warning that Burp Suite version is not fully tested yet in jdk 23.

In brief, it has been observed that jdk 1.7 is no longer suitable to run the latest Burp Suite. Just upgrade the java runtime environment or jdk soon to avoid frequent crashes and headaches.

--

--

Ba Yin Min
Ba Yin Min

Written by Ba Yin Min

Pentester. Application & Cyber Security enthusiast. Insatiable learner.

No responses yet