added url format to host result (#1430)

* chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (#1400)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* added url format to host result

* removing target=_blank, the default behaviour should be to open in same tab

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
This commit is contained in:
Philippe Delteil 2023-11-13 02:19:13 -05:00 committed by GitHub
parent 65f1c95b71
commit 5d5f8bbbaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@
<ul style="list-style-type: none; padding-left: 0">
<li>
<strong>Host:</strong>
<a style="text-decoration: none; color: blue">{{.URL}}</a>
<a href="{{.URL}}" style="text-decoration: none; color: blue">{{.URL}}</a>
</li>
{{if $ExtractTitle}}
<li>
@ -119,7 +119,7 @@
</ul>
</td>
<td style="padding: 10px; border: 1px solid black">
<a href="{{.ScreenshotPathRel | safeURL}}" target="_blank">
<a href="{{.ScreenshotPathRel | safeURL}}">
<img src="{{.ScreenshotPathRel | safeURL}}" alt="Screenshot" style="width: 400px; height: 300px" />
</a>
</td>
@ -130,4 +130,4 @@
</table>
</body>
</html>
</html>