layout html online


SUBMITTED BY: edgarrgd

DATE: Sept. 20, 2023, 3:53 p.m.

UPDATED: Dec. 27, 2023, 3:57 a.m.

FORMAT: Text only

SIZE: 5.9 kB

HITS: 512

  1. {
  2. "Version": "1",
  3. "ReleaseNotes": "Nueva Actualización Disponible en AionCoServidorPrivado VPN. ¿Deseas instalar?",
  4. "Servers": [
  5. {
  6. "Name": "<!DOCTYPE html>
  7. <html>
  8. <head>
  9. <title>Configuración de Servidores</title>
  10. <!--Css-->
  11. <link rel="stylesheet" href="estilos.css">
  12. </head>
  13. <body>
  14. <!--Html-->
  15. <h1>Configuración de Servidores</h1>
  16. <label for="version">Versión:</label>
  17. <input type="text" id="version"><br>
  18. <label for="release-notes">Notas de lanzamiento:</label><br>
  19. <textarea id="release-notes" rows="4" cols="50"></textarea><br>
  20. <h2>Servidores:</h2>
  21. <div id="server-container"></div>
  22. <button class="add-server" onclick="addServer()">Añadir Servidor</button>
  23. <button onclick="generarJSON()">Generar JSON</button>
  24. <h2>JSON generado:</h2>
  25. <pre id="json-output"></pre>
  26. <!--Javascript-->
  27. <script>
  28. function generarJSON() {
  29. const version = document.getElementById("version").value;
  30. const releaseNotes = document.getElementById("release-notes").value;
  31. const config = {
  32. Version: version,
  33. ReleaseNotes: releaseNotes,
  34. Servers: []
  35. };
  36. const serverContainer = document.getElementById("server-container");
  37. // Agrega los servidores al objeto config
  38. const servers = Array.from(serverContainer.getElementsByClassName("server"));
  39. servers.forEach((server) => {
  40. const name = server.getElementsByClassName("name-input")[0].value;
  41. const flag = server.getElementsByClassName("flag-input")[0].value;
  42. config.Servers.push({
  43. Name: name,
  44. FLAG: flag
  45. });
  46. });
  47. // Convierte el objeto en una cadena JSON legible
  48. const jsonString = JSON.stringify(config, null, 4);
  49. // Muestra el JSON generado en el área de texto
  50. document.getElementById("json-output").textContent = jsonString;
  51. }
  52. function addServer() {
  53. const serverContainer = document.getElementById("server-container");
  54. const serverElement = document.createElement("div");
  55. serverElement.className = "server";
  56. serverElement.innerHTML = `
  57. <input type="text" class="name-input" placeholder="Nombre del servidor">
  58. <input type="text" class="flag-input" placeholder="FLAG">
  59. <button onclick="removeServer(this)">Eliminar</button>
  60. `;
  61. serverContainer.appendChild(serverElement);
  62. }
  63. function removeServer(button) {
  64. const serverContainer = document.getElementById("server-container");
  65. const serverElement = button.parentNode;
  66. serverContainer.removeChild(serverElement);
  67. }
  68. </script>
  69. </body>
  70. </html>
  71. ",
  72. "FLAG": "us",
  73. "ServerIP": "172.233.215.110",
  74. "ServerPort": "22",
  75. "SSLPort": "",
  76. "ProxyIP": "",
  77. "ProxyPort": "",
  78. "ServerUser": "",
  79. "ServerPass": "",
  80. "Payload": "BASELINE-CONTROL- wss:\/\/ora13-3.megacen.eu.org\/ HTTP\/1.1[crlf]Host: assine.vivo.com.br[crlf]Upgrade: Websocket[crlf]Connection: Keep-Alive[crlf]TOPSPEED[crlf][crlf]",
  81. "SNI": "",
  82. "Slowchave": "f5ed3e738ecbd26a58ba43f74332c1e25a9262190266cf11a552fce14e408e3a",
  83. "Nameserver": "grupo.b-corp.xyz",
  84. "Slowdns": "8.8.8.8",
  85. "isSSL": "false",
  86. "isPayloadSSL": "false",
  87. "isSlow": "true",
  88. "isInject": "false",
  89. "isDirect": "false"
  90. },
  91. {
  92. "Name": "DIRECT-SERVIDOR 1",
  93. "FLAG": "us",
  94. "ServerIP": "arts.giphy.com",
  95. "ServerPort": "80",
  96. "SSLPort": "443",
  97. "ProxyIP": "",
  98. "ProxyPort": "",
  99. "ServerUser": "Edgardoo",
  100. "ServerPass": "Edgarr",
  101. "Payload": "GET \/ HTTP\/1.1[crlf]Host: ora13-3n.megacen.eu.org[crlf]Connection: Upgrade[crlf]User-Agent: [ua][crlf]Upgrade: websocket[crlf][crlf]",
  102. "SNI": "",
  103. "Slowchave": "",
  104. "Nameserver": "",
  105. "Slowdns": "",
  106. "isSSL": "false",
  107. "isPayloadSSL": "false",
  108. "isSlow": "false",
  109. "isInject": "false",
  110. "isDirect": "true"
  111. },
  112. {
  113. "Name": "SLOWNSDNS-SERVIDOR 1",
  114. "FLAG": "us",
  115. "ServerIP": "129.151.122.112",
  116. "ServerPort": "90",
  117. "SSLPort": "446",
  118. "ProxyIP": "",
  119. "ProxyPort": "",
  120. "ServerUser": "Edgardoo",
  121. "ServerPass": "Edgarr",
  122. "Payload": "",
  123. "SNI": "",
  124. "Slowchave": "97c789f9724e6a29f3fc402380b974d95279314b61937199630501c61a9ecc6a",
  125. "Nameserver": "ora13-3n.megacen.eu.org",
  126. "Slowdns": "8.8.8.8",
  127. "isSSL": "false",
  128. "isPayloadSSL": "false",
  129. "isSlow": "true",
  130. "isInject": "false",
  131. "isDirect": "false"
  132. },
  133. {
  134. "Name": "SSL+PAYLOAD-SERVIDOR 1",
  135. "FLAG": "us",
  136. "ServerIP": "sg1.sshws.me",
  137. "ServerPort": "443",
  138. "SSLPort": "443",
  139. "ProxyIP": "",
  140. "ProxyPort": "",
  141. "ServerUser": "sshocean-master",
  142. "ServerPass": "saulpro",
  143. "Payload": "GET \/ HTTP\/1.1[crlf]Host: sg1.sshws.me[crlf]Connection: Upgrade[crlf]User-Agent: [ua][crlf]Upgrade: websocket[crlf][crlf]",
  144. "SNI": "survey.medallia.com",
  145. "Slowchave": "",
  146. "Nameserver": "",
  147. "Slowdns": "",
  148. "isSSL": "false",
  149. "isPayloadSSL": "true",
  150. "isSlow": "false",
  151. "isInject": "false",
  152. "isDirect": "false"
  153. },
  154. {
  155. "Name": "ssh\/ssl",
  156. "FLAG": "us",
  157. "ServerIP": "161.132.39.95",
  158. "Slowchave": "",
  159. "Nameserver": "",
  160. "Slowdns": "",
  161. "ServerPort": "",
  162. "SSLPort": "443",
  163. "ProxyIP": "",
  164. "ProxyPort": "",
  165. "ServerUser": "DYTECDROID",
  166. "ServerPass": "DANNYLP090",
  167. "Payload": "",
  168. "SNI": "survey.medallia.com",
  169. "isSSL": true,
  170. "isPayloadSSL": false,
  171. "isInject": false,
  172. "isDirect": false,
  173. "isSlow": false
  174. }
  175. ]
  176. }

comments powered by Disqus