Results 1 to 8 of 8

Thread: List files from webserver

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    37

    List files from webserver

    Hi,

    Is there a way to 'list' all the files on a webserver?
    With other words are other people to see all the files on my server?
    And how would they do that?

    Thanks

  2. #2
    Hyperactive Member nothingofvalue's Avatar
    Join Date
    Jul 2005
    Location
    Arizona
    Posts
    489

    Re: List files from webserver

    Not really, unless you have something setup incorrectly. If you are using shared hosting then they should have it all set up to prevent "browsing" but if you make a really drastic error then it could lead to an open directory. One such error would be forgetting to include a file named "index.htm" or similar if that is the filename specified in the httpconf file.

    Conversly, people usually can browse subfolders. In other words, generally you cannot go to www.xyz.com and see everything that is in the directory, however, you can probably go to www.xyz.com/images/ and see a list of the files in that directory. This type of browsing can also be disabled, I believe.


    One could crawl your site with software and get a pretty good idea of what is there, that's exactly what search engines do.
    Last edited by nothingofvalue; Oct 22nd, 2005 at 11:23 AM.
    "Imagination is more important than knowledge..."

    Albert Einstein
    -----------------------------------------------
    If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: List files from webserver

    I have allowed for directory browsing on some of the folders on my site, but the others, I simply protect by placing a blank (or annoying) index.html page there. For example, take a look at http://www.mendhak.com/images/

    I've only 'placed' the images there that I am OK with others seeing, but not all the images.

  4. #4
    Hyperactive Member nothingofvalue's Avatar
    Join Date
    Jul 2005
    Location
    Arizona
    Posts
    489

    Re: List files from webserver

    yeah I have seen that done and it seems that is all you need to do to prevent directory browsing, however, I don't have anything worth browsing on my site so I never bother
    "Imagination is more important than knowledge..."

    Albert Einstein
    -----------------------------------------------
    If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    37

    Re: List files from webserver

    But i think I once had a piece of software that listed all the files.
    Do you know the name of software that could do it? Even with an index.htm(l)

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: List files from webserver

    Windows Explorer?

    I am really not sure if such a software could exist, commercially of course. It would be a huge security issue. Imagine gaining access to sensitive files for members only on whatever sites.

    Was it a hacking tool by any chance? Like Back Orifice?

  7. #7

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    37

    Re: List files from webserver

    Well i dont think it was hackign because i did not brute force any password or so, i could not edit the pages to, just see a list.

    Or is there a hack to list files without bruteforcing a pass?

  8. #8
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: List files from webserver

    Directory listing can be enabled on a per directory basis in both IIS and Apache. If it has been disabled, there is no way of listing the contents of the directory. There is also an extension to the HTTP protocol called WEBDAV, which also enables fle to be uploaded and deleted from the server, again, these must be enabled.

    Or course, if someone takes advantage of an exploit in the server software, there is a posibility they can gain access to the system and to other untoward things.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width