Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: hash collision DOS

by krisahoch (Deacon)
on Jun 01, 2003 at 13:44 UTC ( #262204=note: print w/ replies, xml ) Need Help??


in reply to hash collision DOS

All,

Please don't forget to consider the 'victim program' source

$start=time; while (<>) { chomp; $testhash{$_}="x"; $i++; if (0==($i % 100)) { print "$i "; print (time-$start); print " "; $_ = scalar(%testhash); ($used,$total) = split '/'; print "$used $total\n"; } }
If there is anyone out there who write programs like this, then be wary for DoS attacks from Rice university;)

Update: Changed grammar of two sentences to sound less like a neanderthal


Kristofer Hoch

Si vos can lego is, vos es super erudio


Comment on Re: hash collision DOS
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://262204]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-29 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls