home.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {{ define "home.html" }}
  2. <!DOCTYPE html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <link rel="stylesheet" href="/static/bootstrap-5.0.2-dist/css/bootstrap.min.css">
  6. </head>
  7. <body style="background-color: black;">
  8. <div class="container-fluid row sticky-top pb-0" style="background-color: black; opacity: 0.75;">
  9. <div class="container-fluid row h-100 shadow-lg p-0 mb-0 rounded">
  10. <div class="col-2 p-1">
  11. <div style="color: rgba(35, 207, 0, 0.87); font-size: xx-large; font-family: monospace; opacity: 1;">
  12. <a href="/home" style="color: rgba(35, 207, 0, 0.87)">// Kyoketsu</a>
  13. </div>
  14. </div>
  15. <div class="row container-fluid p-1">
  16. <div class="col-2">
  17. <a style="color: white; font-family: monospace;">Target network to enumerate:</a>
  18. <form method="post"
  19. hx-target="#response-div"
  20. hx-post="/refresh"
  21. hx-ext="json-enc">
  22. <input type="text" name="ip_address" placeholder="192.168.50.1/24" required>
  23. <button type="submit">scan</button>
  24. </form>
  25. </div>
  26. <div class="col-4">
  27. <form method="post"
  28. hx-target="#response-div"
  29. hx-post="/excludefqdn"
  30. hx-ext="json-enc">
  31. <div class="row container-fluid p-1">
  32. <div class="col-auto">
  33. <div class="row">
  34. <a style="color: white; font-family: monospace;">Exclude FQDN pattern:</a>
  35. </div>
  36. <div class="row">
  37. <input type="text" name="fqdn_pattern" placeholder="wasted-domain.xyz">
  38. </div>
  39. </div>
  40. <div class="col-auto">
  41. <div class="row">
  42. <a style="color: white; font-family: monospace;">Filter on network address:</a>
  43. </div>
  44. <div class="row">
  45. <input type="text" name="network_address" placeholder="192.168.50.0">
  46. </div>
  47. <div class="col-2">
  48. <button type="submit">filter</button>
  49. </div>
  50. </div>
  51. </form>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <table class="table table-dark table-bordered table-hover table-">
  58. <thead>
  59. <tr>
  60. <th scope="col"><p style="font-family: monospace;">FQDN</p></th>
  61. <th scope="col"><p style="font-family: monospace;">Link</p></th>
  62. <th scope="col"><p style="font-family: monospace;">IPv4 Address</p></th>
  63. <th scope="col"><p style="font-family: monospace;">IPv4 Network</p></th>
  64. <th scope="col"><p style="font-family: monospace;">Ping Response?</p></th>
  65. <th scope="col"><p style="font-family: monospace;">Listening Ports</p></th>
  66. </tr>
  67. </thead>
  68. <tbody id="response-div">
  69. {{ range . }}
  70. <tr>
  71. {{ template "ip_table.html" . }}
  72. </tr>
  73. {{ end }}
  74. </tbody>
  75. </table>
  76. <script src="/static/htmx.min.js"></script>
  77. <script src="/static/json-enc.js"></script>
  78. </body>
  79. </html>
  80. {{ end }}