Hello,

I was busy searching this morning to see if there were any Perl scripts out there for pulling a list of directories and/or files from a REMOTE website with directory listing turned off.

The script would probably have to cycle through some type of dictionary to do this. I was wondering if someone was aware of an existing script or utility that could accomplish this.

I don't necessarily want to use the script/utility, I just want to know if it is possible. I am working for a client that has a lot of files on their web server that I don't think should be there...i.e. source code for DLLs, etc. They don't seem too worried because they have the directory listing turned off and they think it would be nearly impossible for someone to guess the filenames. Since they aren't linked to any other files, they aren't worried about a spider from locating the files.

The reason the files are there, is that they use a DTS package to refresh their external www website with data and files from their internal system without excluding any files such as source code.

Does anyone have any input on this topic?

Thanks buttroast

2006-06-21 Retitled by holli, as per Monastery guidelines
Original title: 'Script for getting list of all files/directories on website?'


In reply to (OT) Script for getting list of all files/directories on website? by buttroast

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.