https://classification.adysec.com/

Submitted URL:
https://classification.adysec.com/
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 6 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

NameType
0string
onbeforetogglestring
documentPictureInPicturestring
onscrollendstring
submitTextstring
__cfBeaconstring

Console log messages · 0 found

Messages logged to the web console

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="zh"><head>
          <meta charset="UTF-8">
          <link rel="icon" type="image/png" sizes="32x32" href="https://cdn.oaistatic.com/_next/static/media/favicon-32x32.630a2b99.png">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <title>AdySec 文本分类</title>
          <style>
            body {
              font-family: Arial, sans-serif;
              margin: 0;
              padding: 20px;
              background-color: #f4f4f4;
            }
            h1 {
              text-align: center;
              color: #333;
              margin-bottom: 20px;
            }
            .container {
              max-width: 800px;
              margin: 0 auto;
              padding: 20px;
              background-color: #fff;
              border-radius: 8px;
              box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            }
            form {
              margin-bottom: 20px;
            }
            label {
              font-size: 16px;
              margin-bottom: 10px;
              display: block;
            }
            input[type="text"] {
              width: calc(100% - 22px);
              padding: 10px;
              font-size: 16px;
              border: 1px solid #ccc;
              border-radius: 4px;
              margin-bottom: 15px; /* 增加与提交按钮的间距 */
            }
            input[type="submit"] {
              background-color: #4CAF50;
              color: white;
              border: none;
              padding: 10px 20px;
              font-size: 16px;
              cursor: pointer;
              border-radius: 4px;
              margin-top: 10px; /* 增加与输入框的间距 */
            }
            input[type="submit"]:hover {
              background-color: #45a049;
            }
            table {
              width: 100%;
              border-collapse: collapse;
              margin-top: 20px;
            }
            th, td {
              border: 1px solid #ddd;
              padding: 10px;
              text-align: left;
            }
            th {
              background-color: #f2f2f2;
              font-weight: bold;
            }
            tbody tr:nth-child(even) {
              background-color: #f9f9f9;
            }
          </style>
          <script>
            async function submitText() {
              const text = document.getElementById('textInput').value;
              const response = await fetch('/', {
                method: 'POST',
                headers: { 'Content-Type': 'application/json' },
                body: JSON.stringify({ text })
              });
              const result = await response.json();
              const resultTable = document.getElementById('resultTable');
              
              if (result.response && Array.isArray(result.response)) {
                resultTable.innerHTML = `
                  <table>
                    <thead>
                      <tr>
                        <th>标签</th>
                        <th>概率</th>
                      </tr>
                    </thead>
                    <tbody>
                      ${result.response.map(item => `
                        <tr>
                          <td>${item.label}</td>
                          <td>${(item.score * 100).toFixed(2)}%</td>
                        </tr>
                      `).join('')}
                    </tbody>
                  </table>
                `;
              } else {
                resultTable.innerHTML = '分类结果未返回。';
              }
            }
          </script>
        </head>
        <body>
          <div class="container">
            <h1>AdySec 文本分类</h1>
            <form onsubmit="event.preventDefault(); submitText();">
              <label for="textInput">输入文本:(如I like you. I love you)</label>
              <input type="text" id="textInput" name="textInput" required="">
              <input type="submit" value="提交">
            </form>
            <div id="resultTable"></div>
          </div>
        <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8c5e0a1aff7f3852',t:'MTcyNjc5NTcxMy4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe><script defer="" src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;rayId&quot;:&quot;8c5e0a1aff7f3852&quot;,&quot;version&quot;:&quot;2024.8.0&quot;,&quot;r&quot;:1,&quot;serverTiming&quot;:{&quot;name&quot;:{&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true}},&quot;token&quot;:&quot;c15e2635b2bc4852bef7bda291a02d25&quot;,&quot;b&quot;:1}" crossorigin="anonymous"></script>

        
      </body></html>