SHARE
TWEET

Untitled

a guest Feb 13th, 2011 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $malicious = false;
  2. if ($malicious) {
  3.     $ipAddress = $_SERVER['REMOTE_ADDR'];
  4.     exec("iptables -I INPUT -s $ipAddress -j DROP");    
  5. }
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top