ThisisLegal.com

ThisisLegal Forums

Welcome to the forums! A chance for site members to chat and get help.

You are not logged in.

#1 2008-07-03 22:30:48

therock_wall
Member
Registered: 2008-03-16
Posts: 45

bypass apache server

after the configuration of Apache server i created a .htaccess & .htpasswd for user "ashwin", so that no one can open the default page with out permission .


     if i login as root how can i bypass the password prompt????

Offline

#2 2008-07-04 05:06:14

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: bypass apache server

What do you mean?

do you mean youve forgotten your password or you want to make a script that bypasses the login box if you are logged in as root?


Site admin

Offline

#3 2008-07-05 02:38:23

therock_wall
Member
Registered: 2008-03-16
Posts: 45

Re: bypass apache server

QUE 1:-ya if i login as root how do i bypass  the prompt for user "ashwin"????

QUE 2:-i hav configured apache server in my PC . i also hav  created the prompt for user "ashwin".now when i enter both the usrname & passwd nothing happens where am i wrong??


can u giv solution for both QUE???

Offline

#4 2008-07-05 05:31:27

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: bypass apache server

Well if youve installed it on windows, firstly go to start -> run -> then type msconfig and uncheck any files associated with apache to stop it loading on startup. but if you want to get the .htpasswd login working you need to follow these steps below:

http://sniptools.com/tutorials/windows-apache-and-htaccess-authentication

hope that helps.


Site admin

Offline

#5 2008-07-05 10:45:57

therock_wall
Member
Registered: 2008-03-16
Posts: 45

Re: bypass apache server

NO dude!!!1

i han REDHAT 5 & WIN-XP DUAL BOOT .
ihav installed APACHE in rehat .i wnt to bypass in linux!!!!!


ANOTHER QUE:-  in WIN-XP i hav 3 drives c,d,e in NTFS format.which i cannot access in linux.what kernel shouls be installed so that i can use those drives in linux?????

Offline

#6 2008-07-09 05:53:20

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: bypass apache server

For the other question:<br /><br />you can "mount" the drives. in redhat do this: <br /><br />

su<br />[rootpass]<br />mkdir -p /ntfs<br />mount -t ntfs /dev/hdb1 /ntfs

<br /><br />allowing you to mount it using /ntfs. youll need to view /dev/ to see the names of all of your drives to do this with. to make it do this automatically when the computer loads, you add this to /etc/fstab:<br /><br />

/dev/hdb1  /ntfs  ntfs user,ro 0 0

<br /><br />again doing one for each drive you need. And for the apache problem, im not really sure what to do. maybe this page might help you:<br /><br />http://www.wallpaperama.com/forums/how-to-remove-uninstall-apache-from-linux-shell-command-re-install-back-t891.html


Site admin

Offline

#7 2008-07-14 01:57:53

therock_wall
Member
Registered: 2008-03-16
Posts: 45

Re: bypass apache server

dude i think i hav posted the QUE in a wrong manner.

its O.K about mounting  the NTFS part.

now the apache QUE.

you know about https right???

i want to hack the https security.

since i hav installed in my redhat5 i want to test it!!!!

Offline

#8 2008-07-14 06:40:32

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: bypass apache server

Hacking your own to test it?<br /><br />you should really research this to find out more. https isnt really as secure as it sounds. all it does is add encryption and authentication. Get yourself a packet sniffer and listen on port 443 and see what you find.<br /><br />It depends on a lot of things such as the software running on your server and the SSL version. Although it is better than having no security at all. This wikipedia article below might help, expecially the "limitations" section:<br /><br />http://en.wikipedia.org/wiki/HTTPS


Site admin

Offline

#9 2008-07-16 20:47:00

therock_wall
Member
Registered: 2008-03-16
Posts: 45

Re: bypass apache server

may be now i got it . it is same as in the tutorial/articles section.the last one,
" accessdriver", used to crack the .htpasswd logins.but i wanted to know if it is possible to crack it without using any softwares????????

Offline

#10 2008-07-17 05:22:03

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: bypass apache server

No, .htpasswd uses DES encryption which is 1-way so passwords can only be cracked using a dictionary attack or brute forcing.


Site admin

Offline

Board footer

Powered by FluxBB