Hello There, Guest! Login Register
Dismiss this notice
MaDLeeTs is not responsible for any attacks that are carried out on networks, websites or servers.
MaDLeeTs staff members cannot be held responsible.
All information on this forum is for educational purposes only.

password protected directory

  • 0 Vote(s) - 0 Average

01-22-2014, 07:38 PM #1
ali ahmady Offline Sheller *****
Posts:247 Threads:15 Joined:Jun 2013 Reputation: 3
Mood: None
hello friends

today im gonna explain how to password protect a directory in cpanel.

if you are in pentesting jobs you may had this issue before Smiley1

[Image: rCl12h.jpg]

actually this is a cpanel capability to protect some directories like admin,administrator ....
in this picture u can see this option in cpanel :

[Image: dAOxXr.jpg]

when u open it u will see directory list and u can select a directory to protect and ... :

[Image: Nojmli.jpg]

as u see in picture, u can select that checkbox to set protection for your desired folder.

when u do this cpanel will make a passwd file in this directory : /home/user/.htpasswd/public_html/YourProtectedFolder/ look at picture

[Image: cUIEWR.jpg]

and this passwd file contains username and password ( hashed password )

[Image: VmP0p5.jpg]

i think its des(unix) hash and u should crack it to find ( in this case its 123456 )

regards Smiley1

ali ahmady

ali ahmady


[Image: 78445698726923881361.gif]
skype : snip3r_ir[At]hotmail.com
jabber : [email protected]

01-22-2014, 09:42 PM #2
pHaNtOm_X Offline Respected *****
Posts:118 Threads:12 Joined:Aug 2013 Reputation: 0
Mood: None
Tnx @ali Biggrinsmiley

[Image: c0qIsDj.png]

01-23-2014, 11:32 PM #3
TR4CK3R Offline MadLeets Vip ******
Posts:451 Threads:76 Joined:Mar 2013 Reputation: 0
Mood: In Love
Well Explained Bro Smiley1 Keep it Up !

[Image: 213qbgp.jpg]

07-15-2014, 04:49 AM #4
VIRkid Offline MadLeets Vip ******
Posts:62 Threads:9 Joined:Oct 2013 Reputation: 9
Mood: Blessed
Awesome, Thanks for sharing

07-15-2014, 06:28 AM #5
shrek Offline N0ob ***
TeaM MaDLeeTs
Posts:28 Threads:8 Joined:Oct 2013 Reputation: 1
Mood: Zombie
hmmm Great

08-13-2014, 12:53 AM #6
Zeus Rekcah Offline MaDLeeTs GFX *****
Posts:99 Threads:11 Joined:Aug 2013 Reputation: 0
Mood: Excited
Nice i saw it in the Cpanel but never thinks about it or what it can do Biggrinsmiley !!!
it will really helps me to get rid of some lamers xD
Thanks For the great Explanation Bro Ali ^_^ keep it up Biggrinsmiley

Forum Jump:

Users browsing this thread:1 Guest(s)