How to Catch Hackers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Catch Hackers

    Code:
    if(stristr($_GET['p'], 'order by') || stristr($_GET['p'], '--') || stristr($_GET['p'], '\'') || stristr($_GET['p'], '../'))
    {
    		echo 'No Script Kiddies Allowed Checking user IQ...
    User IQ < minimum. Page not loaded.
    Sending e-mail to webmaster (I\'m not kidding)...
    Success!
    If you want to hack this page, please type the following in a terminal: sudo rm -rf /';
    		$text = 'IP Address: '.$_SERVER['REMOTE_ADDR'].'
    Query string: '.$_GET['p'];
    		mail('you@gmail.com', 'SQL Hacker', $text, "From: you@gmail.com\n");
    }
    just a code i found dnt know if it works
    ________________
    Jacques
    jacques@gw-designs.co.za
    http://coding.biz.tm
    Come join and lets make it a place to learn all the noobies how to code
    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

    #2
    Where to insert it bro
    http://myfacepals.com
    MYFACEPALS SOCIAL NETWORKsigpic

    Comment


      #3
      i think u must add it on a page where it detects some ppl sending invalid chars?
      com site: http://vampist.net
      download site: http://wapdloads.net
      fb: http://www.facebook.com/pmplx

      Comment


        #4
        need more discription

        Comment

        Working...
        X