mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
Merge pull request #2287 from ayanrajpoot10/dev
feat: add shorthand flag for websocket option in command line
This commit is contained in:
@@ -113,7 +113,7 @@ PROBES:
|
||||
-td, -tech-detect display technology in use based on wappalyzer dataset
|
||||
-cff, -custom-fingerprint-file string path to a custom fingerprint file for technology detection
|
||||
-method display http request method
|
||||
-websocket display server using websocket
|
||||
-ws, -websocket display server using websocket
|
||||
-ip display host ip
|
||||
-cname display host cname
|
||||
-extract-fqdn, -efqdn get domain and subdomains from response body and header in jsonl/csv output
|
||||
|
||||
+1
-1
@@ -386,7 +386,7 @@ func ParseOptions() *Options {
|
||||
flagSet.BoolVarP(&options.TechDetect, "tech-detect", "td", false, "display technology in use based on wappalyzer dataset"),
|
||||
flagSet.StringVarP(&options.CustomFingerprintFile, "custom-fingerprint-file", "cff", "", "path to a custom fingerprint file for technology detection"),
|
||||
flagSet.BoolVar(&options.OutputMethod, "method", false, "display http request method"),
|
||||
flagSet.BoolVar(&options.OutputWebSocket, "websocket", false, "display server using websocket"),
|
||||
flagSet.BoolVarP(&options.OutputWebSocket, "websocket", "ws", false, "display server using websocket"),
|
||||
flagSet.BoolVar(&options.OutputIP, "ip", false, "display host ip"),
|
||||
flagSet.BoolVar(&options.OutputCName, "cname", false, "display host cname"),
|
||||
flagSet.BoolVarP(&options.ExtractFqdn, "efqdn", "extract-fqdn", false, "get domain and subdomains from response body and header in jsonl/csv output"),
|
||||
|
||||
Reference in New Issue
Block a user