Distortion To Static


The life, times and ramblings of MasterCJ
dirshell@ 10/09/09 01:11 am
Another piece of software. This one is just a little script I wrote so I could check out a huge list of HTTP directory listings. You can get it here and read the readme here.

Here's an example session of me using it.

mcj@akizuki:~/hax/dirshell$ ./browser.pl http://mastercj.net/software/
Listing for /software/

[DIR] ../ [] [ ]
[DIR] dirshell/ [09-Sep-2009 17:07] [ ]
mastercj.net:/software/# cd dirshell
mastercj.net:/software/dirshell/# ls
Listing for /software/dirshell/./

[DIR] ../ [] [ ]
[ ] README [09-Sep-2009 17:06] [ ]
[ ] dirshell.tar.gz [09-Sep-2009 17:06] [ 2.2K]
mastercj.net:/software/dirshell/# cat README
dirshell MasterCJ '09

Description: Just a quick script I wrote for quickly checking out http listings
(you know, "Index of x" etc). It's by no means robust or reliable, but it does
what I wanted it to. It basically gives you a nice terminal ls-like interface
to http litings, with the following commands: ls, cd, cat, get. All pretty much
self-explanatory. Have fun.

Requirements: perl, cURL, WWW::Curl:::Easy

Usage: ./browser.pl http://somesite.com/files/

Example: for url in $(cat urls.txt); do echo $url; ./browser.pl $url; done;

As always, happy hacking!
mastercj.net:/software/dirshell/# exit
permalink 1 comment
Comment by darknoise @ 10/09/09 01:16 am
woot! thats pretty cool, now apply it to bp onlinestorage - leetmax