ip차단.. 정보
ip차단..
본문
특정 ip차단 해 버리면...
상대방이 접속했을경우...ip차단되었습니다. 라는 창이 하나 뜨잖아요.
이걸 다른방법으로 접속못하게 하는 방법 없을까요?
예를들어...
그냥 없는 페이지로 나오게 하던가..
아예 ip차단 이란 창은 안뜨는데...접속이 안되는경우..
아주 싫은 넘이 하나 있는데..
눈치보여서 ip차단 못 시키고 있습니다.
참고로 그넘의 ip는 제가 잘 간직하고 입죠.
도와주세요^^ ㅋㅋ
상대방이 접속했을경우...ip차단되었습니다. 라는 창이 하나 뜨잖아요.
이걸 다른방법으로 접속못하게 하는 방법 없을까요?
예를들어...
그냥 없는 페이지로 나오게 하던가..
아예 ip차단 이란 창은 안뜨는데...접속이 안되는경우..
아주 싫은 넘이 하나 있는데..
눈치보여서 ip차단 못 시키고 있습니다.
참고로 그넘의 ip는 제가 잘 간직하고 입죠.
도와주세요^^ ㅋㅋ
추천
0
0
댓글 5개
ip체크해서 가짜로 만든 페이지(페이지 없음, 도메인 기간만료등등의 페이지) 고고씽 시킵니다.ㅋㅋ

common.php 대략 360번째줄 근처에
if ($is_intercept_ip)
아랫부분 die 부분을 아래와 같이 변경 해보세요. 가짜 404 페이지
그리고 질문은 질문 게시판으로 ㄱㄱ씽~ 하시길
--------------------------
die ("
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2 Final//EN'>
<html>
<head>
<style>
a:link {font:9pt/11pt 굴림; color:red}
a:visited {font:9pt/11pt 굴림; color:#4e4e4e}
</style>
<meta HTTP-EQUIV='Content-Type' Content='text-html; charset=ks_c_5601-1987'>
<title>HTTP 404 찾을 수 없습니다.</title>
</head>
<script>
function Homepage(){
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use
//DocURL = 'res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm'
DocURL=document.location.href;
//this is where the http or https will be, as found by searching for :// but skipping the res://
protocolIndex=DocURL.indexOf('://', 4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf('/', protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf('#',1) + 1;
urlresult=DocURL.substring(BeginURL, serverIndex);
if (protocolIndex - BeginURL > 7)
urlresult=''
//for display, we need to skip after http://, and go to the next slash
displayresult=DocURL.substring(protocolIndex + 3, serverIndex);
var aElement = document.createElement('A');
aElement.innerText = displayresult;
aElement.href = urlresult;
homepageContainer.appendChild(aElement);
}
function doSearch()
{
saOC.NavigateToDefaultSearch();
}
function initPage()
{
document.body.insertAdjacentHTML('afterBegin','<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>');
Homepage();
}
</script>
<body bgcolor='white' onload='initPage()'>
<table width='400' cellpadding='3' cellspacing='5'>
<tr>
<td id='tableProps' valign='top' align='left'><img SRC='res://C:\WINDOWS\system32\shdoclc.dll/pagerror.gif' name='pagerrorImg'
width='25' height='33' id='pagerrorImg'></td>
<td id='tableProps2' align='left' valign='middle' width='360'><h1 id='errortype'
style='COLOR: black; FONT: 13pt/15pt 굴림'><span id='errorText'>페이지를 찾을 수 없습니다.</span></h1>
</td>
</tr>
<tr>
<td id='tablePropsWidth' width='400' colspan='2'><font
style='COLOR: black; FONT: 9pt/11pt 굴림'>검색 중인 페이지가 제거되었거나
이름이 변경되었거나 일시적으로 사용할 수 없습니다.</font></td>
</tr>
<tr>
<td id='tablePropsWidth2' width='400' colspan='2'><font id='LID1'
style='COLOR: black; FONT: 9pt/11pt 굴림'><hr color='#C0C0C0' noshade>
<p id='LID2'>다음을 시도해 보십시오.</p><ul>
<li id='list1'>페이지 주소를 주소 표시줄에 입력한 경우 해당 주소를 올바르게
입력했는지 확인하십시오.<br>
</li>
<li id='list2'><span id='homepageContainer'></span> 홈 페이지를 열고 원하는 정보가 있는 링크를
검색하십시오. </li>
<li id='list3'>Click the <a href='javascript:history.back(1)'><img valign=bottom border=0 src='res://C:\WINDOWS\system32\shdoclc.dll/back.gif'> 뒤로</a>단추를 클릭하여 다른 링크를 시도하십시오. </li>
<li ID='list4'>인터넷에서 정보를 찾으려면 <a href='javascript:doSearch()'><img border=0 src='res://C:\WINDOWS\system32\shdoclc.dll/search.gif' width='16' height='16' alt='search.gif (114바이트)' align='center'>검색</a>을 클릭하십시오. </li>
</ul>
<p><br>
</p>
<h2 id='ietext' style='font:9pt/11pt 굴림; color:black'>HTTP 404 - 파일을 찾을 수 없음<br>
Internet Explorer <BR>
</h2>
</font></td>
</tr>
</table>
</body>
</html>
");
if ($is_intercept_ip)
아랫부분 die 부분을 아래와 같이 변경 해보세요. 가짜 404 페이지
그리고 질문은 질문 게시판으로 ㄱㄱ씽~ 하시길
--------------------------
die ("
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2 Final//EN'>
<html>
<head>
<style>
a:link {font:9pt/11pt 굴림; color:red}
a:visited {font:9pt/11pt 굴림; color:#4e4e4e}
</style>
<meta HTTP-EQUIV='Content-Type' Content='text-html; charset=ks_c_5601-1987'>
<title>HTTP 404 찾을 수 없습니다.</title>
</head>
<script>
function Homepage(){
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use
//DocURL = 'res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm'
DocURL=document.location.href;
//this is where the http or https will be, as found by searching for :// but skipping the res://
protocolIndex=DocURL.indexOf('://', 4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf('/', protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf('#',1) + 1;
urlresult=DocURL.substring(BeginURL, serverIndex);
if (protocolIndex - BeginURL > 7)
urlresult=''
//for display, we need to skip after http://, and go to the next slash
displayresult=DocURL.substring(protocolIndex + 3, serverIndex);
var aElement = document.createElement('A');
aElement.innerText = displayresult;
aElement.href = urlresult;
homepageContainer.appendChild(aElement);
}
function doSearch()
{
saOC.NavigateToDefaultSearch();
}
function initPage()
{
document.body.insertAdjacentHTML('afterBegin','<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>');
Homepage();
}
</script>
<body bgcolor='white' onload='initPage()'>
<table width='400' cellpadding='3' cellspacing='5'>
<tr>
<td id='tableProps' valign='top' align='left'><img SRC='res://C:\WINDOWS\system32\shdoclc.dll/pagerror.gif' name='pagerrorImg'
width='25' height='33' id='pagerrorImg'></td>
<td id='tableProps2' align='left' valign='middle' width='360'><h1 id='errortype'
style='COLOR: black; FONT: 13pt/15pt 굴림'><span id='errorText'>페이지를 찾을 수 없습니다.</span></h1>
</td>
</tr>
<tr>
<td id='tablePropsWidth' width='400' colspan='2'><font
style='COLOR: black; FONT: 9pt/11pt 굴림'>검색 중인 페이지가 제거되었거나
이름이 변경되었거나 일시적으로 사용할 수 없습니다.</font></td>
</tr>
<tr>
<td id='tablePropsWidth2' width='400' colspan='2'><font id='LID1'
style='COLOR: black; FONT: 9pt/11pt 굴림'><hr color='#C0C0C0' noshade>
<p id='LID2'>다음을 시도해 보십시오.</p><ul>
<li id='list1'>페이지 주소를 주소 표시줄에 입력한 경우 해당 주소를 올바르게
입력했는지 확인하십시오.<br>
</li>
<li id='list2'><span id='homepageContainer'></span> 홈 페이지를 열고 원하는 정보가 있는 링크를
검색하십시오. </li>
<li id='list3'>Click the <a href='javascript:history.back(1)'><img valign=bottom border=0 src='res://C:\WINDOWS\system32\shdoclc.dll/back.gif'> 뒤로</a>단추를 클릭하여 다른 링크를 시도하십시오. </li>
<li ID='list4'>인터넷에서 정보를 찾으려면 <a href='javascript:doSearch()'><img border=0 src='res://C:\WINDOWS\system32\shdoclc.dll/search.gif' width='16' height='16' alt='search.gif (114바이트)' align='center'>검색</a>을 클릭하십시오. </li>
</ul>
<p><br>
</p>
<h2 id='ietext' style='font:9pt/11pt 굴림; color:black'>HTTP 404 - 파일을 찾을 수 없음<br>
Internet Explorer <BR>
</h2>
</font></td>
</tr>
</table>
</body>
</html>
");


무쟈게 좋은 방법이네요.
바로 적용했습니다. ㅋㅋㅋ
바로 적용했습니다. ㅋㅋㅋ




ㅎㅎ

특정IP에 보면 욱하는 물건을 놔두세요.. 다신 그 IP로 얼씬을 못하게... 하하;