Activities

October 2011
M T W T F S S
« Sep   Nov »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Script : Hacking image files

here is the one sample bash script which would help to pull certain files downloaded locally by checking the random file name over the web.

Requirement:

I want to download all the files hosted on a location where directory index are forbidden. So that I can not browse all the files hosted here. I uses firebug/inspect element option in Chrome browser to identify the image source. I found image names are written in particular way like yyyy-mm-dd-albumcount-frames and image was not been named/shared in secured way.

Eg: http://www.myspace.com/upload/2011-08-11-05-01.jpg

Another spending couple of hours, it’s identifiy that,

1. There are no any daily file uploads.
2. Ablum counts does not exceed more than 20
3. Frame count does not exceed more than 10 time

This script first check, if there is any image found for a day, then it’s starts checking for album and frames recursively. And then download images locally one by one.

You may download the script from here

Pls note :Use this script for genuine purpose and not to be used for any destructive purpose. I’m not responsible for any consequence once you got catch 🙂

This script help me to download whole the image store for an year of 2010. One of my friend had requested me to do this as he is looking for unrated pics of one actress image that were uploaded to this area but to download only for paid users 🙁

njoy !! 🙂

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>