From f88f51ea65b87977b4618e23df904e5193d911c5 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Thu, 27 May 2021 02:17:52 +0530 Subject: [PATCH 1/5] Update banner.go --- runner/banner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/banner.go b/runner/banner.go index aba93436..3c42565d 100644 --- a/runner/banner.go +++ b/runner/banner.go @@ -8,7 +8,7 @@ const banner = ` / __ \/ __/ __/ __ \| / / / / / /_/ /_/ /_/ / | /_/ /_/\__/\__/ .___/_/|_| - /_/ v1.0.8 + /_/ v1.0.8-dev ` // Version is the current version of httpx From 072843db1be294b10e142a08adaeeb20efcf179a Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Mon, 31 May 2021 10:21:11 +0200 Subject: [PATCH 2/5] Adding error check to unparsable domains Fixes #290 --- runner/runner.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runner/runner.go b/runner/runner.go index f93b1cab..fa6fe2ac 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -551,7 +551,10 @@ retry: domain = parts[0] customHost = parts[1] } - URL, _ := urlutil.Parse(domain) + URL, err := urlutil.Parse(domain) + if err != nil { + return Result{URL: domain, err: err} + } URL.Scheme = protocol if !strings.Contains(domain, URL.Port) { From e15b712bbeed28fcf0eba259aaa42bd7341d01b9 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Mon, 31 May 2021 15:20:15 +0530 Subject: [PATCH 3/5] misc changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9069b588..6637042b 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers usi httpx requires **go1.14+** to install successfully. Run the following command to get the repo - ```sh -▶ GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx +GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx ``` # Usage From 26766c0726f1e81ec0701b4048241cfa33c260a1 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Mon, 31 May 2021 15:59:44 +0530 Subject: [PATCH 4/5] Reporting issue template update --- .github/issue-report.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/issue-report.md b/.github/issue-report.md index 21b96b3d..b72b4686 100644 --- a/.github/issue-report.md +++ b/.github/issue-report.md @@ -1,8 +1,8 @@ --- name: Issue report about: Create a report to help us improve -title: "[issue]" -labels: '' +title: "" +labels: 'Type:+Bug' assignees: '' --- @@ -10,9 +10,17 @@ assignees: '' **Describe the bug** A clear and concise description of what the bug is. -**Nuclei version** -Please share the version of the httpx you are running with `httpx -version` +**Environment details** +Please share the below details to help us quickly validate/replicate the issue. +- `httpx -version` +- `go version` +- `uname -a` -**Screenshot of the error or bug** -please add the screenshot showing bug or issue you are facing. + +**Error details** +Please copy-paste the error trace or details from terminal to help us quickly validate/replicate the issue. + +```bash + +``` \ No newline at end of file From 2143c560b846b15255e51f55201955cb43e6c8cc Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Mon, 31 May 2021 16:00:08 +0530 Subject: [PATCH 5/5] version update --- runner/banner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/banner.go b/runner/banner.go index 3c42565d..8a680d6d 100644 --- a/runner/banner.go +++ b/runner/banner.go @@ -8,11 +8,11 @@ const banner = ` / __ \/ __/ __/ __ \| / / / / / /_/ /_/ /_/ / | /_/ /_/\__/\__/ .___/_/|_| - /_/ v1.0.8-dev + /_/ v1.0.9 ` // Version is the current version of httpx -const Version = `v1.0.8` +const Version = `v1.0.9` // showBanner is used to show the banner to the user func showBanner() {