{"id":6,"date":"2026-11-23T06:28:52","date_gmt":"2026-11-23T06:28:52","guid":{"rendered":"https:\/\/adnanthemes.com\/adtshield\/?page_id=6"},"modified":"2026-11-24T05:44:46","modified_gmt":"2026-11-24T05:44:46","slug":"scan","status":"publish","type":"page","link":"https:\/\/adnanthemes.com\/adtshield\/scan\/","title":{"rendered":"Scan"},"content":{"rendered":"<style>.adtd{--bg:#0f1511;--card:#17201a;--line:#27352c;--ink:#e8f0ea;--mut:#9db0a3;--g:#a3e635;--r:#ef4444;--y:#f59e0b;--b:#60a5fa;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:22px;margin:18px 0;font:15px\/1.55 system-ui,-apple-system,Segoe UI,sans-serif}.adtd *{box-sizing:border-box}.adtd h3{margin:0 0 6px;color:#fff;font-size:20px}.adtd p{margin:.3em 0 .9em;color:var(--mut)}.adtd button.adtd-btn{background:var(--g);color:#10200a;border:0;border-radius:9px;padding:10px 18px;font-weight:700;cursor:pointer;font-size:15px}.adtd button.adtd-btn[disabled]{opacity:.55;cursor:wait}.adtd button.adtd-ghost{background:transparent;color:var(--g);border:1px solid var(--g);border-radius:9px;padding:8px 14px;cursor:pointer;font-weight:600}.adtd .adtd-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:14px 0}.adtd .adtd-score{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:800;color:#fff;background:conic-gradient(var(--c,var(--g)) calc(var(--p,0)*1%),#26332a 0)}.adtd .adtd-score span{background:var(--bg);width:80px;height:80px;border-radius:50%;display:grid;place-items:center}.adtd .adtd-stat{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 16px;min-width:96px}.adtd .adtd-stat b{display:block;font-size:22px;color:#fff}.adtd table{width:100%;border-collapse:collapse;margin-top:8px;font-size:14px}.adtd th,.adtd td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);vertical-align:top;color:var(--ink)}.adtd th{color:var(--mut);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.adtd .adtd-tw{overflow-x:auto}.adtd .sev{display:inline-block;padding:2px 9px;border-radius:99px;font-size:12px;font-weight:700;color:#10200a}.adtd .sev.high{background:var(--r);color:#fff}.adtd .sev.medium{background:var(--y)}.adtd .sev.low{background:var(--b)}.adtd .sev.ok{background:var(--g)}.adtd code,.adtd pre{background:#0a0f0c;border:1px solid var(--line);border-radius:8px;color:#d6f5a3;font-size:13px}.adtd code{padding:1px 6px}.adtd pre{padding:12px;overflow:auto;white-space:pre-wrap;word-break:break-word;margin:6px 0}.adtd details{margin-top:6px;color:var(--mut)}.adtd summary{cursor:pointer;color:var(--g)}.adtd .adtd-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.adtd .adtd-msg{padding:10px 12px;border-radius:9px;background:var(--card);border:1px solid var(--line);margin-top:10px}.adtd .adtd-msg.bad{border-color:var(--r)}.adtd .adtd-msg.good{border-color:var(--g)}.adtd input[type=text]{background:#0a0f0c;border:1px solid var(--line);color:#fff;border-radius:8px;padding:10px 12px;font-size:16px;letter-spacing:.2em;width:160px}.adtd .adtd-note{font-size:13px;color:var(--mut)}@media(max-width:640px){.adtd{padding:14px}.adtd .adtd-two{grid-template-columns:1fr}}<\/style><script>window.adtd=window.adtd||{ajax:\"https:\\\/\\\/adnanthemes.com\\\/adtshield\\\/wp-admin\\\/admin-ajax.php\",post:function(a,d){var f=new FormData();f.append(\"action\",a);for(var k in(d||{}))f.append(k,d[k]);return fetch(this.ajax,{method:\"POST\",body:f,credentials:\"same-origin\"}).then(function(r){return r.json()})},el:function(t,c,x){var e=document.createElement(t);if(c)e.className=c;if(x!=null)e.textContent=x;return e}};<\/script><div class=\"adtd\" id=\"adtd-scan\">\n\t<h3>Live scan of a sample site<\/h3>\n\t<p>Press the button. The scanner engine of the plugin reads 11 inert sample files (a fake backdoor, a damaged image, an exposed backup and more) and explains each finding. The files cannot run and nothing on this site is changed.<\/p>\n\t<button class=\"adtd-btn\" type=\"button\" id=\"adtd-scan-btn\">Start scan<\/button>\n\t<div id=\"adtd-scan-out\"><\/div>\n<\/div>\n<script>\n(function(){\nvar b=document.getElementById('adtd-scan-btn'),o=document.getElementById('adtd-scan-out'),E=adtd.el;\nfunction sev(s){var x=E('span','sev '+s,s.charAt(0).toUpperCase()+s.slice(1));return x}\nb.addEventListener('click',function(){\n b.disabled=true;b.textContent='Scanning\u2026';o.textContent='';\n adtd.post('adtd_scan').then(function(r){\n  b.disabled=false;b.textContent='Scan again';\n  if(!r||!r.success){o.appendChild(E('div','adtd-msg bad',(r&&r.data&&r.data.message)||'Scan failed.'));return}\n  var d=r.data,row=E('div','adtd-row'),sc=E('div','adtd-score');sc.style.setProperty('--p',d.score);sc.style.setProperty('--c',d.score>=80?'#a3e635':(d.score>=50?'#f59e0b':'#ef4444'));sc.appendChild(E('span','',d.score));row.appendChild(sc);\n  [['Files checked',d.scanned],['High',d.counts.high],['Medium',d.counts.medium],['Low',d.counts.low],['Time',d.ms+' ms']].forEach(function(s){var c=E('div','adtd-stat');c.appendChild(E('b','',s[1]));c.appendChild(E('span','',s[0]));row.appendChild(c)});\n  o.appendChild(row);\n  var w=E('div','adtd-tw'),t=E('table'),h=E('tr');['File','Severity','Why it was flagged','Recommended action'].forEach(function(x){h.appendChild(E('th','',x))});t.appendChild(h);\n  d.rows.forEach(function(f){\n   var tr=E('tr'),c1=E('td'),c2=E('td'),c3=E('td'),c4=E('td');\n   c1.appendChild(E('code','',f.file));c2.appendChild(sev(f.sev));\n   f.reasons.forEach(function(r){var p=E('div','',r.label+(r.line?' (line '+r.line+')':''));c3.appendChild(p)});\n   if(f.advice&&f.advice.what){var dt=E('details'),sm=E('summary','','Explain this');dt.appendChild(sm);[['What it is',f.advice.what],['Why it matters',f.advice.why],['What to do',f.advice.do]].forEach(function(z){if(z[1]){var p=E('p');p.appendChild(E('b','',z[0]+': '));p.appendChild(document.createTextNode(z[1]));dt.appendChild(p)}});c3.appendChild(dt)}\n   if(f.decision){c4.appendChild(E('b','',f.decision.headline));c4.appendChild(E('div','adtd-note',f.decision.level+' \u00b7 '+f.decision.action));var dt2=E('details');dt2.appendChild(E('summary','','Details'));dt2.appendChild(E('p','',f.decision.reason));c4.appendChild(dt2)}else{c4.textContent='Review'}\n   tr.appendChild(c1);tr.appendChild(c2);tr.appendChild(c3);tr.appendChild(c4);t.appendChild(tr)});\n  w.appendChild(t);o.appendChild(w);\n  o.appendChild(E('p','adtd-note','Scanner engine version '+d.engine+'. Detection is pattern based and can miss new threats; a clean result is not a guarantee.'));\n }).catch(function(){b.disabled=false;b.textContent='Start scan';o.appendChild(E('div','adtd-msg bad','Network error. Please try again.'))});\n});\n})();\n<\/script>\n\t\n\n<div class=\"adtd-video\" style=\"max-width:760px;margin:24px auto;aspect-ratio:16\/9\"><iframe style=\"width:100%;height:100%;border:0;border-radius:12px\" src=\"https:\/\/www.youtube-nocookie.com\/embed\/vAuieMAAjqs\" title=\"Scan a WordPress site and remove malware safely\" loading=\"lazy\" allow=\"accelerometer; encrypted-media; picture-in-picture\" allowfullscreen><\/iframe><\/div><figure style=\"max-width:760px;margin:24px auto\"><img decoding=\"async\" src=\"https:\/\/adnanthemes.com\/adtshield\/wp-content\/uploads\/2026\/11\/adnanthemes-malware-scanner-scan.webp\" alt=\"AdnanThemes Malware Scanner scan screen with security score\" width=\"1280\" height=\"800\" loading=\"lazy\" style=\"width:100%;height:auto;border-radius:12px\"><\/figure>","protected":false},"excerpt":{"rendered":"","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/pages\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":2,"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/pages\/6\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/adnanthemes.com\/adtshield\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}