I'm using PHP Nuke 7.3 on a server with Apache 1.3.31 and PHP 4.3.7. Now I have install Sec-Fix Patch 7.3 from www.nukefixes.com , but now Admin Secure don't work. Maybe for the new $_SERVER['SCRIPT_NAME'] instead of $_SERVER['PHP_SELF'] ... I don't know...
Can you check if Admin Secure works with the new Sec-Fix Patch 7.3?
Thanks madman
madman Support Mod
Joined: Feb 15, 2004
Posts: 806
Posted:
Mon Jun 14, 2004 11:21 am
If you just replace all those fix files over old ones, then you'll never get Admin Secure to works.
You'll have to modify two nuke files after installing fixes from ChatServ. Here they are:
Just download it.
I try installing this patch, do changes in nuke files, and everything seems to work.
JeZMaN wrote:
Have you test if your Admin Secure 1.7 works with Sec-Fix Patch 7.3?
I have test it in original 7.3 and using secfix73 patch. Both working fine.
JeZMaN wrote:
I had tried with a exploit, but i don't know if my exploit "works" with Admin Secure. Can see sendme by PM a exploit for test my Admin Secure?
Admin Secure catch any exploits at the last attempt, after other security addons. In 7.3, part of Fortress/UTC code was internally embedded and will catch them first before Admin Secure.
To knowing whether Admin Secure work or not, try to remove/commenting internal Fortress/UTC code, or try to use some exploits not covered by UTC. For example:
Admin Secure catch any exploits at the last attempt, after other security addons. In 7.3, part of Fortress/UTC code was internally embedded and will catch them first before Admin Secure
Yes... that was the "problem", I have try with this exploit:
Sorry for that questions... but install.txt and your code in this post is different...
Thanks madman, and sorry for my bad english, i'm spanish...
madman Support Mod
Joined: Feb 15, 2004
Posts: 806
Posted:
Mon Jun 14, 2004 4:38 pm
JeZMaN wrote:
I have try with this exploit:
And Admin Secure catch it
That's the way it work.
Admin Secure only catches any exploits where not handled by any other security addons, act as your last protection layer for your site.
JeZMaN wrote:
Now I have a few questions...
admin.php have I to add this line?:
Code:
if ($admintest && ($op != "logout")) { asec_checkAdminAccess(); }
Yes, to inform admin whenever their account has changed and require approval. It's optional but If absent, admin has no clue when they try to login but cannot gain access to admin menu.
JeZMaN wrote:
mainfile.php
Code:
function is_admin($admin) {
return asec_isAdmin($admin);
}
or
Code:
function is_admin($admin) {
return asec_isAdmin($admin);
global $prefix, $db;
if(!is_array($admin)) {
$admin = addslashes($admin);
$admin = base64_decode($admin);
:
:
}
You can use either of both.
Use the first one to reduce filesize.
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