¹æ¸í·Ï¿¡ °ÅºÎ´Ü¾î¸¦ ¼³Á¤ÇÏ°í½Í½À´Ï´Ù
´Ù¸¥ºÐµéÀº ±× ±â´ÉÀ» »ç¿ëÇϽô ºÐµéµµ ÀִµíÇѵ¥
Àú´Â ¾ÆÁ÷ Àß ¸ð¸£°Ú½À´Ï´Ù
.
..
...
¾Æ, ±×¸®°í ƯÁ¤ÀÎ IP¸·´Â ±× ¼Ò½º´Â purybbs.cgi ÀÇ ¾î´ÀºÎºÐ¿¡ ³Ö¾î¾ßÇϴ°ǰ¡¿ä?
@ban_ip = ('211.123.123.123','211.22.123.122','211.22');
$ip=$ENV{'REMOTE_ADDR'};
foreach $list (@ban_ip) {
if ($ip =~/$list/) {
print "content-type:text/html\n\n";
print "U BAN!!";
exit;
}
}
°Ë»öÇغ¸´Ï ÀÌ°Ô ¶ß´øµ¥¸»ÀÌÁÒ...