Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
scriptleek
Hangin' Around



Joined: Oct 19, 2005
Posts: 40

PostPosted: Sat Oct 29, 2005 9:45 pm Reply with quote

Hi, i have a few questions on which i would like some advice/answers.

1. i recently reinstalled my site with phpnuke 7.6 patched 3.1 and with sentinel it is working like a charm the q is: i have troubles with my arcademod to save and update scores i read on another forum it might be the

// Posting from other servers in not allowed
// Fix by Quake
// Bug found by PeNdEjO
if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
}
}

and to delete this code. Is this a smart thing to do or...?

2. i wondered after installing sentinel there is a directory in the nuke root called "nsnst_installer" can i delete this too or does it have a function?

thnx.
Regards;
Scriptleek.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Oct 29, 2005 9:53 pm Reply with quote

#1. I have addressed this elsewhere in the forum, but I'll repeat it here. That is bad code and it doesn't work. Get rid of it.

#2. Delete that folder and nsnst.php.
 
View user's profile Send private message
scriptleek







PostPosted: Sat Oct 29, 2005 9:57 pm Reply with quote

Hi & Thnx Raven, i might have overread this in the forum Smile

Best regards;
Scriptleek.
 
technocrat
Life Cycles Becoming CPU Cycles



Joined: Jul 07, 2005
Posts: 511

PostPosted: Sun Oct 30, 2005 4:00 pm Reply with quote

The concept was good, but it just didnt work Sad

_________________
Nuke-Evolution
phpBB-Evolution / phpBB-Evolution Blog 
View user's profile Send private message
Raven







PostPosted: Sun Oct 30, 2005 7:10 pm Reply with quote

technocrat wrote:
The concept was good, but it just didnt work Sad
A simple Google search would have explained why that approach will not work.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

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 ©