You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 48 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Fortress modifies Article title to Fortress Alarm @ sitename [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
genoxide
Sergeant
Sergeant


Joined: Jun 19, 2003
Posts: 80


PostPosted: Thu Apr 29, 2004 11:27 am Reply with quoteBack to top

I've re-installed this addon but still the same..

_________________
Image
Find all posts by genoxideView user's profileSend private messageVisit poster's website
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 11:46 am Reply with quoteBack to top

I already had the code. SOrry, don't want to sound like a dummy , but that was the first thing I tried.
Since it's not just a one person having problem I'm willing to e-mail my mainfile.php to someone at this site for checking. Maybe problem is easily visible once the file is seen. If this is an option please let me know ...
Find all posts by rasputinView user's profileSend private messageVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Thu Apr 29, 2004 11:59 am Reply with quoteBack to top

Hi can you please upload it into your upload folder as a txt file. Also please upload fortress as a txt file. Let me know its there, we'll check it straight away.

_________________
http://castlecops.com
<b>Microsoft MVP Windows-Security 2005</b> <img src="http://castlecops.com/zx/Paul/mvp.gif">
Find all posts by IACOJView user's profileSend private message
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 12:11 pm Reply with quoteBack to top

Done. It's uploaded. I also added readme.txt with some aditional comments.

Thanks for your help.
Find all posts by rasputinView user's profileSend private messageVisit poster's website
scandicdiscopub
Sergeant
Sergeant


Joined: Oct 20, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 12:22 pm Reply with quoteBack to top

I just sit with my hands crossed untill i hear something then...

_________________
All we want is knowledge and if knowledge is power we should be considered dangerous.

http://www.nukeroyal.com|http://www.mexicomiamore.com|
Find all posts by scandicdiscopubView user's profileSend private message
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 12:46 pm Reply with quoteBack to top

Well, I got to get off work Smile sorry if I will not be able to verify/test anything you will come up with, until possibly tomorrow.
My only request (if it's even nessesary) - any site specific info from my files not to be posted in topic. Too many willing people that read this forums ...

Thanks.
Find all posts by rasputinView user's profileSend private messageVisit poster's website
zanis
Lieutenant
Lieutenant


Joined: Aug 21, 2003
Posts: 213


PostPosted: Thu Apr 29, 2004 1:59 pm Reply with quoteBack to top

Hi all,

Please note that you need to add this line in the UNION TAP code that you CUT and PASTE into your mainfile as mentioned in this thread.

Could someone please tell the authors of fortress that they need to add this?

Code:
$loc=rawurldecode($_SERVER["QUERY_STRING"]);


Cheers

Zanis
Find all posts by zanisView user's profileSend private message
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 2:03 pm Reply with quoteBack to top

zanis wrote:
Hi all,

Please note that you need to add this line in the UNION TAP code that you CUT and PASTE into your mainfile as mentioned in this thread.

Could someone please tell the authors of fortress that they need to add this?

Code:
$loc=rawurldecode($_SERVER["QUERY_STRING"]);


Cheers

Zanis


Could you paste the full code here ... not sure where it goes ...

Thanks
Find all posts by rasputinView user's profileSend private messageVisit poster's website
scandicdiscopub
Sergeant
Sergeant


Joined: Oct 20, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 2:19 pm Reply with quoteBack to top

This is from Fortress.php from line 121.
Code:

$loc=rawurldecode($_SERVER["QUERY_STRING"]);
   $server=$_SERVER["SERVER_NAME"];
   $rawloc=$_SERVER["QUERY_STRING"];
//here id say
   $loc=rawurldecode($_SERVER["QUERY_STRING"]);
//
   $addr=$_SERVER["REMOTE_ADDR"];
   $refer=$_SERVER["HTTP_REFERER"];
   $agents=$_SERVER["HTTP_USER_AGENT"];
   $cookiess=explode(":", base64_decode($_COOKIE["user"]));
   $authorss=explode(":", base64_decode($_COOKIE["admin"]));
   $rawuri=$_SERVER["REQUEST_URI"];
   $uri=rawurldecode($_SERVER["REQUEST_URI"]);
   $port=$_SERVER["REMOTE_PORT"];
   $host=$_SERVER["REMOTE_HOST"];

checking now
Find all posts by scandicdiscopubView user's profileSend private message
scandicdiscopub
Sergeant
Sergeant


Joined: Oct 20, 2003
Posts: 88


PostPosted: Thu Apr 29, 2004 2:21 pm Reply with quoteBack to top

oops it s already there as in the mainfile as well
no this isnt the solution

_________________
All we want is knowledge and if knowledge is power we should be considered dangerous.

http://www.nukeroyal.com|http://www.mexicomiamore.com|
Find all posts by scandicdiscopubView user's profileSend private message
Imagination
Sergeant
Sergeant


Joined: Oct 19, 2003
Posts: 132


PostPosted: Thu Apr 29, 2004 3:09 pm Reply with quoteBack to top

hmm i have the same problem too,
but i did notice one of the other posts saying they use protector i also have thi sinstaleld all latest patches blah blah blah and its def inserted correctly ...

could it perhaps be a clash with protecter somewhere down the line
Find all posts by ImaginationView user's profileSend private message
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Thu Apr 29, 2004 5:09 pm Reply with quoteBack to top

Hello,

There is a temporarily fix here with an explanation as to what is causing the problem http://www.nukecops.com/postp122027.html#122027

_________________
If you shoot for the moon and miss, you'll still be amongst the stars.
Find all posts by foxyfemfemView user's profileSend private message
zanis
Lieutenant
Lieutenant


Joined: Aug 21, 2003
Posts: 213


PostPosted: Thu Apr 29, 2004 6:23 pm Reply with quoteBack to top

Hi all,

foxyfemfem I have also been affected by the use of common variable names in the fortress code. Could we please get the author to change the local vars so they do not affect the rest of nuke?

Cheers


Zanis

P.s - I suppose this is the reason why some people do not like globals!
Find all posts by zanisView user's profileSend private message
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Thu Apr 29, 2004 6:43 pm Reply with quoteBack to top

Hello,

What version of nuke are you using? I'm using 7.2 and everything work perfect with the common variables. The only problem I had was the $subject and I comment it out, therefore I can post stories with the right "subject" title. According to my website everything else is A-Ok

_________________
If you shoot for the moon and miss, you'll still be amongst the stars.
Find all posts by foxyfemfemView user's profileSend private message
Dunderklumpen
Corporal
Corporal


Joined: Apr 25, 2003
Posts: 53

Location: Sweden

PostPosted: Thu Apr 29, 2004 11:02 pm Reply with quoteBack to top

I can confirm that. The subject is still being changed.

The previous code however does work - at least it does not interfer with PhpNuke. This is the code:

//Union Tap Code (UTC)
//Copyright Zhen-Xjell 2004 http://nukecops.com
//Beta 4 Code to prevent UNION SQL Injections
unset($matches);
unset($loc);
$loc=rawurldecode($_SERVER["QUERY_STRING"]);
//This if block catches C-like comment code within all SQL Injections, not just Union.
//White paper available here: http://www.securiteam.com/securityreviews/5FP0O0KCKM.html
if (strstr($loc,"*")) {
die("YOU ARE SLAPPED BY <a href=\"http://nukecops.com\">NUKECOPS</a> BY USING '$loc'.");
}
//This catches plaintext and base64 version of the Union SQL Injection code.
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", $loc, $matches)) {
die("YOU ARE SLAPPED BY <a href=\"http://nukecops.com\">NUKECOPS</a> BY USING '$matches[1]' INSIDE '$loc'.");
}

Removing the new code and replacing it with this one restores functionality. However I can not be the judge of how good it is or how good the protection is, but it is the previous version. Using 6.0 myself.
Find all posts by DunderklumpenView user's profileSend private messageAIM AddressYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.743 Seconds - 260 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::