How do you view all files on a domain?

Discussion in 'HTML & Website Design' started by cscott5288, Dec 24, 2009.

  1. #1
    I want to know how I view all files in a given domain.

    when you access a website you are typically taken to the homepage which is something like a index.html or home.html or home.html. Well what if there are files and folders in the root directory (right after public_html) that you want to access? If I want to access a file called test.txt via web browser and that file is in the same directory as home.html, is there any way I can know that it exists other than by typing the full domain followed by "/text.txt"?

    I have always wondered this.
     
    cscott5288, Dec 24, 2009 IP
  2. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #2
    try with some web leechers they can show those type of files
     
    chandan123, Dec 24, 2009 IP
  3. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    what do you mean "web leecher"?
     
    cscott5288, Dec 24, 2009 IP
  4. youssefedwardsaber

    youssefedwardsaber Active Member

    Messages:
    254
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    the other way is to use the ftp protocol to access your site. go to windows explorer and type ftp://yoursitename
    and enter the user name and password in the dialog box. you will see the folders in the root directory
     
    youssefedwardsaber, Dec 24, 2009 IP
  5. hipromx

    hipromx Active Member

    Messages:
    236
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #5
    yeah you could see the complete list of files through ftp or filemanager (if you have cPanel).
     
    hipromx, Dec 24, 2009 IP
  6. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #6
    I think he's asking about seeing all of the files on someone ELSE's domain.

    There is no standard way to get a list of files from someone else's server. Even google has to do it by following every link.

    But now, they get help, and you can too. If you're randomly typing in file names or scanning for a list of files, look for sitemap.xml or similar files. If you hit one it may show you all of the pages that there are, or even some pages that are meant for search engines but not for browsers (i.e. no links to them).

    Other than stumbling across an index, you still have to do it by guessing filenames, or hacking.
     
    goliath, Dec 24, 2009 IP
  7. bluebenz

    bluebenz Well-Known Member

    Messages:
    876
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    138
    #7
    For a lecher, it need a link to that file from a page.
    Example:
    there's a link to text.txt from index.html, so leecher now there's a text.txt file on that server.
     
    bluebenz, Dec 24, 2009 IP
  8. sagarrai000

    sagarrai000 Peon

    Messages:
    1,475
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Make use of ftp or try to find 404page to get entire list.
     
    sagarrai000, Dec 24, 2009 IP
  9. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #9
    Yes, I was talking about other peoples' websites.

    So there is no way then unless the files have links to them huh? I was thinking there might be some kind of a hacker tool. It seems like such a simple thing that the only thing protecting files in a domain's directory is the index.html or the home.html itself.
     
    cscott5288, Dec 24, 2009 IP
  10. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #10
    it depends on server settings. if they allow directory listing you can see
     
    chandan123, Dec 24, 2009 IP
  11. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #11
    ... might i ask how?
     
    cscott5288, Dec 25, 2009 IP
  12. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #12
    it depends on their server settings for folder listing
     
    chandan123, Dec 26, 2009 IP