123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {{ define "home.html" }}
- <!DOCTYPE html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <link rel="stylesheet" href="/static/bootstrap-5.0.2-dist/css/bootstrap.min.css">
- </head>
- <body style="background-color: black;">
- <div class="container-fluid row sticky-top pb-0" style="background-color: black; opacity: 0.75;">
- <div class="container-fluid row h-100 shadow-lg p-0 mb-0 rounded">
- <div class="col-2 p-1">
- <div style="color: rgba(35, 207, 0, 0.87); font-size: xx-large; font-family: monospace; opacity: 1;">
- <a href="/home" style="color: rgba(35, 207, 0, 0.87)">// Kyoketsu</a>
- </div>
- </div>
- <div class="row container-fluid p-1">
- <div class="col-2">
- <a style="color: white; font-family: monospace;">Target network to enumerate:</a>
- <form method="post"
- hx-target="#response-div"
- hx-post="/refresh"
- hx-ext="json-enc">
- <input type="text" name="ip_address" placeholder="192.168.50.1/24" required>
- <button type="submit">scan</button>
- </form>
- </div>
- <div class="col-2">
- <a style="color: white; font-family: monospace;">Filter on network address:</a>
- <form method="post"
- hx-target="#response-div"
- hx-post="/subnets"
- hx-ext="json-enc">
- <input type="text" name="ip_address" placeholder="192.168.50.0" required>
- <button type="submit">filter</button>
- </form>
- </div>
- </div>
- </div>
- </div>
- <table class="table table-dark table-bordered table-hover table-">
- <thead>
- <tr>
- <th scope="col"><p style="font-family: monospace;">FQDN</p></th>
- <th scope="col"><p style="font-family: monospace;">IPv4 Address</p></th>
- <th scope="col"><p style="font-family: monospace;">IPv4 Network</p></th>
- <th scope="col"><p style="font-family: monospace;">Ping Response?</p></th>
- <th scope="col"><p style="font-family: monospace;">Listening Ports</p></th>
- </tr>
- </thead>
- <tbody id="response-div">
- {{ range . }}
- <tr>
- {{ template "ip_table.html" . }}
- </tr>
- {{ end }}
- </tbody>
- </table>
-
-
- <script src="/static/htmx.min.js"></script>
- <script src="/static/json-enc.js"></script>
- </body>
- </html>
- {{ end }}
|