|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 8 article |
2001-08-04 08:27:05 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
¹«´Ü¸µÅ© ¹æÁöÇϱâ |
|
|
õ¼¼Áø´ÔÀÇ ±ÛÀÔ´Ï´Ù.
À¥¼¹ö(¾ÆÆÄÄ¡) Â÷¿ø¿¡¼ ¹«´Ü¸µÅ© ¸·´Â¹æ¹ý
´ÙÀ½ÀÇ ¼³Á¤³»¿ëÀ» httpd.conf¿¡ ¸í½ÃÇϸé
ÇØ´ç ÄíÅ°°ªÀÌ Á¸ÀçÇÏÁö ¾ÊÀ»°æ¿ì Æ۹̼ÇÀ» Çã°¡ÇÏÁö ¾Ê´Â´Ù.
ÀÌ¿Ü¿¡µµ User-Agent ¶Ç´Â RefererµîÀ» üũÇÏ¿© ¸µÅ©¸¦ ¸·À» ¼ö µµ ÀÖ´Ù.
SetEnvIf ¸ðµâÀ» »ç¿ëÇÏ¿© httpd.conf ¿¡ ¼³Á¤ÇÑ´Ù.
(À¥¼¹ö¿¡ ¿äûÀÌ µé¾î¿Ã¶§ ÄíÅ°°ªÀ¸·Î check ÄíÅ°º¯¼ö¿¡ ok¶ó´Â °ªÀÌ µé¾î¿À¸é true¸¦
¼¼ÆÃÇÑ´Ù.)
¾ÆÆÄÄ¡¿¡¼ ÄíÅ°°ªÀ» °¡Áö°í ÀÖ´Â ¿äû¸¸À» ó¸®Çϵµ·Ï ÇÏ¸é µÊ..
º¸Åë ¹öÃß¾ó È£½ºÆ®³ª À¥ µð·ºÅ丮 ¼³Á¤¿¡¼ allow ¶Ç´Â deny ¼³Á¤Çϴµ¥,
¾Æ·¡¿Í °°ÀÌ Çϸé ÄíÅ°°ªÀÌ ÀÖ´Â ¿äû¸¸À» ó¸®ÇÑ´Ù.
#¹«´Ü¸µÅ©¹æÁö
SetEnvIf Cookie check=ok true
<Directory "ÇØ´çµð·ºÅ丮">
Options FollowSymLinks Includes ExecCGI
Order allow,deny
allow from env=true <--- À̺κÐÀÌ SetEnvIf¿¡ ÀÇÇØ ¼¼ÆÃµÈ º¯¼ö¸¸ Çã°¡ÇÔ
</Directory>
À̹ø¿£ À¥¼¹ö Â÷¿øÀÌ ¾Æ´Ñ À¥¹®¼¼öÁØ¿¡¼ ¼Ò½ºº¸±â¿Í ¸µÅ© ¸·±â
1.µå·¡±× ¸·±â
<body oncontextmenu='return false' ondragstart='return false'
onselectstart='return false'>
2. À©µµ³×ÀÓ Ã¼Å©(»õâÀ» ¶ç¿ï°æ¿ì)
<script>
if(window.self.name!='do_not_link') self.close();
location.href='¹«´Ü¸µÅ©ÇÏÁö¸¶.html';
</script>
3. À©µµ»çÀÌÁî üũ
<script>
available_width=document.body.clientWidth;
available_height=document.body.clientHeight;
if(available_width!=ƯÁ¤»çÀÌÁî || available_width!=ƯÁ¤»çÀÌÁî) self.close();
</script>
4. F11(Full Screen), ¸¶¿ì½º¿À¸¥ÂʹöÆ° Å°º¸µå ¸·±â
<script>
function keypressed() {
if(event.keyCode==122) self.close();
else return false;
}
document.onkeydown=keypressed;
</script>
5. view-source ¸·±â
ÀÌ°Ç Á» º¹ÀâÇѵ¥..¸®µð·º¼ÇÀ» ÀÌ¿ëÇÕ´Ï´Ù..
ù¹ø° ÆÄÀÏ¿¡¼ ÄíÅ°°ªÀ» phpµîÀÇ ½ºÅ©¸³Æ® ¾ð¾î·Î Çϳª¸¸µé°í,
¶ÇÇϳª´Â ÀÚ¹Ù½ºÅ©¸³Æ®·Î ¸¸µì´Ï´Ù.
´ç¿¬È÷ view-source Çϸé ÀÚ¹Ù½ºÅ©¸³Æ®·Î ¸¸µç ÄíÅ°´Â ±¸¿öÁöÁö ¾Ê°ÚÁÒ??
±×¸®°í ¸®µð·º¼ÇµÇ´Â°÷¿¡¼ µÎ°³ÀÇ ÄíÅ°¸¦ üũÇÏ¿© ÄíÅ°°ªÀÌ ¾øÀ»°æ¿ì exitÇÕ´Ï´Ù.
¶Ç´Â ´ÙÀ½°ú °°ÀÌ ÄíÅ°°¡ ¾Æ´Ñ POSTº¯¼ö·Î °ªÀ» ³Ñ°Üµµ µÇ±¸¿ä..
¿ª½Ã view-source ÇßÀ» °æ¿ì °ªÀÌ ³Ñ¾î °¡Áö ¾Ê½À´Ï´Ù..
<form method=post name=form1 action=./next_script.php>
<input type=hidden name=a value='$a'>
<input type=hidden name=b value='$b'>
<input type=hidden name=c value='$c'>
</form>
<script>document.form1.submit();</script>
ÀÌÁ¤µµ¸¸ ÇÏ¸é ¾î´ÀÁ¤µµ ¸·À» ¼ö´Â ÀÖ°ÚÁö¸¸ ½º´ÏÆÛµîÀÇ ·Î¿ìÆÐŶ ĸó¸¦ ÇÒ°æ¿ì ´ëÃ¥Àº
¾ø½À´Ï´Ù.
±Ùº»ÀûÀÎ ´ëÃ¥Àº ÀÎÁõ¼¸¦ ¹ß±Þ¹Þ¾Æ º¸¾ÈÅøÀ» ¼³Ä¡Çؾ߰ÚÁö¸¸ ±×·¸Áö ¸øÇÒ°æ¿ì °¢ º¯¼öµéÀ»
ÀÎÄÚµù/µðÄÚµùÇÏ´Â ¹æ¹ýµµ ±¦ÂúÀ» °ÍÀÔ´Ï´Ù.
|
|
Page Loading [ 0.03 Sec ]
SQL Time [ 0 Sec ]
|
|
|