Live data from Hacker News

Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

url2picture.com

1–10 of 46 posts

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#6
post #5
post #4

Someone's using a hash function where a MAC belongs..

What exactly do you mean?

you are basing your 'token' on md5(data+secret), however md5 (and other hash functions) are easily extended when data and token are known, even without knowing secret. Basically, given data and token, I can produce a different token, that matches a (somewhat) different data, without knowing secret.

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#7
post #6
post #5

Earlier quoted context omitted.

What exactly do you mean?

you are basing your 'token' on md5(data+secret), however md5 (and other hash functions) are easily extended when data and token are known, even without knowing secret. Basically, given data and token, I can produce a different token, that matches a (somewhat) different data, without knowing secret.

Sure you could, but then why would one go through all the hassle just to get a (probably already cached) screenshot?

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#9
post #8

Does it let you take a screenshot of the whole height of the page? I see that you can specify the height of the viewport, but what if I want a whole long screenshot of as much height is rendered?

Yes it does. See this example of the nytimes: http://url2picture.com/Picture/Png/?apikey=6101EE5C99B145ECB...

Of course there are limits to this as some websites have "endless" scrolling (like pintrest)

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#10
post #7
post #6

Earlier quoted context omitted.

you are basing your 'token' on md5(data+secret), however md5 (and other hash functions) are easily extended when data and token are known, even without knowing secret. Basically, given data and token, I can produce a different token, that matches a (somewhat) different data, without knowing secret.

Sure you could, but then why would one go through all the hassle just to get a (probably already cached) screenshot?

well, for starters, I could use your (paid) account to get free screenshots.
Post reply on HN