mirror of
https://github.com/ffuf/ffuf
synced 2024-11-10 06:04:17 +00:00
Fixed Error for HTML Output (#714)
* Update file_html.go Fixed Error for HTML Output [ERR] template: output.html:74:94: executing "output.html" at <$result.HTMLColor>: can't evaluate field HTMLColor in type output.htmlResult * Update CONTRIBUTORS.md * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: Joona Hoikkala <5235109+joohoi@users.noreply.github.com>
This commit is contained in:
parent
96fef6213d
commit
6f29907b4f
2 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
|||
* [eur0pa](https://github.com/eur0pa)
|
||||
* [fabiobauer](https://github.com/fabiobauer)
|
||||
* [fang0654](https://github.com/fang0654)
|
||||
* [haseobang](https://github.com/haseobang)
|
||||
* [Hazegard](https://github.com/Hazegard)
|
||||
* [helpermika](https://github.com/helpermika)
|
||||
* [h1x](https://github.com/h1x-lnx)
|
||||
|
|
|
@ -108,7 +108,7 @@ const (
|
|||
<div style="display:none">
|
||||
|result_raw|{{ $result.StatusCode }}{{ range $keyword, $value := $result.Input }}|{{ $value | printf "%s" }}{{ end }}|{{ $result.Url }}|{{ $result.RedirectLocation }}|{{ $result.Position }}|{{ $result.ContentLength }}|{{ $result.ContentWords }}|{{ $result.ContentLines }}|{{ $result.ContentType }}|{{ $result.Duration }}|{{ $result.ResultFile }}|{{ $result.ScraperData }}|{{ $result.FfufHash }}|
|
||||
</div>
|
||||
<tr class="result-{{ $result.StatusCode }}" style="background-color: {{$result.HTMLColor}};">
|
||||
<tr class="result-{{ $result.StatusCode }}" style="background-color: {{ $result.HTMLColor }};">
|
||||
<td><font color="black" class="status-code">{{ $result.StatusCode }}</font></td>
|
||||
{{ range $keyword, $value := $result.Input }}
|
||||
<td>{{ $value | printf "%s" }}</td>
|
||||
|
|
Loading…
Reference in a new issue