Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
donkon
New Member
New Member


Joined: Mar 03, 2005
Posts: 10

PostPosted: Thu Mar 03, 2005 7:03 am Reply with quote

Hello,

I have officially started pulling my hair out because i cant run this. I got hacked for the 2nd time yesterday in 3 days.

Ok here it is :

I installed nuke sentinel but cannot configure the .htaccess files in anyway. Heres the steps i took :

1: Configured my authorization password and name in CGI Auth
2: I uploaded the sample.htaccess and sample.staccess files into my nuke root
3: I change the CHMOD on htaccess to 666
4:I went into cgi config, copied the code between the ****** and pasted it into sample.htacces
5: I renamed the files to .htaccess and staccess
6:In Sentinel Config i located the directory where both the files are located
7: Pressed save

And now i still cannot login into my account, I type everything but nothing works.

Someone please help me this is driving me nuts, and i am scared that I will have my site hacked again

I searched this site for answers, google, other sites and nothing has helped me. If someone could help me with this step by step as thorough as they can i would greatly appreciate it..

Please..

Thanks
 
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Mar 03, 2005 7:15 am Reply with quote

Hello,


just take a look at the FAQ:


Only registered users can see links on this board! Get registered or login!



Greetz
Susann
 
View user's profile Send private message
donkon
PostPosted: Thu Mar 03, 2005 7:32 am Reply with quote

Yes, someone directed me to that link yesterday from a different site, i tried most of that and nothing works, you are no help.. I tried everything...
 
donkon
PostPosted: Thu Mar 03, 2005 7:43 am Reply with quote

Also the problem is not me not getting to log in, all i do to get back to admin is delete the 2 files.. Please help me personmally instead of directing me, People directed me here now you direct me to other places
 
Susann
PostPosted: Thu Mar 03, 2005 9:12 am Reply with quote

Sorry, but many people don `t know the FAQ or dont `read the Nuke Sentinel FAQ.

Does this work ?First login as admin then upload .htaccess.

RavensScripts
 
donkon
PostPosted: Thu Mar 03, 2005 12:28 pm Reply with quote

No it didnt help,

Is there anything i should put in the staccess file?? Like the username and password. The file is empty at the moment
 
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Mar 03, 2005 1:56 pm Reply with quote

Read through this thread Only registered users can see links on this board! Get registered or login! and use the form given there to manually create the password using the same salt you have in your Nuke Sentinel config.

This is pretty simple to setup really and frustrated or not its no reason to get a witchy towards Susann for trying point you in the right direction. Yes she is 100% right that most people having problems with this don't take the time to read any of the documentation at all.

Now on to help...

Post your htaccess and staccess files so that we can see if there is something your doing wrong. Such as not setting the path in the htaccess file so it can find the staccess file and so on.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
donkon
PostPosted: Sat Mar 05, 2005 11:40 pm Reply with quote

my htaccess :

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
deny from all
</Files>

<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile /home/mysite/public_html/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth

And staccess is empty
# -------------------------------------------
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sun Mar 06, 2005 1:25 am Reply with quote

Quote:
And staccess is empty
# -------------------------------------------


If it is empty then you haven't set the userid and password as instructed above. The very first post in Only registered users can see links on this board! Get registered or login! instructs how to create the password and install it in .staccess.
 
View user's profile Send private message
rasin
New Member
New Member


Joined: Mar 08, 2005
Posts: 18

PostPosted: Tue Mar 08, 2005 10:55 am Reply with quote

ok my friend im having trouble with installing the user pass to staccess ive read the links to install it but as i have no idea about php or its coding where do you set user pass in the script as shown here

<form method='post'>
Enter password to be encrypted using crypt(): <input name='pw'><br /><br />
Enter the 'salt' value for the encryption (2 long): <input name='salt' maxlength='2'><br /><br />
<input type='submit' name='submit' value='Encrypt'><br /><br />
<?
if (isset($_POST['submit'])&&isset($_POST['pw'])&&!empty($_POST['pw'])) {
echo "Password <b>".$_POST['pw']."</b> translated is <b>".crypt($_POST['pw'],$_POST['salt'])."</b>";
}


this is doin my head in as i cant log into site unless i remove htaccess everythin else seems to work fine otherwise please help a thick old man lol
 
View user's profile Send private message
Raven
PostPosted: Tue Mar 08, 2005 10:57 am Reply with quote

You save that code to a file and ftp it to your site. Then you run that script and fill in the blanks. Then you transfer the results to your .staccess file.
 
rasin
PostPosted: Tue Mar 08, 2005 2:11 pm Reply with quote

ok i did what was said i ftp file got this result in browser

Password ******** translated is *************

i added that to staccess and still gives me the finger what am i doin wrong
 
Raven
PostPosted: Tue Mar 08, 2005 2:20 pm Reply with quote

In the .staccess file, the format is usernname:password

So, you should have an entry like
raven:45dghdg43653h
 
rasin
PostPosted: Tue Mar 08, 2005 2:37 pm Reply with quote

ok done that my friend when i upload both ht an st files still get no entry to site here what is in the ht

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files home/******/public_html/******/.staccess>
deny from all
</Files>
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile home/******/public_html/******/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------


and in st

letmein:11op4V89okljr

well summat to that effect is there anything i need to do in sentinal settings before uploading both files???? lol if i only had a brain lol
 
rasin
PostPosted: Wed Mar 09, 2005 6:25 am Reply with quote

i sorted it out after many hours readin your forums thanks for your help buddy RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©