Skip to content

Commit

Permalink
color
Browse files Browse the repository at this point in the history
  • Loading branch information
veo committed Nov 3, 2021
1 parent b92d278 commit bca24e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Binary file modified img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 4 additions & 9 deletions pkg/httpx/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1148,18 +1148,13 @@ retry:
}

if len(filePaths) > 0 {
file_paths := strings.Join(filePaths, "\",\""+URL.String())
filePaths := strings.Join(filePaths, "\",\""+URL.String())
builder.WriteString(" [")
builder.WriteString(aurora.BrightYellow("FileFuzz:").String())
if !scanopts.OutputWithNoColor {
builder.WriteString(aurora.Yellow("\"" + URL.String() + file_paths).String())
builder.WriteString(aurora.BrightYellow("FileFuzz:").String())
builder.WriteString(aurora.Yellow("\"" + URL.String() + filePaths + "\"").String())
} else {
builder.WriteString("\"" + URL.String() + file_paths)
}
if !scanopts.OutputWithNoColor {
builder.WriteString(aurora.Yellow("\"").String())
} else {
builder.WriteString("\"")
builder.WriteString("FileFuzz: \"" + URL.String() + filePaths + "\"")
}
builder.WriteRune(']')
}
Expand Down

0 comments on commit bca24e2

Please sign in to comment.