- ID de exploración:
- 440a651c-21d9-45f1-9f84-64be4628e23bFinalizado
- URL enviada:
- https://classification.adysec.com/
- Informe finalizado:
Enlaces: 0 encontrados
Los enlaces salientes identificados en la página
Variables JavaScript: 6 encontradas
Las variables JavaScript globales cargadas en el objeto de ventana de una página son variables declaradas fuera de las funciones y a las que se puede acceder desde cualquier lugar del código en el ámbito actual
Nombre | Tipo |
---|---|
0 | string |
onbeforetoggle | string |
documentPictureInPicture | string |
onscrollend | string |
submitText | string |
__cfBeacon | string |
Mensajes de registro de la consola: 0 encontrados
Mensajes registrados en la consola web
HTML
El cuerpo HTML sin procesar de la página
<!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="{"rayId":"8c5e0a1aff7f3852","version":"2024.8.0","r":1,"serverTiming":{"name":{"cfExtPri":true,"cfL4":true}},"token":"c15e2635b2bc4852bef7bda291a02d25","b":1}" crossorigin="anonymous"></script>
</body></html>