httpx version:
v1.7.0
Current Behavior:
When using httpx with the -tech-detect flag, the ASP.NET technology (specifically version Microsoft ASP.NET:2.0.50727) is not detected when scanning the root path of the site (http://testaspnet.vulnweb.com/), even though the server response contains the following headers:
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
However, when making a request to a non-existent .aspx file (e.g., /nonexistent.aspx), httpx correctly detects and displays the ASP.NET version in the tech field.
Expected Behavior:
httpx -tech-detect should detect ASP.NET version regardless of the URL path suffix if the relevant headers are present in the response.
Steps To Reproduce:
- Run:
httpx -u http://testaspnet.vulnweb.com/ -tech-detect -json
❌ The "tech" field does not include ASP.NET version.
- Run:
httpx -u http://testaspnet.vulnweb.com/nonexistent.aspx -tech-detect -json
✅ The "tech" field includes: "Microsoft ASP.NET:2.0.50727"
Anything else:
- Manual check with
curl confirms the headers are also present on the root path:
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
- It appears
httpx uses the .aspx suffix as a heuristic for enabling ASP.NET detection, which leads to missing detections for other paths.
- Would be useful if
-tech-detect considered headers independently from the path.
Thanks for the great tool!
Reported on: 2025-05-07 10:22
httpx version:
v1.7.0
Current Behavior:
When using
httpxwith the-tech-detectflag, the ASP.NET technology (specifically versionMicrosoft ASP.NET:2.0.50727) is not detected when scanning the root path of the site (http://testaspnet.vulnweb.com/), even though the server response contains the following headers:However, when making a request to a non-existent
.aspxfile (e.g.,/nonexistent.aspx),httpxcorrectly detects and displays the ASP.NET version in thetechfield.Expected Behavior:
httpx -tech-detectshould detect ASP.NET version regardless of the URL path suffix if the relevant headers are present in the response.Steps To Reproduce:
❌ The
"tech"field does not include ASP.NET version.✅ The
"tech"field includes:"Microsoft ASP.NET:2.0.50727"Anything else:
curlconfirms the headers are also present on the root path:httpxuses the.aspxsuffix as a heuristic for enabling ASP.NET detection, which leads to missing detections for other paths.-tech-detectconsidered headers independently from the path.Thanks for the great tool!
Reported on: 2025-05-07 10:22