KT 에서 공유기 검출하려고 아래 같은 script 를 돌리는데요...
KT 에서 공유기 검출하려고 아래 같은 script 를 돌리는데요...
javascript 로 OS 종류, 브라우저 종류, 접속한 site, 내부 IP 등의 정보를 넘기는 것 같네요.
Adblock 같은 것으로 막을 수 있을 것 같은데... 혹시 해보신분 있나요?
function f1(t){var e,n,i,o,r,g,f,s="",u=0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");u>4,n=(15&r)<<4|g>>2,i=(3&g)<<6|f,s+=String.fromCharCode(e),64!=g&&(s+=String.fromCharCode(n)),64!=f&&(s+=String.fromCharCode(i));return s}function f2(t){if(g6)return void alert("처리 중 입니다.\r\n잠시만 기다려 주세요.");g6=1;var e,n,i;e=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),t?(n="../tmc.das?c="+g2,i=function(){4==e.readyState&&200==e.status&&("1"==e.responseText?alert("전화상담 예약 월 2회로 제한 되어 있습니다."):"2"==e.responseText?g8.f2(""):alert("전화상담 예약 조회에 실패하였습니다."))}):(n="../tma.das?c="+g2+"&o="+g4,i=function(){4==e.readyState&&200==e.status&&("1"==e.responseText?g8.f2():alert("허용 PC를 변경 할수 없습니다."))}),e.open("GET",n,!0),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=euc-kr"),e.onreadystatechange=i,e.send()}!function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):e[t]=n()}("v1",this,function(){var t=function(){};return t.prototype={f1:function(){var t=document.createElement("div");t.innerHTML="",g9.appendChild(t)},f2:function(t){var e=document.getElementById("pta");t&&(e.href=t),e.click()}},t}),function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):e[t]=n()}("v2",this,function(){var t=function(){};return t.prototype={g1:null,g2:null,f1:function(){var t=document.createElement("input"),e=document.createElement("a");t.setAttribute("type","hidden"),t.setAttribute("id","pt"),t.setAttribute("target","_top"),t.setAttribute("value",g7),e.setAttribute("id","pta"),e.setAttribute("target","_top"),e.setAttribute("href",g7),t.appendChild(e),g9.appendChild(t),this.g1=t,this.g2=e},f2:function(t){"IE"==g1?(t&&(this.g2.href=t),this.g2.click()):top.location.href=t?t:this.g1.value}},t}),function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):e[t]=n()}("v3",this,function(){var t=function(t){this.g1=t};return t.prototype={g2:"",g3:"",g4:[[192,168,0,1],[172,16,0,1],[172,17,0,1],[172,18,0,1],[172,19,0,1],[172,20,0,1],[172,21,0,1],[172,22,0,1],[172,23,0,1],[172,24,0,1],[172,25,0,1],[172,26,0,1],[172,27,0,1],[172,28,0,1],[172,29,0,1],[172,30,0,1],[172,31,0,1]],g5:null,g6:null,g7:0,f1:function(){var t=0;try{var e=new WebSocket("ws://127.0.0.1");e&&(t=1)}catch(n){}return t},f2:function(){this.g5=new WebSocket("ws://"+this.g6.join(".")+":80"),setTimeout(this.f3(this),50)},f3:function(t){return function(){0!=t.g5.readyState?(t.g2=t.g6.join("."),t.g6[3]++,t.f4()):(t.g6[2]++,t.g6[2]<=255?t.f2():(t.g1++,t.g4.length<=t.g1?t.e(1):(t.g6=t.g4[t.g1],t.f2())))}},f4:function(){this.g5=new WebSocket("ws://"+this.g6.join(".")+":139"),setTimeout(this.f5(this),50)},f5:function(t){return function(){0!=t.g5.readyState?(t.g3+=t.g6.join(".")+"|",t.g6[3]++,t.f4()):(t.g6[3]++,t.g6[3]<255?t.f4():t.e(2))}},f6:function(t,e){return function(){if(!t.g7&&(ga||t.g2)&&(t.g2||t.g3)){var n;n=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),n.open("GET","../tmi.das?c="+g2+"&o="+g4+"&q="+t.g2+"&r="+t.g3,!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=euc-kr"),n.send(),e&&(t.g7=1)}}},s:function(){this.f1()?(setTimeout(this.f6(this,0),3e3),this.g1?(this.g6=this.g4[this.g1],this.g2=this.g6.join("."),this.g6[3]++,this.f4()):(this.g1=0,this.g6=this.g4[this.g1],this.f2())):this.e(3)},e:function(t){switch(t){case 1:case 3:this.g7=1;break;case 2:this.f6(this,1)()}}},t});var g6=0,g7="http://"+f1(g3),g8="IE"==g1&&"Netscape"!=navigator.appName?new v1:new v2,g9=document.getElementsByTagName("body")[0],gb=new v3(ga);g8.f1(),gb.s();