Files and Subdirectories

A place where newbies can post without (much) fear of reprisal. All mission posts should still go in the applicable forum.
Forum rules
Older HTS users: Be nice to the new people.

NEW USERS: This is NOT the place to post about missions! Refer to "Missions" category.

Files and Subdirectories

Post by ugosugo on Sat Jul 07, 2012 1:56 pm
([msg=67827]see Files and Subdirectories[/msg])

Hello I'm a newbie here and I'm looking for some help :D

I've done the Basic missions and some of the Realistic ones but I'm pretty sure I didn't understand everything too well.
I remember that in one of the basic missions you had to work with the URL to go into a certain folder. Once I did that my browser showed me a full list of the subdirectories and files that were there.

I tried to use the little things I know outside HTS (not trying to hack anybody, just curiosity) so I gave a look at my high school web site and by just looking at the HTML I found that there is actually a subfolder that has something in it.

I typed "" in my URL bar and nothing but a blank page showed up. Is it because of security?
I knew there was another subfolder so I tried with "" and this time this message appeared:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

I'm just wondering why things sometime work and sometime not, so can anyone help me out?
Thanks :D
New User
New User
Posts: 2
Joined: Thu Jul 05, 2012 8:07 am
Blog: View Blog (0)

Re: Files and Subdirectories

Post by mShred on Sat Jul 07, 2012 3:17 pm
([msg=67837]see Re: Files and Subdirectories[/msg])

The blank page may have popped up from the way that the site handles requests. But the directory listing being blocked just means they don't want that specific directory's contents to be listed. Maybe if you tried calling specific files within that directory, you could get something to open if there aren't any session restrictions.
User avatar
Posts: 1899
Joined: Tue Jun 22, 2010 4:22 pm
Blog: View Blog (2)

Re: Files and Subdirectories

Post by WallShadow on Sat Jul 07, 2012 3:20 pm
([msg=67838]see Re: Files and Subdirectories[/msg])

See, a server's directories work a lot like normal file directories on a private computer. But when a visitor wants to see a certain any certain folder, such as '' or '' or '' the server first looks for a few different index pages such as 'index.html' or 'index.htm' or 'index' or 'index.php' or 'default.php'. these files are executed if they are some sort of server-side scripting, or just returned if it is an html page. If the page is blank, then a blank page is returned to the user.

Look up '', and then '', and notice that there is no difference because '' is what is returned to you when you enter ''.

Now when the server fails to find a directory index page, that is when it looks into it's configuration file to see whether you have permission to see what is in it. If you do, it returns what ever it's configuration file says to return, whether its a hello world, or a directory listing. If you don't, you'll get an error similar to what you got.

I hope this helps.

-WallShadow <3
User avatar
Posts: 686
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)

Return to NZone

Who is online

Users browsing this forum: No registered users and 0 guests