From 68bf312c6c7e90f9b419158d52200a04a80ac387 Mon Sep 17 00:00:00 2001 From: Filipe Pina Date: Thu, 13 Apr 2023 00:04:27 +0100 Subject: [PATCH] cleanup unwanted differences from upstream --- common/httpx/option.go | 2 +- runner/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/httpx/option.go b/common/httpx/option.go index 82d9481..bec97ed 100644 --- a/common/httpx/option.go +++ b/common/httpx/option.go @@ -61,7 +61,7 @@ var DefaultOptions = Options{ VHostIgnoreNumberOfLines: false, VHostStripHTML: false, VHostSimilarityRatio: 85, - DefaultUserAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 ppbsecurity/httpx", + DefaultUserAgent: "httpx - Open-source project (github.com/projectdiscovery/httpx)", } func (options *Options) parseCustomCookies() { diff --git a/runner/options.go b/runner/options.go index 8cfb8f7..d231c5d 100644 --- a/runner/options.go +++ b/runner/options.go @@ -356,7 +356,7 @@ func ParseOptions() *Options { ) flagSet.CreateGroup("output", "Output", - flagSet.StringVarP(&options.Output, "", "output", "", "file to write output results"), + flagSet.StringVarP(&options.Output, "output", "o", "", "file to write output results"), flagSet.BoolVarP(&options.StoreResponse, "store-response", "sr", false, "store http response to output directory"), flagSet.StringVarP(&options.StoreResponseDir, "store-response-dir", "srd", "", "store http response to custom directory"), flagSet.BoolVar(&options.CSVOutput, "csv", false, "store output in csv format"),