Skip to content

Commit

Permalink
Device view, DNS side tool
Browse files Browse the repository at this point in the history
  • Loading branch information
veniware committed Jun 17, 2024
1 parent a251814 commit a685c58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Protest/Front/deviceview.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,11 @@ class DeviceView extends View {
sshButton.onclick = ()=> new Ssh({host:sshHost, username:username, file:file});
}

if (ports.includes(53)) {
const dnsButton = this.CreateSideButton("mono/dns.svg", "DNS lookup");
dnsButton.onclick = ()=> new DnsLookup({entries:[], server:host, type:"A", timeout:2000, transport:"Auto", isRecursive:true});
}

if (overwriteProtocol.http) { //http
const actionButton = this.CreateSideButton("mono/earth.svg", "HTTP");
actionButton.onclick = ()=> {
Expand Down

0 comments on commit a685c58

Please sign in to comment.