Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Hack Attempt Script
Author Message
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Fri Apr 02, 2004 1:46 am Reply with quote

Hiya

The new 2.3 update from chatserv uses

Code:
if (stristr($_SERVER["QUERY_STRING"],'%20union%20')) header("Location: index.php");
in the mainfile.php

I am still using

Code:
if (stristr($_SERVER["QUERY_STRING"],'%20union%20')) { 

$loc = $_SERVER['QUERY_STRING'];
header("Location: hackattempt.php?$loc");
die();
}


Should I revert back to new code in 2.3 or should I continue to use my existing code?

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Apr 02, 2004 2:52 am Reply with quote

Continue using you existing code.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Hack Attempt Script

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©