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, 63 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 - calling 9-1-1... locked out of my own website, anyone help?? [ ]
 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
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Sun May 30, 2004 4:42 pm Reply with quoteBack to top

god i have big problems

on my webpage I had 2 users "Admin." when I logged out as admin, I tried to log back in as "admin" but the two conflicting passwords wouldnt allow me to log back in, therefore i got an error message.

Now, I'm using PHP Nuke, version 7.

I have Protector installed, as well as PHPMyAdmin, and Admin Secure.


Is there a way through PHP MyAdmin to create a God user?

Second, even though it says I Emptyed the nuke_authors folder in PHPMyAdmin (which would delete all admins) there are still files within the nuke_authors folder, should they be altered?

Any help would be GREATLY appreciated...
I was hacked two days ago, got all this security installed, low and behold now it is keeping me out of my own site
Find all posts by drujrView user's profileSend private message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun May 30, 2004 4:52 pm Reply with quoteBack to top

After you "successfully" empty the nuke_authors table. Go to admin.php and it will default to the admin account setup. There you will create your new admin account.

BTW, making multiple posts in various spots won't get you help any faster.....it will just annoy the admin's and us regulars.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Sun May 30, 2004 4:57 pm Reply with quoteBack to top

My apologies but I couldnt move the post, I thought it would be more appropriate in this forum as it was specific to Admin Secure. Sorry.

Now, how can I confirm that i've emptied the nuke_authors table, should EVERYTHING within the table be deleted? Because right now there are still fields within it.

Also, earlier I attempted what you said, I went through that process: added a name, webpage, email, password etc, then it shot me over to the default Administrator Login page, upon entering any information it would send me back to the create Administrator page ("No administrators have been registered...")
Find all posts by drujrView user's profileSend private message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun May 30, 2004 5:04 pm Reply with quoteBack to top

right, you should still see the fields in the table, but no entries.

It guess it's possible that they changed some of the fields when you were hacked in order to prevent you from re-gaining access.......but I'm no expert.

You can drop the following code into your database via phpMyAdmin and see if it helps. This is from a SQL back-up of my old phpNuke 7.3 site. This will totally drop your nuke_authors table, then re-create it.

Then you could try going to your admin.php and try creating a new admin account.

I'm not 100% sure that will work.......but I don't see any other suggestions at the moment either, so.....

Code:

DROP TABLE IF EXISTS `nuke_authors`;
CREATE TABLE `nuke_authors` (
  `aid` varchar(25) NOT NULL default '',
  `name` varchar(50) default NULL,
  `url` varchar(255) NOT NULL default '',
  `email` varchar(255) NOT NULL default '',
  `pwd` varchar(40) default NULL,
  `counter` int(11) NOT NULL default '0',
  `radminarticle` tinyint(2) NOT NULL default '0',
  `radmintopic` tinyint(2) NOT NULL default '0',
  `radminuser` tinyint(2) NOT NULL default '0',
  `radminsurvey` tinyint(2) NOT NULL default '0',
  `radminsection` tinyint(2) NOT NULL default '0',
  `radminlink` tinyint(2) NOT NULL default '0',
  `radminephem` tinyint(2) NOT NULL default '0',
  `radminfaq` tinyint(2) NOT NULL default '0',
  `radmindownload` tinyint(2) NOT NULL default '0',
  `radminreviews` tinyint(2) NOT NULL default '0',
  `radminnewsletter` tinyint(2) NOT NULL default '0',
  `radminforum` tinyint(2) NOT NULL default '0',
  `radmincontent` tinyint(2) NOT NULL default '0',
  `radminency` tinyint(2) NOT NULL default '0',
  `radminsuper` tinyint(2) NOT NULL default '1',
  `admlanguage` varchar(30) NOT NULL default '',
  `radminblocker` tinyint(2) NOT NULL default '0',
  PRIMARY KEY  (`aid`),
  KEY `aid` (`aid`)
) TYPE=MyISAM;

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Sun May 30, 2004 5:48 pm Reply with quoteBack to top

Ive tried what you said... but I'm not too optimistic about this one.... Crying or Very sad

I just dont understand... If all of the authors have been cleared out - why wont it let me create a Super User? Is it because of the extra protection I have on the site, such as Protector and AdminSecure? Should I try to disable these externally?
Find all posts by drujrView user's profileSend private message
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Sun May 30, 2004 6:54 pm Reply with quoteBack to top

still nothing...

when i'm trying to access AdminSecure through the "emergency panel" this is the error i get, probably unrelated to whats going on above:


Database Error!

An error was encountered while approving god admin account.

Error Message:
(Code: 0)

It strongly recommended that you stop this process now. Make sure your PHP-Nuke is properly installed and configured, and your site has no database problems.


any ideas...... or should i just throw in the towel altogether..
Find all posts by drujrView user's profileSend private message
tix
Lieutenant
Lieutenant


Joined: Feb 05, 2004
Posts: 170


PostPosted: Sun May 30, 2004 7:50 pm Reply with quoteBack to top

So if admin Secure doesnt let you make an admin unintall it make the admin and re-install it
Find all posts by tixView user's profileSend private messageVisit poster's website
mitch100degrees
Sergeant
Sergeant


Joined: Feb 01, 2004
Posts: 98

Location: USA, Michigan

PostPosted: Sun May 30, 2004 7:57 pm Reply with quoteBack to top

http://www.nukecops.com/PHP-Nuke_cannot-create-administrator-account.html

Ok drujr Lets try reading this, This same thing happened on a friends site, It got fixed by reinstalling Nuke because he could'nt wait for me to find a fix (Pushy - yes, Can't Wait for anything in his life - You got what i'm saying Wink ) Anyways give that a read, If your site isn't that large, you should consider reinstalling, though there has to be some kinda fix out there to this, your not writing to the database for some reason, and the Hackers may have something to do with this, The Admin Secure error is probably coming up due to when you dropped the Admin table, you dropped the fields it needed to operate, (If it created any fields in the authors table) I haven't used AS but i plan on it, My fix to the hacks is to move the admin.php every night, works well Wink However i am gonna install the 'Army' i call it, (Fortess, Admin Secure and so on) and i bet the hacking will hault. Back on topic, read that link and if i find anything else on it i will post back.

Mitch
Find all posts by mitch100degreesView user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger
hue
Support Mod
Support Mod


Joined: Apr 18, 2003
Posts: 368

Location: Ohio

PostPosted: Mon May 31, 2004 5:38 am Reply with quoteBack to top

drujr,
I have sent you a pm about this!
Find all posts by hueView user's profileSend private messageICQ Number
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Mon May 31, 2004 6:23 am Reply with quoteBack to top

A full reinstall looks good at this point, but the Rainbow Brite of the thing is readding all the articles/news on my site back in there, especially how it'll all be on the same day/hour when I re-post them..


I checked my config.php, this is what it looked like:

$dbhost = "localhost";
$dbuname = "drujr_nuke2";
$dbpass = "Wink";
$dbname = "drujr_nuke2";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*&kUTRpOiDl2f13[jjERBr+e9";
$gfx_chk = 7;

i changed the "$gfx_chk = 7;" to "$gfx_chk = 0;" thinkin that may have been the problem, but no luck..
Find all posts by drujrView user's profileSend private message
Tank863
Lieutenant
Lieutenant


Joined: Feb 21, 2003
Posts: 195

Location: Philadelphia

PostPosted: Mon May 31, 2004 6:24 am Reply with quoteBack to top

Okay.. if you have not got it fioxed try this solution.

BrainSmasheR was on about what he was tellng you to do. However, one of the features of Amdin Secure is that it duplictaes your nuke_authors table into its own table and that table will be called what ever you named it using the admin secure in the includes/asconfig.php file.

More likely than not you will have to empty this table also using phpmyadmin.. or you may have to uninstall Admin Secure to successfully complete what you need to do.
Find all posts by Tank863View user's profileSend private messageVisit poster's websiteICQ Number
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Mon May 31, 2004 11:34 am Reply with quoteBack to top

drujr wrote:
on my webpage I had 2 users "Admin." when I logged out as admin, I tried to log back in as "admin" but the two conflicting passwords wouldnt allow me to log back in, therefore i got an error message.


How come two different admin accounts with identical password can refuse you to logged in?

drujr wrote:
Is there a way through PHP MyAdmin to create a God user?


You can do this from PHP-Nuke "edit admin" function.
Create a new admin with "name" as God and nickname can be anything.

drujr wrote:
Second, even though it says I Emptyed the nuke_authors folder in PHPMyAdmin (which would delete all admins) there are still files within the nuke_authors folder, should they be altered?


If you are using Admin Secure, you can revert back your admin accounts using emergency menu. Logout as admin and run asec.php (or whatever filename you used). Enter two security codes that was given at first installation and lick on "Recovery Progress" option. This will restore all admin accounts to last known good and remove unwanted admin accounts.

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Mon May 31, 2004 3:10 pm Reply with quoteBack to top

Quote:
How come two different admin accounts with identical password can refuse you to logged in?


That was only my assumption, I dont know why I couldnt log back in once I logged out.

Quote:
If you are using Admin Secure, you can revert back your admin accounts using emergency menu. Logout as admin and run asec.php (or whatever filename you used). Enter two security codes that was given at first installation and lick on "Recovery Progress" option. This will restore all admin accounts to last known good and remove unwanted admin accounts.


Yeah, this didn't work for me either. Crying or Very sad
Find all posts by drujrView user's profileSend private message
drujr
Nuke Soldier
Nuke Soldier


Joined: May 30, 2004
Posts: 12


PostPosted: Mon May 31, 2004 5:20 pm Reply with quoteBack to top

Problem solved thanks to the one and only "hue" from cheap-solutions.com

Great guy, I dont even use his service but he invited me onto Teamspeak and helped me for over two hours to fix the problems on my website.

I'd highly recommend their services!

www.cheap-solutions.com

Dave
Find all posts by drujrView user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Mon May 31, 2004 6:34 pm Reply with quoteBack to top

What is the problem, exactly?
Hopefully your solution can help someone else either.

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
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.898 Seconds - 219 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::