1import{_ as B,a as L}from"./index.vue.k0oHNJkk.js";import{E as R,b as I,A as T}from"./entry.C6NAXwym.js";import{o as $,Z as f,a1 as v,U as b,i as y,n as l,an as g,m as x,f as n,aq as M,ab as s,y as w,k as j,h as S,ao as C,af as U,X as A,V as D,am as N}from"./swiper-vue.CT7r2VF_.js";import{u as P}from"./asyncData.DIV8UA66.js";import{u as G}from"./ContentComposable.ngbxfc5L.js";import"./markdown.vue.BM_yuw6f.js";const z=p=>(A("data-v-52c39b5d"),p=p(),D(),p),H={class:"bg-[url('~/assets/img/backgrounds/bg-check.webp')] bg-no-repeat bg-cover bg-bottom -mt-[10rem] pt-40 pb-16 text-white"},F=z(()=>n("span",null," Use the access key that Spamhaus sent you by email to access the list of compromised WordPress administrator credentials below.",-1)),q={class:"flex justify-center mt-5"},J={key:0},K={key:1},W={class:"flex items-center"},X=$({__name:"index",setup(p){const r=R(),i=f(null),t=f("csv"),c=f(!1),_=f(!1),h=async()=>{c.value=!1,_.value=!1;const u=await fetch(`${r.public.REMEDIATION_API_URL}key/${i.value}/format/${t.value}`);if(u.status===200){const e=await u.blob(),d=new Blob([e]);if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(d);else{const m=window.URL.createObjectURL(d),o=document.createElement("a");o.href=m,o.download=`endgame-socgholish.${t.value}`,o.click(),setTimeout(()=>{window.URL.revokeObjectURL(m)})}}else u.status===400?c.value=!0:_.value=!0};return(u,e)=>{const d=v("ShHeading"),m=v("ShTextField"),o=v("ShButton"),k=v("ShGrid");return b(),y("section",H,[l(k,{ySpace:"",class:"text-center"},{default:g(()=>[l(d,{size:"h2",variant:"light"},{default:g(()=>[x("Data")]),_:1}),F,n("div",q,[n("form",{onSubmit:M(h,["prevent"])},[l(m,{class:"mobile:w-full large:w-[400px] mb-2",placeholder:"Access key",modelValue:s(i),"onUpdate:modelValue":e[0]||(e[0]=a=>w(i)?i.value=a:null),status:s(c)?"error":null},j({_:2},[s(c)||s(_)?{name:"errorMessage",fn:g(()=>[s(c)?(b(),y("span",J,"The access key you entered is invalid. Please check the key and try again.")):S("",!0),s(_)?(b(),y("span",K,"There was an issue with the endpoint. Please try again later.")):S("",!0)]),key:"0"}:void 0]),1032,["modelValue","status"]),n("div",W,[C(n("input",{type:"radio",class:"mr-2 cursor-pointer","onUpdate:modelValue":e[1]||(e[1]=a=>w(t)?t.value=a:null),value:"csv"},null,512),[[U,s(t)]]),n("span",{class:"mr-4 cursor-pointer",onClick:e[2]||(e[2]=a=>t.value="csv")},"CSV"),C(n("input",{type:"radio",class:"mr-2 cursor-pointer","onUpdate:modelValue":e[3]||(e[3]=a=>w(t)?t.value=a:null),value:"json"},null,512),[[U,s(t)]]),n("span",{class:"cursor-pointer",onClick:e[4]||(e[4]=a=>t.value="json")},"JSON")]),l(o,{type:"submit",class:"mt-5 float-right",variant:"primary"},{default:g(()=>[x("Download")]),_:1})],32)])]),_:1})])}}}),Z=I(X,[["__scopeId","data-v-52c39b5d"]]),Q={key:0},ne=$({__name:"index",async setup(p){var o;let r,i;const{setBreadcrumbs:t,setPageTitle:c,setPageDescription:_}=T(),h=R(),{getSections:u}=G(),{data:e}=([r,i]=N(()=>P("endgame-4",()=>$fetch(`${h.public.CMS_URL?h.public.CMS_URL:h.CMS_URL}endgame4`))),r=await r,i(),r),d=((o=e.value)==null?void 0:o.data.content)??"",m=u(d);return t([{text:"Operation Endgame - SocGholish",href:"/endgame-socgholish/"}]),c("Operation Endgame - SocGholish | Remediation data and support | Spamhaus"),(k,a)=>{const E=B,O=Z,V=L;return s(e)?(b(),y("main",Q,[l(E,{title:"Operation Endgame - SocGholish",intro:s(e).data.intro,class:"z-50 relative"},null,8,["intro"]),l(O,{class:"z-40 relative"}),l(V,{content:s(m),class:"z-30 relative"},null,8,["content"])])):S("",!0)}}});export{ne as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.