Welcome to the forums! A chance for site members to chat and get help.
You are not logged in.
Pages: 1
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
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
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
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
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
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
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
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
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
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
Pages: 1