Skip to content

Commit

Permalink
adding links on the fuzzer results
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Nov 21, 2023
1 parent e680b58 commit 8cf2a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/js/fetchurls.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function fetchUrls() {
speedElement.innerText = url.data;
bar.innerText = url.progress.toFixed(0) + "%"; // format the percentage to one decimal place
if (url.status === 200) { // only display 200 status codes in green
container.innerHTML += `<p>${url.id} ${url.path} - <span style="color: green;"> http code: ${url.status} progress: ${url.progress} ${url.data}</span></p>`;
container.innerHTML += `<p>${url.id} <a href="${url.path}" target="_blank">${url.path}</a> - <span style="color: green;"> http code: ${url.status} progress: ${url.progress} ${url.data}</span></p>`;
}
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion templates/home.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h5><i class="bi bi-search"></i> Directory Fuzzing (<span id="data">{{index .Str
style="width: 0%; background-color: #3c3b36; border: 1px solid #ac0c0c;"></div>
</div>
<div class="mt-3">
<script type="text/javascript" src="/static/js/fetchurls.js">fetchurls();</script>
<script type="text/javascript" src="/static/js/fetchurls.js" defer></script>
<div id="container"
style="height: 400px; overflow-y: scroll; background-color: #000; color: #0F0; font-family: monospace; font-size: 12px;">
<p>Loading data...</p>
Expand Down

0 comments on commit 8cf2a1a

Please sign in to comment.