- Scan ID:
- 9d635350-8205-44d5-ace9-961582946d6dFinished
- Submitted URL:
- https://draw.adysec.com/
- Report Finished:
Links · 0 found
The outgoing links identified from the page
JavaScript Variables · 5 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
Name | Type |
---|---|
0 | string |
onbeforetoggle | string |
documentPictureInPicture | string |
onscrollend | string |
__cfBeacon | string |
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 AI画图</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: auto;
color: #333;
}
.container {
max-width: 800px;
width: 100%;
padding: 20px;
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
text-align: center;
overflow: hidden;
}
h1 {
color: #007BFF;
margin-bottom: 20px;
}
form {
margin-bottom: 20px;
}
label {
display: block;
font-size: 16px;
margin-bottom: 8px;
}
input[type="text"] {
width: 80%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 10px;
}
button {
padding: 10px 20px;
font-size: 16px;
color: #fff;
background-color: #007BFF;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
.result {
margin-top: 20px;
text-align: center;
}
img {
max-width: 100%;
max-height: 80vh;
height: auto;
border: 1px solid #ddd;
border-radius: 4px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: block;
margin: 0 auto;
}
.error {
color: #dc3545;
}
</style>
</head>
<body>
<div class="container">
<h1>AdySec AI画图</h1>
<form id="aiForm">
<label for="prompt">请输入提示词:(英文提示词更准确)</label>
<input type="text" id="prompt" name="prompt" required="" placeholder="例如:cyberpunk cat">
<button type="submit">生成图像</button>
</form>
<div class="result" id="result"></div>
</div>
<script>
document.getElementById('aiForm').addEventListener('submit', async function(event) {
event.preventDefault();
const formData = new FormData(this);
const prompt = formData.get('prompt');
const resultDiv = document.getElementById('result');
resultDiv.innerHTML = '<p>生成中...</p>';
try {
const response = await fetch('/', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ prompt: prompt })
});
if (response.ok) {
const blob = await response.blob();
const url = URL.createObjectURL(blob);
resultDiv.innerHTML = '<img src="' + url + '" alt="AI 画图结果">';
} else {
resultDiv.innerHTML = '<p class="error">发生错误: ' + response.statusText + '</p>';
}
} catch (error) {
resultDiv.innerHTML = '<p class="error">发生错误: ' + error.message + '</p>';
}
});
</script>
<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:'8c5e09aeafcf3847',t:'MTcyNjc5NTY5Ni4wMDAwMDA='};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":"8c5e09aeafcf3847","version":"2024.8.0","r":1,"serverTiming":{"name":{"cfExtPri":true,"cfL4":true}},"token":"c15e2635b2bc4852bef7bda291a02d25","b":1}" crossorigin="anonymous"></script>
</body></html>