Here is the script.
in your mainfile.php in nuke add this at the end of the file.
be sure to change the $to variable to your email address otherwise, you wont be getting the emails XD
What does this script do you ask? it protects you from an attack which displays all the super admin's usernames and passwords in MD5 format.
If you dont have nuke sentinel i suggest using this. nuke sentinel has a better working version of this, that bans their ip and has a fancy control panel and all that crap. but if you dont wanna change ur nuke to sentinel
then this is a nifty lil script. and if you want to test this script.... no wait i better not reveal that, it will tell people how to get other's md5's and stuff. well... it works... thats all u need to know
in your mainfile.php in nuke add this at the end of the file.
be sure to change the $to variable to your email address otherwise, you wont be getting the emails XD
What does this script do you ask? it protects you from an attack which displays all the super admin's usernames and passwords in MD5 format.
If you dont have nuke sentinel i suggest using this. nuke sentinel has a better working version of this, that bans their ip and has a fancy control panel and all that crap. but if you dont wanna change ur nuke to sentinel
then this is a nifty lil script. and if you want to test this script.... no wait i better not reveal that, it will tell people how to get other's md5's and stuff. well... it works... thats all u need to know
| Code: |
|
//Nuke Security Script //Script By oMejA aka [FuN]Goku //Script was originally by Nuke-Cops but, //I enhanced it to do emails and stuff. unset($matches); unset($loc); $yourip = $_SERVER['REMOTE_ADDR']; $browser = $_SERVER['HTTP_USER_AGENT']; $loc=rawurldecode($_SERVER["QUERY_STRING"]); if (strstr($loc,"*")) { $to = "email@email.com"; $subject = "Hacking Attempt"; $body = "Someone has attempted a potential attack on your nuke site .\n\n Their IP : $yourip\n\n Their Browser : $browser \n\n Hacking Attempt : $loc"; mail($to, $subject, $body); die("You have attempted a potential hack on this site.<br> Your IP is : $yourip <br> Your browser is : $browser <br> An email has been sent to the administrator.<br> Hacking Attempt : $loc "); } if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", $loc, $matches)) { mail($to, $subject, $body); die("You have attempted a potential hack on this site.<br> Your IP is : $yourip <br> Your browser is : $browser <br> An email has been sent to the administrator.<br> Hacking Attempt : $loc "); } |
