[TriLUG] Website Directory Listing via HTTP?
william at trilug.org
Thu Aug 25 14:39:33 EDT 2005
print get_chris_name($ARGV) . "\n\n";
my $email_text = shift;
$email_text =~ m!(chris(?:topher)\s+(?:l\.?\s+)merrill)!i
my $name = $1;
$name =~ s!\s+! !g;
On Thu, 25 Aug 2005, Christopher L Merrill wrote:
> Shane O'Donnell wrote:
> > So perhaps the web servers I'm working with allow this remote
> > directory listing capability. And if that's the case, I'm just
> > looking for a quick/dirty utility to exploit it.
> Sorry, I misunderstood. If you are able to view the directory listing
> in a browser, then you are halfway there. What you are seeing is simply
> an auto-generated web page that looks like a directory listing.
> I would think that a perl script would be able to extract the desired
> information from the HTML...but I don't know enough perl to extract my
> name from this email, so I can't help. The answer may not be very
> portable from server to server, since the server can structure the HTML
> however it likes.
> If you have WebDAV on the server, then you could get an XML structured
> listing that might be easier to parse, using the PROPFIND command. I assume
> there is a client similar to wget for WebDAV. Here's an example of telnet:
More information about the TriLUG