Lurker News

Comments (82) 31 threads

Earlier comments
numlocked#
An interesting side effect may be to drive registrations, as it will appear to non logged-in users that they have to create an account before viewing the #1 item.
im3w1l1 reply#
The amount of people proposing POST as a solution, shows the need for this subject to be lifted. There are methods for auto-posting you know...
getsat#
POST alone isn't sufficient. You need CSRF protection, too (which, in this case, would protect from same-site request forgery).
dustingetz4 replies#
is OP a mod? how did he know what his postid would be before he submitted it? spraying [sequential] submissions all at once?

[edit]

GreekOphion1 reply#
I was trying to figure that out too.
citricsquid#
an ID can refer to a comment or a link, you can find the latest comments: http://news.ycombinator.com/newcomments latest links: http://news.ycombinator.com/newest

The easiest way to do it would be to pick an ID in the future (say 20 ahead of the latest one) then type the title and link out, then just keep refreshing the page for your selected ID minus one (for example, if your chosen ID is 3743040 refresh news.ycombinator.com/item?id=3743039) until you get a result then hit submit, if you're not too slow you'll get the ID 3743040.

citricsquid2 replies#
IDs are sequential, you can predict them with ease. For example (without editing) I can tell you my comment ID (for this comment) will be: 3743005

(edit: nope, I was 3 off, you get the point though, apparently a lot of people are commenting at the moment, ha)

youareincorrect#
Confirmed.
olalonde#
Yes, that's how I did it. Took me about 3 attempts.
icebraining#
Aren't they sequential? Isn't it just a matter of using the ID of the latest post + 1?
SeoxyS1 reply#
Couldn't he have edited the url after posting it?
GreekOphion1 reply#
No, that's impossible.
kenneth1 reply#
Link it to a php file on your server, and edit the php file to header('Location: the_actual_url') after the fact.

Continue this thread — 1 reply

Load more comments