News for hackers. Stuff that matters.
Re:A call to PHP's mt_rand generates only odd numbers by beefhash on Friday July 24, 2015 @08:34AM (#9941479)
Using a loop of that length (for ($i=0;$i<10000;$i++)) on a site allowing people to execute code, and then linking it to HN effectively amounts to a do-it-yourself DDoS. I don't think I wanna be the host of that site right now.
Re:A call to PHP's mt_rand generates only odd numbers by laumars on Friday July 24, 2015 @08:39AM (#9941511)
The site itself picked up on this aswell. The following message appeared for me:

    "Abusive script
    This script was stopped while abusing our resources"
edit: Too slow: 504 Gateway Time-out
Re:A call to PHP's mt_rand generates only odd numbers by Buge on Friday July 24, 2015 @09:24AM (#9941777)
Shouldn't they cache the result?
Re:A call to PHP's mt_rand generates only odd numbers by dimino on Friday July 24, 2015 @10:49AM (#9942351)
A lesson they're learning right now, I suppose.
Re:A call to PHP's mt_rand generates only odd numbers by mojuba on Friday July 24, 2015 @11:54AM (#9942829)
To find out later that not everything can be cached, e.g. time(), rand(), file_get_contents()... to find out further that no sys or lib call that contains I/O can be cached. And then damn it, why bother caching at all?
Re:A call to PHP's mt_rand generates only odd numbers by the-dude on Friday July 24, 2015 @08:42AM (#9941524)
Which we could call 'suiciDDOS'
Re:A call to PHP's mt_rand generates only odd numbers by _asummers on Friday July 24, 2015 @09:06AM (#9941668)
It's also being linked on Reddit for a double whammy DDoS.
Re:A call to PHP's mt_rand generates only odd numbers by deanclatworthy on Friday July 24, 2015 @08:39AM (#9941510)
... and it's down :) I guess they get this all the time.
Re:A call to PHP's mt_rand generates only odd numbers by Xlab on Friday July 24, 2015 @08:41AM (#9941519)
They don't even caution about it.