Skip to content

Commit 6588305

Browse files
committed
优化httpx检测、输出 2022-06-28 15:04:1656399870
1 parent 4937103 commit 6588305

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

nuclei_Yaml/nuclei_yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func readConfig() {
230230
options.Retries = 1
231231
options.LeaveDefaultPorts = false
232232
options.MaxHostError = 30
233-
options.Project = false // 去重复
233+
options.Project = false // 去重复,导致file missing
234234
options.ProjectPath = os.TempDir()
235235
options.StopAtFirstMatch = false
236236
options.Stream = false

pkg/httpx/runner/options.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
package runner
22

33
import (
4-
"github.com/projectdiscovery/fileutil"
5-
"github.com/projectdiscovery/goconfig"
6-
"github.com/projectdiscovery/goflags"
7-
"github.com/projectdiscovery/gologger"
8-
"github.com/projectdiscovery/gologger/formatter"
9-
"github.com/projectdiscovery/gologger/levels"
104
"github.com/hktalent/scan4all/pkg/httpx/common/customheader"
115
"github.com/hktalent/scan4all/pkg/httpx/common/customlist"
126
customport "github.com/hktalent/scan4all/pkg/httpx/common/customports"
137
fileutilz "github.com/hktalent/scan4all/pkg/httpx/common/fileutil"
148
"github.com/hktalent/scan4all/pkg/httpx/common/slice"
159
"github.com/hktalent/scan4all/pkg/httpx/common/stringz"
10+
"github.com/projectdiscovery/fileutil"
11+
"github.com/projectdiscovery/goconfig"
12+
"github.com/projectdiscovery/goflags"
13+
"github.com/projectdiscovery/gologger"
14+
"github.com/projectdiscovery/gologger/formatter"
15+
"github.com/projectdiscovery/gologger/levels"
1616
"math"
1717
"os"
1818
"regexp"
@@ -249,18 +249,18 @@ func ParseOptions() *Options {
249249
options.ContentLength = false
250250
options.OutputContentType = false
251251
options.Location = false
252-
options.Favicon = false
252+
options.Favicon = true
253253
options.Hashes = ""
254254
options.Jarm = false
255255
options.OutputResponseTime = false
256256
options.OutputLinesCount = false
257-
options.OutputWordsCount = true
257+
options.OutputWordsCount = false
258258
options.ExtractTitle = true
259-
options.OutputServerHeader = false
259+
options.OutputServerHeader = true
260260
options.TechDetect = true
261-
options.OutputMethod = false
262-
options.OutputWebSocket = false
263-
options.OutputIP = false
261+
options.OutputMethod = true
262+
options.OutputWebSocket = true
263+
options.OutputIP = true
264264
options.OutputCName = false
265265
options.Asn = false
266266
options.OutputCDN = false

0 commit comments

Comments
 (0)