Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Scaning web

Name: maestruli 2012-10-02 20:33

Hey /prog wassup?
I've got an issue here.
I know this web which saves jpg's in a kind of "hash code".
Like this:
www.web.com/4h5ah13qod4j3sg.jpg (15 digits)
I was wondering, is there a way to scan through it to know in which adresses I will find jpgs? I can do it manually.. but tried about 20 randomly and couldn't find one, so I guess it has a low charge constant..
I know some python but have no idea on how to do this. Or maybe i could look for some software to do it for me.
Oh! and i'm on linux so i have all its tools..

Name: maestruli 2012-10-02 20:35

forgot to say that when i try to access an invalid adress i get a 404

Name: Anonymous 2012-10-02 20:36

how the fuck are we supposed to know?

Name: maestruli 2012-10-02 20:37

... this is prog, i guess someone knows how to "ping" a web adress to know if what i'm looking for exists...

Name: Anonymous 2012-10-02 20:43

>>4
ur dumb. plz gtfo.

Name: Anonymous 2012-10-02 20:50

>>5
u are dumb asshole, go back to /b/

Name: Anonymous 2012-10-02 20:53

Just loop through the 2e23 or so hash values and see if they return an http 200 or 404, easy peasy.

Name: Anonymous 2012-10-02 21:07

>>6
look who's talking. you are the one who doesn't belong here, non-programmer.

Name: Anonymous 2012-10-03 0:11

>>7 is right.
I wish you the lowest latency in your quest.

Name: Maestruli 2012-10-03 0:21

>>7
>>9
thank you! I'm using httplib to see what the return value is and urllib to download the jpg. I had some trouble cause i didn't pay attention to the fact that https webs (as mine..) use a diferent connection (HTTPSConection instead of HTTPConection). Noob mistake i guess but drove me crazy for a while.
And latency is pretty shitty, but i'll have to stand it.
Thank you again bros!


>>8
Oh! Fuck you non helping bastard

Name: Anonymous 2012-10-03 0:28

>>10
Enjoy your year(s) of querying the entire search space. Assuming it isn't growing at the same time too, that is

Name: Anonymous 2012-10-03 0:36

Oh! and i'm on linux so i have all its tools..
Too bad that's only a subset of the tools you would have on Windows.

Name: Anonymous 2012-10-03 1:41

>>12
Too bad everyone and their dog would see what I'm doing on my computer on Windows.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-10-03 4:42

Looks like at least 36^15 search space.

Even if you had a botnet that could do 1000 tries a second (and the servers could serve that rate) it would take over 7 trillion years to try them all.

Name: Anonymous 2012-10-03 4:46

>>12
After 12GB of downloads, from probably-safe-freeware.net, sure.

Don't change these.
Name: Email:
Entire Thread Thread List