This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 13th, 2011  |  syntax: PHP  |  size: 0.14 KB  |  views: 76  |  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. $malicious = false;
  2. if ($malicious) {
  3.     $ipAddress = $_SERVER['REMOTE_ADDR'];
  4.     exec("iptables -I INPUT -s $ipAddress -j DROP");    
  5. }
clone this paste RAW Paste Data