Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 10th, 2009  |  syntax: None  |  size: 0.81 KB  |  views: 1,742  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <script src='http://code.vietwebguide.com/php/addr.php' type='text/javascript'/>
  2. <script type='text/javascript'>
  3. //&lt;!CDATA[
  4. // Banned ip script 2.0
  5. //(C)2009 Anhvo
  6. //homepage: http://vietwebguide.com
  7.  
  8. var banned_ip = new Array();
  9.  
  10. banned_ip[0] = &#39;188.25&#39;;
  11. banned_ip[1] = &#39;22.98.69.1&#39;;
  12. banned_ip[2] = &#39;22.98.69.146&#39;;
  13. banned_ip[3] = &#39;85.78&#39;;
  14.  
  15. var mes_bi = &quot;Your IP is banned so you cannot visit this website!&quot;;
  16.  
  17. for(var i=0;i&lt;banned_ip.length;i++) {
  18. eval(&#39;var re = /^&#39; + banned_ip[i] + &#39;/ ;&#39;);
  19.   if (re.test(mc_user_ip))
  20.   {
  21.     document.write(&#39;&lt;style type=&quot;text/css&quot;&gt;&#39;);
  22.     document.write(&#39;BODY{display:none;}&#39;);
  23.     document.write(&#39;&lt;\/style&gt;&#39;);
  24.  alert(mes_bi);
  25.    break;
  26.  }
  27. }
  28. //]]&gt;
  29. </script>