27.124.76.14:1000 (tcp/http) - last seen on 2024-11-07 at 04:16:43 UTC
-
- IP
- 27.124.76.14
- Network
- 27.124.76.0/23
- Device
-
<enterprise field>: device.class
- Operating System
- Microsoft Windows
- URL
-
http://27.124.76.14:1000/ 200
- HTTP Title
- SPEEDTEST POLITEKNIK PERKERETAAPIAN INDONESIA
- ASN
- AS152036
- Organization
- Politeknik Perkeretaapian Indonesia Madiun
- Protocol
- http
- Source
- datascan
-
- Operating System
- Microsoft Windows
- Product
- Apache HTTP Server 2.4.58
- HTTP Component(s)
- OpenSSL OpenSSL 3.1.3 PHP PHP 8.0.30
- CPE(s)
-
<enterprise field>: cpe
This feature requires at least a "Lion View" to unlock. Go to our Pricing page for more.
-
- Data MD5
- 4216131f4562c05e65e983a81aa1dd67
- HTTP Header MD5
- 626e8ee31d9930833985714027ed13bc
- HTTP Body MD5
- a5e36ae9ffff0b1019375e798f18a5df
-
HTTP/1.1 200 OK Date: Thu, 07 Nov 2024 04:16:40 GMT Server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.0.30 Last-Modified: Tue, 10 Sep 2024 05:27:57 GMT ETag: "3c8b-621bd22d7771f" Accept-Ranges: bytes Content-Length: 15499 Connection: close Content-Type: text/html <!DOCTYPE html> <html> <head> <link rel="shortcut icon" href="favicon.ico"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" /> <meta charset="UTF-8" /> <script type="text/javascript" src="speedtest.js"></script> <script type="text/javascript"> function I(i){return document.getElementById(i);} //LIST OF TEST SERVERS. Leave empty if you're doing a standalone installation. See documentation for details var SPEEDTEST_SERVERS=[ /*{ //this server doesn't actually exist, remove it name:"Example Server 1", //user friendly name for the server server:"//test1.mydomain.com/", //URL to the server. // at the beginning will be replaced with http:// or https:// automatically dlURL:"backend/garbage.php", //path to download test on this server (garbage.php or replacement) ulURL:"backend/empty.php", //path to upload test on this server (empty.php or replacement) pingURL:"backend/empty.php", //path to ping/jitter test on this server (empty.php or replacement) getIpURL:"backend/getIP.php" //path to getIP on this server (getIP.php or replacement) }, { //this server doesn't actually exist, remove it name:"Example Server 2", //user friendly name for the server server:"//test2.example.com/", //URL to the server. // at the beginning will be replaced with http:// or https:// automatically dlURL:"garbage.php", //path to download test on this server (garbage.php or replacement) ulURL:"empty.php", //path to upload test on this server (empty.php or replacement) pingURL:"empty.php", //path to ping/jitter test on this server (empty.php or replacement) getIpURL:"getIP.php" //path to getIP on this server (getIP.php or replacement) }*/ //add other servers here, comma separated ]; //INITIALIZE SPEEDTEST var s=new Speedtest(); //create speed test object s.setParameter("telemetry_level","basic"); //enable basic telemetry (for results sharing) //SERVER AUTO SELECTION function initServers(){ if(SPEEDTEST_SERVERS.length==0){ //standalone installation //just make the UI visible I("loading").className="hidden"; I("serverArea").style.display="none"; I("testWrapper").className="visible"; initUI(); }else{ //multiple servers var noServersAvailable=function(){ I("message").innerHTML="No servers available"; } var runServerSelect=function(){ s.selectServer(function(server){ if(server!=null){ //at least 1 server is available I("loading").className="hidden"; //hide loading message //populate server list for manual selection for(var i=0;i<SPEEDTEST_SERVERS.length;i++){ if(SPEEDTEST_SERVERS[i].pingT==-1) continue; var option=document.createElement("option"); option.value=i; option.textContent=SPEEDTEST_SERVERS[i].name; if(SPEEDTEST_SERVERS[i]===server) option.selected=true; I("server").appendChild(option); } //show test UI I("testWrapper").className="visible"; initUI(); }else{ //no servers are available, the test cannot proceed noServersAvailable(); } }); } if(typeof SPEEDTEST_SERVERS === "string"){ //need to fetch list of servers from specified URL s.loadServerList(SPEEDTEST_SERVERS,function(servers){ if(servers==null){ //failed to load server list noServersAvailable(); }else{ //server list loaded SPEEDTEST_SERVERS=servers; runServerSelect(); } }); }else{ //hardcoded server list s.addTestPoints(SPEEDTEST_SERVERS); runServerSelect(); } } } var meterBk=/Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent)?"#EAEAEA":"#80808040"; var dlColor="#6060AA", ulColor="#616161"; var progColor=meterBk; //CODE FOR GAUGES function drawMeter(c,amount,bk,fg,progress,prog){ var ctx=c.getContext("2d"); var dp=window.devicePixelRatio||1; var cw=c.clientWidth*dp, ch=c.clientHeight*dp; var sizScale=ch*0.0055; if(c.width==cw&&c.height==ch){ ctx.clearRect(0,0,cw,ch); }else{ c.width=cw; c.height=ch; } ctx.beginPath(); ctx.strokeStyle=bk; ctx.lineWidth=12*sizScale; ctx.arc(c.width/2,c.height-58*sizScale,c.height/1.8-ctx.lineWidth,-Math.PI*1.1,Math.PI*0.1); ctx.stroke(); ctx.beginPath(); ctx.strokeStyle=fg; ctx.lineWidth=12*sizScale; ctx.arc(c.width/2,c.height-58*sizScale,c.height/1.8-ctx.lineWidth,-Math.PI*1.1,amount*Math.PI*1.2-Math.PI*1.1); ctx.stroke(); if(typeof progress !== "undefined"){ ctx.fillStyle=prog; ctx.fillRect(c.width*0.3,c.height-16*sizScale,c.width*0.4*progress,4*sizScale); } } function mbpsToAmount(s){ return 1-(1/(Math.pow(1.3,Math.sqrt(s)))); } function format(d){ d=Number(d); if(d<10) return d.toFixed(2); if(d<100) return d.toFixed(1); return d.toFixed(0); } //UI CODE var uiData=null; function startStop(){ if(s.getState()==3){ //speed test is running, abort s.abort(); data=null; I("startStopBtn").className=""; I("server").disabled=false; initUI(); }else{ //test is not running, begin I("startStopBtn").className="running"; I("shareArea").style.display="none"; I("server").disabled=true; s.onupdate=function(data){ uiData=data; }; s.onend=function(aborted){ I("startStopBtn").className=""; I("server").disabled=false; updateUI(true); if(!aborted){ //if testId is present, show sharing panel, otherwise do nothing try{ var testId=uiData.testId; if(testId!=null){ var shareURL=window.location.href.substring(0,window.location.href.lastIndexOf("/"))+"/results/?id="+testId; I("resultsImg").src=shareURL; I("resultsURL").value=shareURL; I("testId").innerHTML=testId; I("shareArea").style.display=""; } }catch(e){} } }; s.start(); } } //this function reads the data sent back by the test and updates the UI function updateUI(forced){ if(!forced&&s.getState()!=3) return; if(uiData==null) return; var status=uiData.testState; I("ip").textContent=uiData.clientIp; I("dlText").textContent=(status==1&&uiData.dlStatus==0)?"...":format(uiData.dlStatus); drawMeter(I("dlMeter"),mbpsToAmount(Number(uiData.dlStatus*(status==1?oscillate():1))),meterBk,dlColor,Number(uiData.dlProgress),progColor); I("ulText").textContent=(status==3&&uiData.ulStatus==0)?"...":format(uiData.ulStatus); drawMeter(I("ulMeter"),mbpsToAmount(Number(uiData.ulStatus*(status==3?oscillate():1))),meterBk,ulColor,Number(uiData.ulProgress),progColor); I("pingText").textContent=format(uiData.pingStatus); I("jitText").textContent=format(uiData.jitterStatus); } function oscillate(){ return 1+0.02*Math.sin(Date.now()/100); } //update the UI every frame window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||(function(callback,element){setTimeout(callback,1000/60);}); function frame(){ requestAnimationFrame(frame); updateUI(); } frame(); //start frame loop //function to (re)initialize UI function initUI(){ drawMeter(I("dlMeter"),0,meterBk,dlColor,0); drawMeter(I("ulMeter"),0,meterBk,ulColor,0); I("dlText").textContent=""; I("ulText").textContent=""; I("pingText").textContent=""; I("jitText").textContent=""; I("ip").textContent=""; } </script> <style type="text/css"> html,body{ border:none; padding:0; margin:0; background:#FFFFFF; color:#202020; } body{ text-align:center; font-family:"Roboto",sans-serif; } h1{ color:#404040; } #loading{ background-color:#FFFFFF; color:#404040; text-align:center; } span.loadCircle{ display:inline-block; width:2em; height:2em; vertical-align:middle; background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAP1BMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZyFzwnAAAAFHRSTlMAEvRFvX406baecwbf0casimhSHyiwmqgAAADpSURBVHja7dbJbQMxAENRahnN5lkc//5rDRAkDeRgHszXgACJoKiIiIiIiIiIiIiIiIiIiIj4HHspsrpAVhdVVguzrA4OWc10WcEqpwKbnBo0OU1Q5NSpsoJFTgOecrrdEag85DRgktNqfoEdTjnd7hrEHMEJvmRUYJbTYk5Agy6nau6Abp5Cm7mDBtRdPi9gyKdU7w4p1fsLvyqs8hl4z9/w3n/Hmr9WoQ65lAU4d7lMYOz//QboRR5jBZibLMZdAR6O/Vfa1PlxNr3XdS3HzK/HVPRu/KnLs8iAOh993VpRRERERMT/fAN60wwWaVyWwAAAAABJRU5ErkJggg=='); background-size:2em 2em; margin-right:0.5em; animation: spin 0.6s linear infinite; } @keyframes spin{ 0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);} } #startStopBtn{ display:inline-block; margin:0 auto; color:#6060AA; background-color:rgba(0,0,0,0); border:0.15em solid #6060FF; border-radius:0.3em; transition:all 0.3s; box-sizing:border-box; width:8em; height:3em; line-height:2.7em; cursor:pointer; box-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1); } #startStopBtn:hover{ box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1); } #startStopBtn.running{ background-color:#FF3030; border-color:#FF6060; color:#FFFFFF; } #startStopBtn:before{ content:"Start"; } #startStopBtn.running:before{ content:"Abort"; } #serverArea{ margin-top:1em; } #server{ font-size:1em; padding:0.2em; } #test{ margin-top:2em; margin-bottom:12em; } div.testArea{ display:inline-block; width:16em; height:12.5em; position:relative; box-sizing:border-box; } div.testArea2{ display:inline-block; width:14em; height:7em; position:relative; box-sizing:border-box; text-align:center; } div.testArea div.testName{ position:absolute; top:0.1em; left:0; width:100%; font-size:1.4em; z-index:9; } div.testArea2 div.testName{ display:block; text-align:center; font-size:1.4em; } div.testArea div.meterText{ position:absolute; bottom:1.55em; left:0; width:100%; font-size:2.5em; z-index:9; } div.testArea2 div.meterText{ display:inline-block; font-size:2.5em; } div.meterText:empty:before{ content:"0.00"; } div.testArea div.unit{ position:absolute; bottom:2em; left:0; width:100%; z-index:9; } div.testArea2 div.unit{ display:inline-block; } div.testArea canvas{ position:absolute; top:0; left:0; width:100%; height:100%; z-index:1; } div.testGroup{ display:block; margin: 0 auto; } #shareArea{ width:95%; max-width:40em; margin:0 auto; margin-top:2em; } #shareArea > *{ display:block; width:100%; height:auto; margin: 0.25em 0; } #privacyPolicy{ position:fixed; top:2em; bottom:2em; left:2em; right:2em; overflow-y:auto; width:auto; height:auto; box-shadow:0 0 3em 1em #000000; z-index:999999; text-align:left; background-color:#FFFFFF; padding:1em; } a.privacy{ text-align:center; font-size:0.8em; color:#808080; padding: 0 3em; } div.closePrivacyPolicy { width: 100%; text-align: center; } div.closePrivacyPolicy a.privacy { padding: 1em 3em; } @media all and (max-width:40em){ body{ font-size:0.8em; } } div.visible{ animation: fadeIn 0.4s; display:block; } div.hidden{ animation: fadeOut 0.4s; display:none; } @keyframes fadeIn{ 0%{ opacity:0; } 100%{ opacity:1; } } @keyframes fadeOut{ 0%{ display:block; opacity:1; } 100%{ display:block; opacity:0; } } @media all and (prefers-color-scheme: dark){ html,body,#loading{ background:#202020; color:#F4F4F4; } h1{ color:#E0E0E0; } a{ color:#9090FF; } #privacyPolicy{ background:#000000; } #resultsImg{ filter: invert(1); } } </style> <title>SPEEDTEST POLITEKNIK PERKERETAAPIAN INDONESIA</title> </head> <body onload="initServers()"> <h1>SPEEDTEST POLITEKNIK PERKERETAAPIAN INDONESIA</h1> <div id="loading" class="visible"> <p id="message"><span class="loadCircle"></span>Selecting a server...</p> </div> <div id="testWrapper" class="hidden"> <div id="startStopBtn" onclick="startStop()"></div><br/> <a class="privacy" href="#" onclick="I('privacyPolicy').style.display=''">Privacy</a> <div id="serverArea"> Server: <select id="server" onchange="s.setSelectedServer(SPEEDTEST_SERVERS[this.value])"></select> </div> <div id="test"> <div class="testGroup"> <div class="testArea2"> <div class="testName">Ping</div> <div id="pingText" class="meterText" style="color:#AA6060"></div> <div class="unit">ms</div> </div> <div class="testArea2"> <div class="testName">Jitter</div> <div id="jitText" class="meterText" style="color:#AA6060"></div> <div class="unit">ms</div> </div> </div> <div class="testGroup"> <div class="testArea"> <div class="testName">Download</div> <canvas id="dlMeter" class="meter"></canvas> <div id="dlText" class="meterText"></div> <div class="unit">Mbit/s</div> </div> <div class="testArea"> <div class="testName">Upload</div> <canvas id="ulMeter" class="meter"></canvas> <div id="ulText" class="meterText"></div> <div class="unit">Mbit/s</div> </div> </div> <div id="ipArea"> <span id="ip"></span> </div> <div id="shareArea" style="display:none"> <h3>Share results</h3> <p>Test ID: <span id="testId"></span></p> <input type="text" value="" id="resultsURL" readonly="readonly" onclick="this.select();this.focus();this.select();document.execCommand('copy');alert('Link copied')"/> <img src="" id="resultsImg" /> </div> </div> <a href="https://github.com/librespeed/speedtest"></a> </div> <div id="privacyPolicy" style="display:none"> <h2>Privacy Policy</h2> <p>This HTML5 speed test server is configured with telemetry enabled.</p> <h4>What data we collect</h4> <p> At the end of the test, the following data is collected and stored: <ul> <li>Test ID</li> <li>Time of testing</li> <li>Test results (download and upload speed, ping and jitter)</li> <li>IP address</li> <li>ISP information</li> <li>Approximate location (inferred from IP address, not GPS)</li> <li>User agent and browser locale</li> <li>Test log (contains no personal information)</li> </ul> </p> <h4>How we use the data</h4> <p> Data collected through this service is used to: <ul> <li>Allow sharing of test results (sharable image for forums, etc.)</li> <li>To improve the service offered to you (for instance, to detect problems on our side)</li> </ul> No personal information is disclosed to third parties. </p> <h4>Your consent</h4> <p> By starting the test, you consent to the terms of this privacy policy. </p> <h4>Data removal</h4> <p> If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/> Contact this email address for all deletion requests: <a href="mailto:PUT@YOUR_EMAIL.HERE">TO BE FILLED BY DEVELOPER</a>. </p> <br/><br/> <div class="closePrivacyPolicy"> <a class="privacy" href="#" onclick="I('privacyPolicy').style.display='none'">Close</a> </div> <br/> </div> </body> </html>
-
{ "@category" : "datascan", "@timestamp" : "2024-11-07T04:16:43.000Z", "app" : { "extract" : { "domain" : [ "github.com" ], "file" : [ "getip.php", "empty.php", "garbage.php" ], "hostname" : [ "github.com" ], "url" : [ "https://github.com/librespeed/speedtest" ] }, "http" : { "bodymd5" : "a5e36ae9ffff0b1019375e798f18a5df", "bodymmh3" : 599004982, "component" : [ { "productversion" : "8.0.30", "productvendor" : "PHP", "product" : "PHP" }, { "productversion" : "3.1.3", "productvendor" : "OpenSSL", "product" : "OpenSSL" } ], "header" : [ { "value" : "Tue, 10 Sep 2024 05:27:57 GMT", "name" : "Last-Modified" }, { "name" : "ETag", "value" : "3c8b-621bd22d7771f" } ], "headermd5" : "626e8ee31d9930833985714027ed13bc", "headermmh3" : -666804941, "title" : "SPEEDTEST POLITEKNIK PERKERETAAPIAN INDONESIA" }, "length" : 15774 }, "asn" : "AS152036", "city" : "Madiun", "country" : "ID", "cpe" : "<enterprise field>: cpe", "cpecount" : "<enterprise field>: cpecount", "data" : "HTTP/1.1 200 OK\r\nDate: Thu, 07 Nov 2024 04:16:40 GMT\r\nServer: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.0.30\r\nLast-Modified: Tue, 10 Sep 2024 05:27:57 GMT\r\nETag: \"3c8b-621bd22d7771f\"\r\nAccept-Ranges: bytes\r\nContent-Length: 15499\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<!DOCTYPE html>\n<html>\n<head>\n<link rel=\"shortcut icon\" href=\"favicon.ico\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no\" />\n<meta charset=\"UTF-8\" />\n<script type=\"text/javascript\" src=\"speedtest.js\"></script>\n<script type=\"text/javascript\">\nfunction I(i){return document.getElementById(i);}\n\n//LIST OF TEST SERVERS. Leave empty if you're doing a standalone installation. See documentation for details\nvar SPEEDTEST_SERVERS=[\n\t/*{\t//this server doesn't actually exist, remove it\n\t\tname:\"Example Server 1\", //user friendly name for the server\n\t\tserver:\"//test1.mydomain.com/\", //URL to the server. // at the beginning will be replaced with http:// or https:// automatically\n\t\tdlURL:\"backend/garbage.php\", //path to download test on this server (garbage.php or replacement)\n\t\tulURL:\"backend/empty.php\", //path to upload test on this server (empty.php or replacement)\n\t\tpingURL:\"backend/empty.php\", //path to ping/jitter test on this server (empty.php or replacement)\n\t\tgetIpURL:\"backend/getIP.php\" //path to getIP on this server (getIP.php or replacement)\n\t},\n\t{\t//this server doesn't actually exist, remove it\n\t\tname:\"Example Server 2\", //user friendly name for the server\n\t\tserver:\"//test2.example.com/\", //URL to the server. // at the beginning will be replaced with http:// or https:// automatically\n\t\tdlURL:\"garbage.php\", //path to download test on this server (garbage.php or replacement)\n\t\tulURL:\"empty.php\", //path to upload test on this server (empty.php or replacement)\n\t\tpingURL:\"empty.php\", //path to ping/jitter test on this server (empty.php or replacement)\n\t\tgetIpURL:\"getIP.php\" //path to getIP on this server (getIP.php or replacement)\n\t}*/\n\t//add other servers here, comma separated\n];\n\n//INITIALIZE SPEEDTEST\nvar s=new Speedtest(); //create speed test object\ns.setParameter(\"telemetry_level\",\"basic\"); //enable basic telemetry (for results sharing)\n\n//SERVER AUTO SELECTION\nfunction initServers(){\n\tif(SPEEDTEST_SERVERS.length==0){ //standalone installation\n\t\t//just make the UI visible\n\t\tI(\"loading\").className=\"hidden\";\n\t\tI(\"serverArea\").style.display=\"none\";\n\t\tI(\"testWrapper\").className=\"visible\";\n\t\tinitUI();\n\t}else{ //multiple servers\n\t\tvar noServersAvailable=function(){\n\t\t\tI(\"message\").innerHTML=\"No servers available\";\n\t\t}\n\t\tvar runServerSelect=function(){\n\t\t\ts.selectServer(function(server){\n\t\t\t\tif(server!=null){ //at least 1 server is available\n\t\t\t\t\tI(\"loading\").className=\"hidden\"; //hide loading message\n\t\t\t\t\t//populate server list for manual selection\n\t\t\t\t\tfor(var i=0;i<SPEEDTEST_SERVERS.length;i++){\n\t\t\t\t\t\tif(SPEEDTEST_SERVERS[i].pingT==-1) continue;\n\t\t\t\t\t\tvar option=document.createElement(\"option\");\n\t\t\t\t\t\toption.value=i;\n\t\t\t\t\t\toption.textContent=SPEEDTEST_SERVERS[i].name;\n\t\t\t\t\t\tif(SPEEDTEST_SERVERS[i]===server) option.selected=true;\n\t\t\t\t\t\tI(\"server\").appendChild(option);\n\t\t\t\t\t}\n\t\t\t\t\t//show test UI\n\t\t\t\t\tI(\"testWrapper\").className=\"visible\";\n\t\t\t\t\tinitUI();\n\t\t\t\t}else{ //no servers are available, the test cannot proceed\n\t\t\t\t\tnoServersAvailable();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif(typeof SPEEDTEST_SERVERS === \"string\"){\n\t\t\t//need to fetch list of servers from specified URL\n\t\t\ts.loadServerList(SPEEDTEST_SERVERS,function(servers){\n\t\t\t\tif(servers==null){ //failed to load server list\n\t\t\t\t\tnoServersAvailable();\n\t\t\t\t}else{ //server list loaded\n\t\t\t\t\tSPEEDTEST_SERVERS=servers;\n\t\t\t\t\trunServerSelect();\n\t\t\t\t}\n\t\t\t});\n\t\t}else{\n\t\t\t//hardcoded server list\n\t\t\ts.addTestPoints(SPEEDTEST_SERVERS);\n\t\t\trunServerSelect();\n\t\t}\n\t}\n}\n\nvar meterBk=/Trident.*rv:(\\d+\\.\\d+)/i.test(navigator.userAgent)?\"#EAEAEA\":\"#80808040\";\nvar dlColor=\"#6060AA\",\n\tulColor=\"#616161\";\nvar progColor=meterBk;\n\n//CODE FOR GAUGES\nfunction drawMeter(c,amount,bk,fg,progress,prog){\n\tvar ctx=c.getContext(\"2d\");\n\tvar dp=window.devicePixelRatio||1;\n\tvar cw=c.clientWidth*dp, ch=c.clientHeight*dp;\n\tvar sizScale=ch*0.0055;\n\tif(c.width==cw&&c.height==ch){\n\t\tctx.clearRect(0,0,cw,ch);\n\t}else{\n\t\tc.width=cw;\n\t\tc.height=ch;\n\t}\n\tctx.beginPath();\n\tctx.strokeStyle=bk;\n\tctx.lineWidth=12*sizScale;\n\tctx.arc(c.width/2,c.height-58*sizScale,c.height/1.8-ctx.lineWidth,-Math.PI*1.1,Math.PI*0.1);\n\tctx.stroke();\n\tctx.beginPath();\n\tctx.strokeStyle=fg;\n\tctx.lineWidth=12*sizScale;\n\tctx.arc(c.width/2,c.height-58*sizScale,c.height/1.8-ctx.lineWidth,-Math.PI*1.1,amount*Math.PI*1.2-Math.PI*1.1);\n\tctx.stroke();\n\tif(typeof progress !== \"undefined\"){\n\t\tctx.fillStyle=prog;\n\t\tctx.fillRect(c.width*0.3,c.height-16*sizScale,c.width*0.4*progress,4*sizScale);\n\t}\n}\nfunction mbpsToAmount(s){\n\treturn 1-(1/(Math.pow(1.3,Math.sqrt(s))));\n}\nfunction format(d){\n d=Number(d);\n if(d<10) return d.toFixed(2);\n if(d<100) return d.toFixed(1);\n return d.toFixed(0);\n}\n\n//UI CODE\nvar uiData=null;\nfunction startStop(){\n if(s.getState()==3){\n\t\t//speed test is running, abort\n\t\ts.abort();\n\t\tdata=null;\n\t\tI(\"startStopBtn\").className=\"\";\n\t\tI(\"server\").disabled=false;\n\t\tinitUI();\n\t}else{\n\t\t//test is not running, begin\n\t\tI(\"startStopBtn\").className=\"running\";\n\t\tI(\"shareArea\").style.display=\"none\";\n\t\tI(\"server\").disabled=true;\n\t\ts.onupdate=function(data){\n uiData=data;\n\t\t};\n\t\ts.onend=function(aborted){\n I(\"startStopBtn\").className=\"\";\n I(\"server\").disabled=false;\n updateUI(true);\n if(!aborted){\n //if testId is present, show sharing panel, otherwise do nothing\n try{\n var testId=uiData.testId;\n if(testId!=null){\n var shareURL=window.location.href.substring(0,window.location.href.lastIndexOf(\"/\"))+\"/results/?id=\"+testId;\n I(\"resultsImg\").src=shareURL;\n I(\"resultsURL\").value=shareURL;\n I(\"testId\").innerHTML=testId;\n I(\"shareArea\").style.display=\"\";\n }\n }catch(e){}\n }\n\t\t};\n\t\ts.start();\n\t}\n}\n//this function reads the data sent back by the test and updates the UI\nfunction updateUI(forced){\n\tif(!forced&&s.getState()!=3) return;\n\tif(uiData==null) return;\n\tvar status=uiData.testState;\n\tI(\"ip\").textContent=uiData.clientIp;\n\tI(\"dlText\").textContent=(status==1&&uiData.dlStatus==0)?\"...\":format(uiData.dlStatus);\n\tdrawMeter(I(\"dlMeter\"),mbpsToAmount(Number(uiData.dlStatus*(status==1?oscillate():1))),meterBk,dlColor,Number(uiData.dlProgress),progColor);\n\tI(\"ulText\").textContent=(status==3&&uiData.ulStatus==0)?\"...\":format(uiData.ulStatus);\n\tdrawMeter(I(\"ulMeter\"),mbpsToAmount(Number(uiData.ulStatus*(status==3?oscillate():1))),meterBk,ulColor,Number(uiData.ulProgress),progColor);\n\tI(\"pingText\").textContent=format(uiData.pingStatus);\n\tI(\"jitText\").textContent=format(uiData.jitterStatus);\n}\nfunction oscillate(){\n\treturn 1+0.02*Math.sin(Date.now()/100);\n}\n//update the UI every frame\nwindow.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||(function(callback,element){setTimeout(callback,1000/60);});\nfunction frame(){\n\trequestAnimationFrame(frame);\n\tupdateUI();\n}\nframe(); //start frame loop\n//function to (re)initialize UI\nfunction initUI(){\n\tdrawMeter(I(\"dlMeter\"),0,meterBk,dlColor,0);\n\tdrawMeter(I(\"ulMeter\"),0,meterBk,ulColor,0);\n\tI(\"dlText\").textContent=\"\";\n\tI(\"ulText\").textContent=\"\";\n\tI(\"pingText\").textContent=\"\";\n\tI(\"jitText\").textContent=\"\";\n\tI(\"ip\").textContent=\"\";\n}\n</script>\n<style type=\"text/css\">\n\thtml,body{\n\t\tborder:none; padding:0; margin:0;\n\t\tbackground:#FFFFFF;\n\t\tcolor:#202020;\n\t}\n\tbody{\n\t\ttext-align:center;\n\t\tfont-family:\"Roboto\",sans-serif;\n\t}\n\th1{\n\t\tcolor:#404040;\n\t}\n\t#loading{\n\t\tbackground-color:#FFFFFF;\n\t\tcolor:#404040;\n\t\ttext-align:center;\n\t}\n\tspan.loadCircle{\n\t\tdisplay:inline-block;\n\t\twidth:2em;\n\t\theight:2em;\n\t\tvertical-align:middle;\n\t\tbackground:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAP1BMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZyFzwnAAAAFHRSTlMAEvRFvX406baecwbf0casimhSHyiwmqgAAADpSURBVHja7dbJbQMxAENRahnN5lkc//5rDRAkDeRgHszXgACJoKiIiIiIiIiIiIiIiIiIiIj4HHspsrpAVhdVVguzrA4OWc10WcEqpwKbnBo0OU1Q5NSpsoJFTgOecrrdEag85DRgktNqfoEdTjnd7hrEHMEJvmRUYJbTYk5Agy6nau6Abp5Cm7mDBtRdPi9gyKdU7w4p1fsLvyqs8hl4z9/w3n/Hmr9WoQ65lAU4d7lMYOz//QboRR5jBZibLMZdAR6O/Vfa1PlxNr3XdS3HzK/HVPRu/KnLs8iAOh993VpRRERERMT/fAN60wwWaVyWwAAAAABJRU5ErkJggg==');\n\t\tbackground-size:2em 2em;\n\t\tmargin-right:0.5em;\n\t\tanimation: spin 0.6s linear infinite;\n\t}\n\t@keyframes spin{\n\t\t0%{transform:rotate(0deg);}\n\t\t100%{transform:rotate(359deg);}\n\t}\n\t#startStopBtn{\n\t\tdisplay:inline-block;\n\t\tmargin:0 auto;\n\t\tcolor:#6060AA;\n\t\tbackground-color:rgba(0,0,0,0);\n\t\tborder:0.15em solid #6060FF;\n\t\tborder-radius:0.3em;\n\t\ttransition:all 0.3s;\n\t\tbox-sizing:border-box;\n\t\twidth:8em; height:3em;\n\t\tline-height:2.7em;\n\t\tcursor:pointer;\n\t\tbox-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1);\n\t}\n\t#startStopBtn:hover{\n\t\tbox-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);\n\t}\n\t#startStopBtn.running{\n\t\tbackground-color:#FF3030;\n\t\tborder-color:#FF6060;\n\t\tcolor:#FFFFFF;\n\t}\n\t#startStopBtn:before{\n\t\tcontent:\"Start\";\n\t}\n\t#startStopBtn.running:before{\n\t\tcontent:\"Abort\";\n\t}\n\t#serverArea{\n\t\tmargin-top:1em;\n\t}\n\t#server{\n\t\tfont-size:1em;\n\t\tpadding:0.2em;\n\t}\n\t#test{\n\t\tmargin-top:2em;\n\t\tmargin-bottom:12em;\n\t}\n\tdiv.testArea{\n\t\tdisplay:inline-block;\n\t\twidth:16em;\n\t\theight:12.5em;\n\t\tposition:relative;\n\t\tbox-sizing:border-box;\n\t}\n\tdiv.testArea2{\n\t\tdisplay:inline-block;\n\t\twidth:14em;\n\t\theight:7em;\n\t\tposition:relative;\n\t\tbox-sizing:border-box;\n\t\ttext-align:center;\n\t}\n\tdiv.testArea div.testName{\n\t\tposition:absolute;\n\t\ttop:0.1em; left:0;\n\t\twidth:100%;\n\t\tfont-size:1.4em;\n\t\tz-index:9;\n\t}\n\tdiv.testArea2 div.testName{\n display:block;\n text-align:center;\n font-size:1.4em;\n\t}\n\tdiv.testArea div.meterText{\n\t\tposition:absolute;\n\t\tbottom:1.55em; left:0;\n\t\twidth:100%;\n\t\tfont-size:2.5em;\n\t\tz-index:9;\n\t}\n\tdiv.testArea2 div.meterText{\n display:inline-block;\n font-size:2.5em;\n\t}\n\tdiv.meterText:empty:before{\n\t\tcontent:\"0.00\";\n\t}\n\tdiv.testArea div.unit{\n\t\tposition:absolute;\n\t\tbottom:2em; left:0;\n\t\twidth:100%;\n\t\tz-index:9;\n\t}\n\tdiv.testArea2 div.unit{\n\t\tdisplay:inline-block;\n\t}\n\tdiv.testArea canvas{\n\t\tposition:absolute;\n\t\ttop:0; left:0; width:100%; height:100%;\n\t\tz-index:1;\n\t}\n\tdiv.testGroup{\n\t\tdisplay:block;\n margin: 0 auto;\n\t}\n\t#shareArea{\n\t\twidth:95%;\n\t\tmax-width:40em;\n\t\tmargin:0 auto;\n\t\tmargin-top:2em;\n\t}\n\t#shareArea > *{\n\t\tdisplay:block;\n\t\twidth:100%;\n\t\theight:auto;\n\t\tmargin: 0.25em 0;\n\t}\n\t#privacyPolicy{\n position:fixed;\n top:2em;\n bottom:2em;\n left:2em;\n right:2em;\n overflow-y:auto;\n width:auto;\n height:auto;\n box-shadow:0 0 3em 1em #000000;\n z-index:999999;\n text-align:left;\n background-color:#FFFFFF;\n padding:1em;\n\t}\n\ta.privacy{\n text-align:center;\n font-size:0.8em;\n color:#808080;\n padding: 0 3em;\n\t}\n div.closePrivacyPolicy {\n width: 100%;\n text-align: center;\n }\n div.closePrivacyPolicy a.privacy {\n padding: 1em 3em;\n }\n\t@media all and (max-width:40em){\n\t\tbody{\n\t\t\tfont-size:0.8em;\n\t\t}\n\t}\n\tdiv.visible{\n\t\tanimation: fadeIn 0.4s;\n\t\tdisplay:block;\n\t}\n\tdiv.hidden{\n\t\tanimation: fadeOut 0.4s;\n\t\tdisplay:none;\n\t}\n\t@keyframes fadeIn{\n\t\t0%{\n\t\t\topacity:0;\n\t\t}\n\t\t100%{\n\t\t\topacity:1;\n\t\t}\n\t}\n\t@keyframes fadeOut{\n\t\t0%{\n\t\t\tdisplay:block;\n\t\t\topacity:1;\n\t\t}\n\t\t100%{\n\t\t\tdisplay:block;\n\t\t\topacity:0;\n\t\t}\n\t}\n\t@media all and (prefers-color-scheme: dark){\n\t\thtml,body,#loading{\n\t\t\tbackground:#202020;\n\t\t\tcolor:#F4F4F4;\n\t\t}\n\t\th1{\n\t\t\tcolor:#E0E0E0;\n\t\t}\n\t\ta{\n\t\t\tcolor:#9090FF;\n\t\t}\n\t\t#privacyPolicy{\n\t\t\tbackground:#000000;\n\t\t}\n\t\t#resultsImg{\n\t\t\tfilter: invert(1);\n\t\t}\n\t}\n</style>\n<title>SPEEDTEST POLITEKNIK PERKERETAAPIAN INDONESIA</title>\n</head>\n<body onload=\"initServers()\">\n<h1>SPEEDTEST POLITEKNIK PERKERETAAPIAN INDONESIA</h1>\n<div id=\"loading\" class=\"visible\">\n\t<p id=\"message\"><span class=\"loadCircle\"></span>Selecting a server...</p>\n</div>\n<div id=\"testWrapper\" class=\"hidden\">\n\t<div id=\"startStopBtn\" onclick=\"startStop()\"></div><br/>\n\t<a class=\"privacy\" href=\"#\" onclick=\"I('privacyPolicy').style.display=''\">Privacy</a>\n\t<div id=\"serverArea\">\n\t\tServer: <select id=\"server\" onchange=\"s.setSelectedServer(SPEEDTEST_SERVERS[this.value])\"></select>\n\t</div>\n\t<div id=\"test\">\n\t\t<div class=\"testGroup\">\n <div class=\"testArea2\">\n\t\t\t\t<div class=\"testName\">Ping</div>\n\t\t\t\t<div id=\"pingText\" class=\"meterText\" style=\"color:#AA6060\"></div>\n\t\t\t\t<div class=\"unit\">ms</div>\n\t\t\t</div>\n\t\t\t<div class=\"testArea2\">\n\t\t\t\t<div class=\"testName\">Jitter</div>\n\t\t\t\t<div id=\"jitText\" class=\"meterText\" style=\"color:#AA6060\"></div>\n\t\t\t\t<div class=\"unit\">ms</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"testGroup\">\n\t\t\t<div class=\"testArea\">\n\t\t\t\t<div class=\"testName\">Download</div>\n\t\t\t\t<canvas id=\"dlMeter\" class=\"meter\"></canvas>\n\t\t\t\t<div id=\"dlText\" class=\"meterText\"></div>\n\t\t\t\t<div class=\"unit\">Mbit/s</div>\n\t\t\t</div>\n\t\t\t<div class=\"testArea\">\n\t\t\t\t<div class=\"testName\">Upload</div>\n\t\t\t\t<canvas id=\"ulMeter\" class=\"meter\"></canvas>\n\t\t\t\t<div id=\"ulText\" class=\"meterText\"></div>\n\t\t\t\t<div class=\"unit\">Mbit/s</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div id=\"ipArea\">\n\t\t\t<span id=\"ip\"></span>\n\t\t</div>\n\t\t<div id=\"shareArea\" style=\"display:none\">\n\t\t\t<h3>Share results</h3>\n\t\t\t<p>Test ID: <span id=\"testId\"></span></p>\n\t\t\t<input type=\"text\" value=\"\" id=\"resultsURL\" readonly=\"readonly\" onclick=\"this.select();this.focus();this.select();document.execCommand('copy');alert('Link copied')\"/>\n\t\t\t<img src=\"\" id=\"resultsImg\" />\n\t\t</div>\n\t</div>\n\t<a href=\"https://github.com/librespeed/speedtest\"></a>\n</div>\n<div id=\"privacyPolicy\" style=\"display:none\">\n <h2>Privacy Policy</h2>\n <p>This HTML5 speed test server is configured with telemetry enabled.</p>\n <h4>What data we collect</h4>\n <p>\n At the end of the test, the following data is collected and stored:\n <ul>\n <li>Test ID</li>\n <li>Time of testing</li>\n <li>Test results (download and upload speed, ping and jitter)</li>\n <li>IP address</li>\n <li>ISP information</li>\n <li>Approximate location (inferred from IP address, not GPS)</li>\n <li>User agent and browser locale</li>\n <li>Test log (contains no personal information)</li>\n </ul>\n </p>\n <h4>How we use the data</h4>\n <p>\n Data collected through this service is used to:\n <ul>\n <li>Allow sharing of test results (sharable image for forums, etc.)</li>\n <li>To improve the service offered to you (for instance, to detect problems on our side)</li>\n </ul>\n No personal information is disclosed to third parties.\n </p>\n <h4>Your consent</h4>\n <p>\n By starting the test, you consent to the terms of this privacy policy.\n </p>\n <h4>Data removal</h4>\n <p>\n If you want to have your information deleted, you need to provide either the ID of the test or your IP address. This is the only way to identify your data, without this information we won't be able to comply with your request.<br/><br/>\n Contact this email address for all deletion requests: <a href=\"mailto:PUT@YOUR_EMAIL.HERE\">TO BE FILLED BY DEVELOPER</a>.\n </p>\n <br/><br/>\n <div class=\"closePrivacyPolicy\">\n <a class=\"privacy\" href=\"#\" onclick=\"I('privacyPolicy').style.display='none'\">Close</a>\n </div>\n <br/>\n</div>\n</body>\n</html>\n", "datamd5" : "4216131f4562c05e65e983a81aa1dd67", "datammh3" : -55726200, "device" : { "class" : "<enterprise field>: device.class" }, "geolocus" : { "asn" : "AS152036", "continent" : "AS", "continentname" : "Asia", "country" : "ID", "countryname" : "Indonesia", "domain" : [ "ppi.ac.id" ], "isineu" : "false", "latitude" : "-0.789275", "location" : "-0.789275,113.921327", "longitude" : "113.921327", "netname" : "IDNIC-PPIMADIUN-ID", "organization" : "Route Object of Politeknik Perkeretaapian Indonesia Madiun", "subnet" : "27.124.76.0/23" }, "ip" : "27.124.76.14", "ipv6" : "false", "latitude" : "-7.6302", "location" : "-7.6302,111.5266", "longitude" : "111.5266", "node" : { "country" : "<enterprise field>: node.country", "groupid" : "<enterprise field>: node.groupid", "id" : "<enterprise field>: node.id", "physicalcountry" : "<enterprise field>: node.physicalcountry" }, "organization" : "Politeknik Perkeretaapian Indonesia Madiun", "os" : "Windows", "osbits" : 64, "osvendor" : "Microsoft", "port" : 1000, "product" : "HTTP Server", "productvendor" : "Apache", "productversion" : "2.4.58", "protocol" : "http", "protocolversion" : "1.1", "reason" : "OK", "seen_date" : "2024-11-07", "source" : "datascan", "status" : 200, "subnet" : "27.124.76.0/23", "tls" : "false", "transport" : "tcp", "url" : "/" }