Just going to leave this here.



  • And the mentioned forum post.



  • TRWTF being that the poor kid didn't realize that he could just use a single for() from 0 to MAX_UINT32 since most programs accept plain integers as well as the dotted format for IPs?

    Filed under: http://1249765474/


  • area_deu

    I never heard that IP addresses inside 0.0.0.0/16 are invalid.
    He should filter out the private blocks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 as defined in RFC1918), though.



  • I liked the choice of loop variable names in the nested loops. x -> z -> y -> w makes complete sense.



  • < larsivi> heh, I talked to this sysadmin once who wondered where all the printers in his network came from ... it turned out his search script started at 10.226.0.69, and ended at .68, making him search the whole internet for unsecured printers ...
    < larsivi> the search had taken 21 days ...
    

Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.