Hacking a site’s photo directory using DOM or jQuery
I watched the film about Facebook the other day, yes I coudn't resist, and I thought it has some interesting moments. At the beginning, Marck "hacks" some Harvard websites which contain profile photos from the students. How did he made this? Well I didnt saw the code or remember it from the film but I am going to suppose what he did and how. Lots of webpages store they images in the same directory, or at least place all the same type images together, this means all the profile images were in the same source. Also, due to programming issues, those images tend to have a name which is a numeric code, maybe the student id, or maybe the number of the photo when that photo was uploaded. This means…