Webhacking.kr :: old-12๋ฒ
script ๋ฅผ ๋ณด์..
์ด๋ฐ ์ด๋ชจ์ง๊ฐ (์ ๋ง) ๊ฐ๋ํ๋ค..
(15,376 byte ๋ ๋๋ค)
์๋ณด๋ฉด ์ฌ์ด์ฌ์ด์ ์๋ฏธํด๋ก (;) ์ด ์์ด์, ๊ฐ๋จํ ํ๋๋ฅผ console ์ ์ ๋ ฅํด๋ณด์๋ค.
(๏พ๏ฝฐ๏พ)+=(๏พΘ๏พ);
ํ๋ํ๋๊ฐ javascript ์ฝ๋๋ก ํด์๋๋ ๊ฒ์ด์๋ค..!
์ฐพ์๋ณด๋ ์ด๋ ๊ฒ ์ด๋ชจ์ง๋ก javascript ๋ฅผ encoding ํ๋ ๊ฒ์ด aaencode ๋ผ๋ ๊ฒ์ด์๋ค.
๊ทธ๋ผ aadecode ๋ฅผ ํ์!
(์ฃผ์์ : ๊ทธ๋ฅ chrome ๊ฐ๋ฐ์ ๋๊ตฌ์ Elemnets ๋ก ๋ค์ด๊ฐ์ script ๋ฅผ ๋ณด๋ฉด ๋ค๊ฐ ์๋ฆฐ๋ค. Sources ๋ก ๋ค์ด๊ฐ์ ๋ณด๋๋ก ํ์!)
๊ฒฐ๊ตญ ์จ์ด์๋ javascript ์ฝ๋๋ ๋ค์๊ณผ ๊ฐ๋ค.
var enco='';
var enco2=126;
var enco3=33;
var ck=document.URL.substr(document.URL.indexOf('='));
for(i=1;i<122;i++){
enco=enco+String.fromCharCode(i,0);
}
function enco_(x){
return enco.charCodeAt(x);
}
if(ck=="="+String.fromCharCode(enco_(240))
+String.fromCharCode(enco_(220))
+String.fromCharCode(enco_(232))
+String.fromCharCode(enco_(192))
+String.fromCharCode(enco_(226))
+String.fromCharCode(enco_(200))
+String.fromCharCode(enco_(204))
+String.fromCharCode(enco_(222-2))
+String.fromCharCode(enco_(198))
+"~~~~~~"
+String.fromCharCode(enco2)
+String.fromCharCode(enco3)){
location.href="./"+ck.replace("=","")+".php";
}
console ๋ก ์คํํด์ ๊ฐ์ ์ฐพ์๋ด๋ณด์.
enco ๊ฐ์ ์ป์๊ณ , enco_ ํจ์๋ฅผ ์ ์ํ๊ณ ๋ค์์ ์คํํ๋ฉด ์ํ๋ ๊ฐ์ ์ป์ ์ ์๋ค.
location.href="./"+ck.replace("=","")+".php";
๊ฒฐ๊ตญ "./youaregod~~~~~~~!.php" ๋ก ๋ค์ด๊ฐ๋ฉด ๋๋ค ~
์ฑ๊ณต~~