Spaces:
Paused
Paused
Update static/index.html
Browse files12234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171185119781201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651116616716816917017117217317417517617717817918018118218183201841851861871881891901911921931941951961971981992002012022032042052062072082092102112122223213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282<!DOCTYPE html><html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport"content="width=device-width, initial-scale=1.0">
<title>HTTP Server Detector</title>
<style>
*{box-sizing:border-box;font-family:Arial;}
body{
margin:0;background:#090d16;color:white;padding:15px;
}
.box{
max-width:600px;margin:auto;background:#151b2b;padding:20px;border-radius:20px;
}
h1{
text-align:center;
}
.info{
text-align:center;color:#aaa;
}
button{
width:100%;padding:15px;margin-top:12px;border:0;border-radius:12px;font-size:16px;
}
.scan{
background:#2563eb;color:white;
}
.copy{
background:#16a34a;color:white;
}
.clear{
background:#dc2626;color:white;
}
pre{
background:#020617;padding:15px;border-radius:12px;color:#00ff99;font-size:13px;white-space:pre-wrap;word-break:break-word;
}
</style>
</head>
<body>
<h2>HTTP Server Detector</h2>
<button onclick="scan()">فحص<div class="box">
<h1>🌐 HTTP Detector</h1>
<div class="info">
Target:<br>
https://stuartmods.xyz
</div>
<button class="scan"onclick="scan()">
🔍 بدء الفحص
</button>
<button class="copy"onclick="copyLog()">
📋 نسخ السجلات
</button>
<button class="clear"onclick="clearLog()">
🗑 مسح
</button>
<pre id="out"></pre><pre id="output">لا توجد نتائج</pre>
</div>
<script>
let logs="";
async function scan(){
let r = await fetch("/scan");
let data = await r.json();document.getElementById("output").textContent="جاري الفحص...";
try{
let res =await fetch("/scan");
let data =await res.json();
logs =JSON.stringify(data,null,2);
document.getElementById("output").textContent =logs;
document.getElementById("out").textContent =JSON.stringify(data,null,2);
}
catch(e){
logs ="ERROR: "+e;
document.getElementById("output").textContent =logs;
}
}
function copyLog(){
if(!logs){
alert("لا توجد سجلات");
return;
}
navigator.clipboard.writeText(logs);
alert("تم النسخ");
}
function clearLog(){
logs="";
document.getElementById("output").textContent ="لا توجد نتائج";
}
</script>
</body>
</html>static/index.html+261-9