-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
httpx version:
httpx -version
__ __ __ _ __
/ /_ / /_/ /_____ | |/ /
/ __ \/ __/ __/ __ \| /
/ / / / /_/ /_/ /_/ / |
/_/ /_/\__/\__/ .___/_/|_|
/_/ v1.2.8
projectdiscovery.io
[INF] Current Version: v1.2.8
Current Behavior:
Hi, i'm trying to store the response into a specify directory, but it went wrong:
here is my command: httpx.exe -l search-1.txt -sc -cl -location -title -server -ip -mc 200,301,302,307 -o res.txt -srd output -nc
the content of [search-1.txt] is:
http://49.234.225.181:8086
when httpx.exe running,
[ERR] Could not write response at path 'C:\Users\Admin\Desktop\res\output\49.234.225.181:8086\eb59444a97b84fedb7571843ccd71e0f5080951a.txt', to disk: open C:\Users\Admin\Desktop\res\output\49.234.225.181:8086\eb59444a97b84fedb7571843ccd71e0f5080951a.txt: The filename, directory name, or volume label syntax is incorrect.
Expected Behavior:
when my input file contains a colon (like http://49.234.225.181:8086) , httpx can replace colon with _ or others symbol, so it can save response into output dir successfuly .
Steps To Reproduce:
- create a new file [search-1.txt], the content is :
http://49.234.225.181:8086 - run the command: httpx.exe -l search-1.txt -sc -cl -location -title -server -ip -mc 200,301,302,307 -o res.txt -srd output -nc
- httpx.exe go wrong.
Anything else:
No more.