Nokia Battery Recall Script



  • The Nokia exploding-battery-recall is all over the tech newssites
    today, so I found myself wandering along to check if my battery was
    likely to a splode.  Although I'm disappointingly unlikely to be
    on the receiving end of a delightful display of pyrotechnics, I did
    find an amusing display of WTF'ery in the script that does the checking:

    http://www.nokia.com/batteryreplacement/en/rcrcheckserial.js

    I
    like the use of isgood, which is always false, which is a reasonable
    way to describe this script.  But what I like most of all is the
    entire approach to checking the value.  Notice how the variables
    'b' and 'c' are set to a 1-character and a 3-character substring of the
    serial number, respectively.  Then note how those one or three
    characters are md5summed and compared to a huge long list of
    16-character checksum results.  Yes, that's right: in a
    masterpiece of optimisation, they have sacrificed speed of execution
    for worse use of memory space!

    Bonus
    points for anyone who can
    demonstrate that that huge long list of comparisons against 'c', which
    remember is the md5sum of a 3-digit string, are actually tests against
    the md5sums of
    a contiguous range of 3-digit numbers, so that the whole lot could be
    replaced with something a lot simpler such as "if ((serial.substr(14,3)
    > 100) && (serial.substr(14,3) < 429))" or something
    equally simple and inane!


    function rcrcheck_serial() {
    var isgood=false;
    var serial=document.enterserial.serial.value;
    var a='';
    var b='';
    var c='';
    if(serial.length<26) {
    alert("The identification number is incorrect. Please check that you have entered the full 26 characters of the battery identification number.");
    return false;
    }
    if(serial.length>26) {
    alert("The identification number is incorrect. Please check that you have entered the full 26 characters of the battery identification number.");
    return false;
    }
    a=md5(serial.substr(7,6));
    b=md5(serial.substr(13,1));
    c=md5(serial.substr(14,3));
    //###
    if(a!="ea4a302b5cbd017871ec94fd6ae189b5" //###
    && a!="1f098214896cc40cfabc3b2403a65b75" //###
    && a!="fd06cd296b4bf634d85e26884565aa6c") { //###
    window.location="rcrb2.html";
    return false;
    }

    if(b=="8d9c307cb7f3c4a32822a51922d1ceaa" || b=="7b8b965ad4bca0e41ab51de7b31363a1") { //###
    if(c=="84eb13cfed01764d9c401219faa56d53"){return true;} //###
    if(c=="d2490f048dc3b77a457e3e450ab4eb38"){return true;} //###
    if(c=="441954d29ad2a375cef8ea524a2c7e73"){return true;} //###
    if(c=="0e51011a4c4891e5c01c12d85c4dcaa7"){return true;} //###
    if(c=="af032fbcb07ffc7bd2569d86ae4ce1f5"){return true;} //###
    if(c=="73f7634ab3f381fb40995f93740b3f8a"){return true;} //###
    if(c=="738cccd4fda172441f216712a488dca6"){return true;} //###
    if(c=="f803dfeb3583d5099a58a7478f28bd75"){return true;} //###
    if(c=="7f5144f962efde75e0f7661e032166db"){return true;} //###
    if(c=="8fc4c7ab4453d247e011738197b6136c"){return true;} //###
    if(c=="defd40204344c9659a0a3eb4ebc125f6"){return true;} //###
    if(c=="c4de9fe96832a877668d0dced80657b8"){return true;} //###
    if(c=="2c62105ee18ecd5f0ee37bc8c35718eb"){return true;} //###
    if(c=="3994f23bfb2b89994bd6e828977b42ae"){return true;} //###
    if(c=="28fd0fbd334515deb8a8291b71941c9e"){return true;} //###
    if(c=="9ac05befca7d6499e3abec9bdfef2b68"){return true;} //###
    if(c=="1732cb437260c60a0744aea8aedfa331"){return true;} //###
    if(c=="e1eee5e2b42d45443cdc82db1a3bc465"){return true;} //###
    if(c=="7d06a9cf10f2e9e47e77d6c6cfaa7f54"){return true;} //###
    if(c=="2618045a3a5fc883e65b6bec2fcac3c8"){return true;} //###
    if(c=="b6aea7af56564f32a22ce27f25936b82"){return true;} //###
    if(c=="a27ef1c79c867d68d049751af69f4b38"){return true;} //###
    if(c=="2ba100d60448c3b5fe2dc55a892104f0"){return true;} //###
    if(c=="2f1ee6251bc23a0f35118b54170177cb"){return true;} //###
    if(c=="bff82d18862ce94df14bdee55295f812"){return true;} //###
    if(c=="e46d0ac1f15ac7dac2a8948245a02da4"){return true;} //###
    if(c=="bf97f24695f24fac060bc44b4e97acc1"){return true;} //###
    if(c=="2c4a8495407bfb55ce1a93970445bd38"){return true;} //###
    if(c=="8c9611718f0422ac8dd0baf0903d22e5"){return true;} //###
    if(c=="a71d83915f8839e1da511021db1b3aa0"){return true;} //###
    if(c=="5759d9ff2a54eeab381f9cf6062800e8"){return true;} //###
    if(c=="f75c3dad51560c41ab90ac39560d7a2a"){return true;} //###
    if(c=="b7923fe9afe7142a24720692484321c5"){return true;} //###
    if(c=="88ddadec554e6dd3adfdd7eb1ceaef6b"){return true;} //###
    if(c=="671f8ff3e6c9b665f711c75a801c04b1"){return true;} //###
    if(c=="307fd7f231593cf189b68d28f91f63bb"){return true;} //###
    if(c=="18230e1fb6e5dd3cfb0bcec4f863e167"){return true;} //###
    if(c=="f157be1f0051274be438c6d905607d3a"){return true;} //###
    if(c=="b34f33d0bc25185dfb84d1c9c565f228"){return true;} //###
    if(c=="a91f7d0f27f3c35bd2692c05876cc13f"){return true;} //###
    if(c=="7ba15e3f075e78d4d10235aaf3b15ff8"){return true;} //###
    if(c=="84150c44ef2321996556362d9b877f64"){return true;} //###
    if(c=="a74b59c0f4fd1cc6e7ff3acb630e455c"){return true;} //###
    if(c=="c4258e0f536604c99f79545e930d5a22"){return true;} //###
    if(c=="871c14878fa75bc327ba87d2d284d596"){return true;} //###
    if(c=="31c8f1568c7dd69a946aaaa062bdbe17"){return true;} //###
    if(c=="207f466f93e1ea0d07fb2607ee058df7"){return true;} //###
    if(c=="ba55ff88bddf71220a86105441fd2fff"){return true;} //###
    if(c=="a861405761149022ffe871c0967b2412"){return true;} //###
    if(c=="13c022b0b3f191667e834e0e155b0651"){return true;} //###
    if(c=="06eb133bbfaef5b68abe123e005a7c95"){return true;} //###
    if(c=="18bbcaa5ef823894fc2814721a5976ae"){return true;} //###
    if(c=="37bc1b6433166494d611199664a8b3e1"){return true;} //###
    if(c=="914b62192c43efb8aa203ef848054856"){return true;} //###
    if(c=="bbf14f4f9bf8b235b2902781c38247b3"){return true;} //###
    if(c=="962e611a0fdbd09ad6368caece8df75c"){return true;} //###
    if(c=="d2716515bd05082789a31002d4bbc958"){return true;} //###
    if(c=="e64770ac6bac05626b4f59b6a03e2ff8"){return true;} //###
    if(c=="f43686bab1c60489c1eac5ecb1ec8c7b"){return true;} //###
    if(c=="ebf11048b18616fbd6ba58d38a1858be"){return true;} //###
    if(c=="fb9ce87f03a0429d0af0760d01b74612"){return true;} //###
    if(c=="95b3019deacb238e7455893b97926528"){return true;} //###
    if(c=="64b2c118675af170ec2f5274d45852d7"){return true;} //###
    if(c=="38b3eff8baf56627478ec76a704e9b52"){return true;} //###
    if(c=="ec8956637a99787bd197eacd77acce5e"){return true;} //###
    if(c=="6974ce5ac660610b44d9b9fed0ff9548"){return true;} //###
    if(c=="c9e1074f5b3f9fc8ea15d152add07294"){return true;} //###
    if(c=="65b9eea6e1cc6bb9f0cd2a47751a186f"){return true;} //###
    if(c=="f0935e4cd5920aa6c7c996a5ee53a70f"){return true;} //###
    if(c=="a97da629b098b75c294dffdc3e463904"){return true;} //###
    if(c=="698d51a19d8a121ce581499d7b701668"){return true;} //###
    if(c=="7f6ffaa6bb0b408017b62254211691b5"){return true;} //###
    if(c=="73278a4a86960eeb576a8fd4c9ec6997"){return true;} //###
    if(c=="5fd0b37cd7dbbb00f97ba6ce92bf5add"){return true;} //###
    if(c=="2b44928ae11fb9384c4cf38708677c48"){return true;} //###
    if(c=="c45147dee729311ef5b5c3003946c48f"){return true;} //###
    if(c=="eb160de1de89d9058fcb0b968dbbbd68"){return true;} //###
    if(c=="4c56ff4ce4aaf9573aa5dff913df997a"){return true;} //###
    if(c=="a0a080f42e6f13b3a2df133f073095dd"){return true;} //###
    if(c=="202cb962ac59075b964b07152d234b70"){return true;} //###
    if(c=="c8ffe9a587b126f152ed3d89a146b445"){return true;} //###
    if(c=="3def184ad8f4755ff269862ea77393dd"){return true;} //###
    if(c=="069059b7ef840f0c74a814ec9237b6ec"){return true;} //###
    if(c=="ec5decca5ed3d6b8079e2e7e7bacc9f2"){return true;} //###
    if(c=="1afa34a7f984eeabdbb0a7d494132ee5"){return true;} //###
    if(c=="65ded5353c5ee48d0b7d48c591b8f430"){return true;} //###
    if(c=="9fc3d7152ba9336a670e36d0ed79bc43"){return true;} //###
    if(c=="02522a2b2726fb0a03bb19f2d8d9524d"){return true;} //###
    if(c=="7f1de29e6da19d22b51c68001e7e0e54"){return true;} //###
    if(c=="42a0e188f5033bc65bf8d78622277c4e"){return true;} //###
    if(c=="3988c7f88ebcb58c6ce932b957b6f332"){return true;} //###
    if(c=="0f28b5d49b3020afeecd95b4009adf4c"){return true;} //###
    if(c=="a8baa56554f96369ab93e4f3bb068c22"){return true;} //###
    if(c=="903ce9225fca3e988c2af215d4e544d3"){return true;} //###
    if(c=="0a09c8844ba8f0936c20bd791130d6b6"){return true;} //###
    if(c=="2b24d495052a8ce66358eb576b8912c8"){return true;} //###
    if(c=="a5e00132373a7031000fd987a3c9f87b"){return true;} //###
    if(c=="8d5e957f297893487bd98fa830fa6413"){return true;} //###
    if(c=="a8f15eda80c50adb0e71943adc8015cf"){return true;} //###
    if(c=="37a749d808e46495a8da1e5352d03cae"){return true;} //###
    if(c=="b3e3e393c77e35a4a3f3cbd1e429b5dc"){return true;} //###
    if(c=="1d7f7abc18fcb43975065399b0d1e48e"){return true;} //###
    if(c=="2a79ea27c279e471f4d180b08d62b00a"){return true;} //###
    if(c=="1c9ac0159c94d8d0cbedc973445af2da"){return true;} //###
    if(c=="6c4b761a28b734fe93831e3fb400ce87"){return true;} //###
    if(c=="bd4c9ab730f5513206b999ec0d90d1fb"){return true;} //###
    if(c=="82aa4b0af34c2313a562076992e50aa3"){return true;} //###
    if(c=="0777d5c17d4066b82ab86dff8a46af6f"){return true;} //###
    if(c=="fa7cdfad1a5aaf8370ebeda47a1ff1c3"){return true;} //###
    if(c=="9766527f2b5d3e95d4a733fcfb77bd7e"){return true;} //###
    if(c=="7e7757b1e12abcb736ab9a754ffb617a"){return true;} //###
    if(c=="5878a7ab84fb43402106c575658472fa"){return true;} //###
    if(c=="a4a042cf4fd6bfb47701cbc8a1653ada"){return true;} //###
    if(c=="1ff8a7b5dc7a7d1f0ed65aaa29c04b1e"){return true;} //###
    if(c=="f7e6c85504ce6e82442c770f7c8606f0"){return true;} //###
    if(c=="bf8229696f7a3bb4700cfddef19fa23f"){return true;} //###
    if(c=="82161242827b703e6acf9c726942a1e4"){return true;} //###
    if(c=="38af86134b65d0f10fe33d30dd76442e"){return true;} //###
    if(c=="96da2f590cd7246bbde0051047b0d6f7"){return true;} //###
    if(c=="fc221309746013ac554571fbd180e1c8"){return true;} //###
    if(c=="4c5bde74a8f110656874902f07378009"){return true;} //###
    if(c=="cedebb6e872f539bef8c3f919874e9d7"){return true;} //###
    if(c=="6cdd60ea0045eb7a6ec44c54d29ed402"){return true;} //###
    if(c=="eecca5b6365d9607ee5a9d336962c534"){return true;} //###
    if(c=="9872ed9fc22fc182d371c3e9ed316094"){return true;} //###
    if(c=="31fefc0e570cb3860f2a6d4b38c6490d"){return true;} //###
    if(c=="0aa1883c6411f7873cb83dacb17b0afc"){return true;} //###
    if(c=="58a2fc6ed39fd083f55d4182bf88826d"){return true;} //###
    if(c=="bd686fd640be98efaae0091fa301e613"){return true;} //###
    if(c=="a597e50502f5ff68e3e25b9114205d4a"){return true;} //###
    if(c=="0336dcbab05b9d5ad24f4333c7658a0e"){return true;} //###
    if(c=="084b6fbb10729ed4da8c3d3f5a3ae7c9"){return true;} //###
    if(c=="85d8ce590ad8981ca2c8286f79f59954"){return true;} //###
    if(c=="757b505cfd34c64c85ca5b5690ee5293"){return true;} //###
    if(c=="854d6fae5ee42911677c739ee1734486"){return true;} //###
    if(c=="e2c0be24560d78c5e599c2a9c9d0bbd2"){return true;} //###
    if(c=="274ad4786c3abca69fa097b85867d9a4"){return true;} //###
    if(c=="eae27d77ca20db309e056e3d2dcd7d69"){return true;} //###
    if(c=="7eabe3a1649ffa2b3ff8c02ebfd5659f"){return true;} //###
    if(c=="69adc1e107f7f7d035d7baf04342e1ca"){return true;} //###
    if(c=="eb163727917cbba1eea208541a643e74"){return true;} //###
    if(c=="1534b76d325a8f591b52d302e7181331"){return true;} //###
    if(c=="979d472a84804b9f647bc185a877a8b5"){return true;} //###
    if(c=="ca46c1b9512a7a8315fa3c5a946e8265"){return true;} //###
    if(c=="3b8a614226a953a8cd9526fca6fe9ba5"){return true;} //###
    if(c=="45fbc6d3e05ebd93369ce542e8f2322d"){return true;} //###
    if(c=="63dc7ed1010d3c3b8269faf0ba7491d4"){return true;} //###
    if(c=="060ad92489947d410d897474079c1477"){return true;} //###
    if(c=="bcbe3365e6ac95ea2c0343a2395834dd"){return true;} //###
    if(c=="115f89503138416a242f40fb7d7f338e"){return true;} //###
    if(c=="13fe9d84310e77f13a6d184dbf1232f3"){return true;} //###
    if(c=="d1c38a09acc34845c6be3a127a5aacaf"){return true;} //###
    if(c=="9cfdf10e8fc047a44b08ed031e1f0ed1"){return true;} //###
    if(c=="705f2172834666788607efbfca35afb3"){return true;} //###
    if(c=="9b04d152845ec0a378394003c96da594"){return true;} //###
    if(c=="be83ab3ecd0db773eb2dc1b0a17836a1"){return true;} //###
    if(c=="e165421110ba03099a1c0393373c5b43"){return true;} //###
    if(c=="289dff07669d7a23de0ef88d2f7129e7"){return true;} //###
    if(c=="577ef1154f3240ad5b9b413aa7346a1e"){return true;} //###
    if(c=="01161aaa0b6d1345dd8fe4e481144d84"){return true;} //###
    if(c=="539fd53b59e3bb12d203f45a912eeaf2"){return true;} //###
    if(c=="f340f1b1f65b6df5b5e3f94d95b11daf"){return true;} //###
    if(c=="e4a6222cdb5b34375400904f03d8e6a5"){return true;} //###
    if(c=="cb70ab375662576bd1ac5aaf16b3fca4"){return true;} //###
    if(c=="9188905e74c28e489b44e954ec0b9bca"){return true;} //###
    if(c=="0266e33d3f546cb5436a10798e657d97"){return true;} //###
    if(c=="38db3aed920cf82ab059bfccbd02be6a"){return true;} //###
    if(c=="3cec07e9ba5f5bb252d13f5f431e4bbb"){return true;} //###
    if(c=="19f3cd308f1455b3fa09a282e0d496f4"){return true;} //###
    if(c=="03c6b06952c750899bb03d998e631860"){return true;} //###
    if(c=="c24cd76e1ce41366a4bbe8a49b02a028"){return true;} //###
    if(c=="c52f1bd66cc19d05628bd8bf27af3ad6"){return true;} //###
    if(c=="fe131d7f5a6b38b23cc967316c13dae2"){return true;} //###
    if(c=="f718499c1c8cef6730f9fd03c8125cab"){return true;} //###
    if(c=="d96409bf894217686ba124d7356686c9"){return true;} //###
    if(c=="b1a59b315fc9a3002ce38bbe070ec3f5"){return true;} //###
    if(c=="36660e59856b4de58a219bcf4e27eba3"){return true;} //###
    if(c=="8c19f571e251e61cb8dd3612f26d5ecf"){return true;} //###
    if(c=="d6baf65e0b240ce177cf70da146c8dc8"){return true;} //###
    if(c=="e56954b4f6347e897f954495eab16a88"){return true;} //###
    if(c=="f7664060cc52bc6f3d620bcedc94a4b6"){return true;} //###
    if(c=="eda80a3d5b344bc40f3bc04f65b7a357"){return true;} //###
    if(c=="7f100b7b36092fb9b06dfb4fac360931"){return true;} //###
    if(c=="7a614fd06c325499f1680b9896beedeb"){return true;} //###
    if(c=="4734ba6f3de83d861c3176a6273cac6d"){return true;} //###
    if(c=="d947bf06a885db0d477d707121934ff8"){return true;} //###
    if(c=="63923f49e5241343aa7acb6a06a751e7"){return true;} //###
    if(c=="db8e1af0cb3aca1ae2d0018624204529"){return true;} //###
    if(c=="20f07591c6fcb220ffe637cda29bb3f6"){return true;} //###
    if(c=="e3796ae838835da0b6f6ea37bcf8bcb7"){return true;} //###
    if(c=="6a9aeddfc689c1d0e3b9ccc3ab651bc5"){return true;} //###
    if(c=="0f49c89d1e7298bb9930789c8ed59d48"){return true;} //###
    if(c=="46ba9f2a6976570b0353203ec4474217"){return true;} //###
    if(c=="0e01938fc48a2cfb5f2217fbfb00722d"){return true;} //###
    if(c=="16a5cdae362b8d27a1d8f8c7b78b4330"){return true;} //###
    if(c=="918317b57931b6b7a7d29490fe5ec9f9"){return true;} //###
    if(c=="9c838d2e45b2ad1094d42f4ef36764f6"){return true;} //###
    if(c=="1700002963a49da13542e0726b7bb758"){return true;} //###
    if(c=="53c3bce66e43be4f209556518c2fcb54"){return true;} //###
    if(c=="6883966fd8f918a4aa29be29d2c386fb"){return true;} //###
    if(c=="49182f81e6a13cf5eaa496d51fea6406"){return true;} //###
    if(c=="d296c101daa88a51f6ca8cfc1ac79b50"){return true;} //###
    if(c=="9fd81843ad7f202f26c1a174c7357585"){return true;} //###
    if(c=="34ed066df378efacc9b924ec161e7639"){return true;} //###
    if(c=="577bcc914f9e55d5e4e4f82f9f00e7d4"){return true;} //###
    if(c=="11b9842e0a271ff252c1903e7132cd68"){return true;} //###
    if(c=="37bc2f75bf1bcfe8450a1a41c200364c"){return true;} //###
    if(c=="496e05e1aea0a9c4655800e8a7b9ea28"){return true;} //###
    if(c=="b2eb7349035754953b57a32e2841bda5"){return true;} //###
    if(c=="8e98d81f8217304975ccb23337bb5761"){return true;} //###
    if(c=="9dfcd5e558dfa04aaf37f137a1d9d3e5"){return true;} //###
    if(c=="950a4152c2b4aa3ad78bdd6b366cc179"){return true;} //###
    if(c=="158f3069a435b314a80bdcb024f8e422"){return true;} //###
    if(c=="758874998f5bd0c393da094e1967a72b"){return true;} //###
    if(c=="ad13a2a07ca4b7642959dc0c4c740ab6"){return true;} //###
    if(c=="3fe94a002317b5f9259f82690aeea4cd"){return true;} //###
    if(c=="5b8add2a5d98b1a652ea7fd72d942dac"){return true;} //###
    if(c=="caf1a3dfb505ffed0d024130f58c5cfa"){return true;} //###
    if(c=="5737c6ec2e0716f3d8a7a5c4e0de0d9a"){return true;} //###
    if(c=="bc6dc48b743dc5d013b1abaebd2faed2"){return true;} //###
    if(c=="f2fc990265c712c49d51a18a32b39f0c"){return true;} //###
    if(c=="89f0fd5c927d466d6ec9a21b9ac34ffa"){return true;} //###
    if(c=="a666587afda6e89aec274a3657558a27"){return true;} //###
    if(c=="b83aac23b9528732c23cc7352950e880"){return true;} //###
    if(c=="6da37dd3139aa4d9aa55b8d237ec5d4a"){return true;} //###
    if(c=="c042f4db68f23406c6cecf84a7ebb0fe"){return true;} //###
    if(c=="310dcbbf4cce62f762a2aaa148d556bd"){return true;} //###
    if(c=="2f2b265625d76a6704b08093c652fd79"){return true;} //###
    if(c=="f9b902fc3289af4dd08de5d1de54f68f"){return true;} //###
    if(c=="6855456e2fe46a9d49d3d3af4f57443d"){return true;} //###
    if(c=="357a6fdf7642bf815a88822c447d9dc4"){return true;} //###
    if(c=="3dd48ab31d016ffcbf3314df2b3cb9ce"){return true;} //###
    if(c=="58238e9ae2dd305d79c2ebc8c1883422"){return true;} //###
    if(c=="3ad7c2ebb96fcba7cda0cf54a2e802f5"){return true;} //###
    if(c=="b3967a0e938dc2a6340e258630febd5a"){return true;} //###
    if(c=="d81f9c1be2e08964bf9f24b15f0e4900"){return true;} //###
    if(c=="13f9896df61279c928f19721878fac41"){return true;} //###
    if(c=="c5ff2543b53f4cc0ad3819a36752467b"){return true;} //###
    if(c=="efe937780e95574250dabe07151bdc23"){return true;} //###
    if(c=="371bce7dc83817b7893bcdeed13799b5"){return true;} //###
    if(c=="138bb0696595b338afbab333c555292a"){return true;} //###
    if(c=="8dd48d6a2e2cad213179a3992c0be53c"){return true;} //###
    if(c=="82cec96096d4281b7c95cd7e74623496"){return true;} //###
    if(c=="6c524f9d5d7027454a783c841250ba71"){return true;} //###
    if(c=="fb7b9ffa5462084c5f4e7e85a093e6d7"){return true;} //###
    if(c=="52720e003547c70561bf5e03b95aa99f"){return true;} //###
    if(c=="c3e878e27f52e2a57ace4d9a76fd9acf"){return true;} //###
    if(c=="00411460f7c92d2124a67ea0f4cb5f85"){return true;} //###
    if(c=="bac9162b47c56fc8a4d2a519803d51b3"){return true;} //###
    if(c=="9be40cee5b0eee1462c82c6964087ff9"){return true;} //###
    if(c=="5ef698cd9fe650923ea331c15af3b160"){return true;} //###
    if(c=="05049e90fa4f5039a8cadc6acbb4b2cc"){return true;} //###
    if(c=="41f1f19176d383480afa65d325c06ed0"){return true;} //###
    if(c=="24b16fede9a67c9251d3e7c7161c83ac"){return true;} //###
    if(c=="ffd52f3c7e12435a724a8f30fddadd9c"){return true;} //###
    if(c=="ad972f10e0800b49d76fed33a21f6698"){return true;} //###
    if(c=="f61d6947467ccd3aa5af24db320235dd"){return true;} //###
    if(c=="142949df56ea8ae0be8b5306971900a4"){return true;} //###
    if(c=="d34ab169b70c9dcd35e62896010cd9ff"){return true;} //###
    if(c=="00ec53c4682d36f5c4359f4ae7bd7ba1"){return true;} //###
    if(c=="4f6ffe13a5d75b2d6a3923922b3922e5"){return true;} //###
    if(c=="beed13602b9b0e6ecb5b568ff5058f07"){return true;} //###
    if(c=="0584ce565c824b7b7f50282d9a19945b"){return true;} //###
    if(c=="dc912a253d1e9ba40e2c597ed2376640"){return true;} //###
    if(c=="39461a19e9eddfb385ea76b26521ea48"){return true;} //###
    if(c=="8efb100a295c0c690931222ff4467bb8"){return true;} //###
    if(c=="5a4b25aaed25c2ee1b74de72dc03c14e"){return true;} //###
    if(c=="f73b76ce8949fe29bf2a537cfa420e8f"){return true;} //###
    if(c=="70c639df5e30bdee440e4cdf599fec2b"){return true;} //###
    if(c=="28f0b864598a1291557bed248a998d4e"){return true;} //###
    if(c=="1543843a4723ed2ab08e18053ae6dc5b"){return true;} //###
    if(c=="f8c1f23d6a8d8d7904fc0ea8e066b3bb"){return true;} //###
    if(c=="e46de7e1bcaaced9a54f1e9d0d2f800d"){return true;} //###
    if(c=="816b112c6105b3ebd537828a39af4818"){return true;} //###
    if(c=="69cb3ea317a32c4e6143e665fdb20b14"){return true;} //###
    if(c=="bbf94b34eb32268ada57a3be5062fe7d"){return true;} //###
    if(c=="4f4adcbf8c6f66dcfc8a3282ac2bf10a"){return true;} //###
    if(c=="bbcbff5c1f1ded46c25d28119a85c6c2"){return true;} //###
    if(c=="8cb22bdd0b7ba1ab13d742e22eed8da2"){return true;} //###
    if(c=="f4f6dce2f3a0f9dada0c2b5b66452017"){return true;} //###
    if(c=="17d63b1625c816c22647a73e1482372b"){return true;} //###
    if(c=="b9228e0962a78b84f3d5d92f4faa000b"){return true;} //###
    if(c=="0deb1c54814305ca9ad266f53bc82511"){return true;} //###
    if(c=="66808e327dc79d135ba18e051673d906"){return true;} //###
    if(c=="42e7aaa88b48137a16a1acd04ed91125"){return true;} //###
    if(c=="8fe0093bb30d6f8c31474bd0764e6ac0"){return true;} //###
    if(c=="41ae36ecb9b3eee609d05b90c14222fb"){return true;} //###
    if(c=="e0c641195b27425bb056ac56f8953d24"){return true;} //###
    if(c=="f85454e8279be180185cac7d243c5eb3"){return true;} //###
    if(c=="faa9afea49ef2ff029a833cccc778fd0"){return true;} //###
    if(c=="3c7781a36bcd6cf08c11a970fbe0e2a6"){return true;} //###
    if(c=="25b2822c2f5a3230abfadd476e8b04c9"){return true;} //###
    if(c=="6ecbdd6ec859d284dc13885a37ce8d81"){return true;} //###
    if(c=="18997733ec258a9fcaf239cc55d53363"){return true;} //###
    if(c=="66368270ffd51418ec58bd793f2d9b1b"){return true;} //###
    if(c=="248e844336797ec98478f85e7626de4a"){return true;} //###
    if(c=="019d385eb67632a7e958e23f24bd07d7"){return true;} //###
    if(c=="a49e9411d64ff53eccfdd09ad10a15b3"){return true;} //###
    if(c=="ddb30680a691d157187ee1cf9e896d03"){return true;} //###
    if(c=="2421fcb1263b9530df88f7f002e78ea5"){return true;} //###
    if(c=="fccb60fb512d13df5083790d64c4d5dd"){return true;} //###
    if(c=="15d4e891d784977cacbfcbb00c48f133"){return true;} //###
    if(c=="c203d8a151612acf12457e4d67635a95"){return true;} //###
    if(c=="13f3cf8c531952d72e5847c4183e6910"){return true;} //###
    if(c=="550a141f12de6341fba65b0ad0433500"){return true;} //###
    if(c=="67f7fb873eaf29526a11a9b7ac33bfac"){return true;} //###
    if(c=="1a5b1e4daae265b790965a275b53ae50"){return true;} //###
    if(c=="9a96876e2f8f3dc4f3cf45f02c61c0c1"){return true;} //###
    if(c=="941e1aaaba585b952b62c14a3a175a61"){return true;} //###
    if(c=="9431c87f273e507e6040fcb07dcb4509"){return true;} //###
    if(c=="49ae49a23f67c759bf4fc791ba842aa2"){return true;} //###
    if(c=="e44fea3bec53bcea3b7513ccef5857ac"){return true;} //###
    if(c=="821fa74b50ba3f7cba1e6c53e8fa6845"){return true;} //###
    if(c=="250cf8b51c773f3f8dc8b4be867a9a02"){return true;} //###
    if(c=="42998cf32d552343bc8e460416382dca"){return true;} //###
    if(c=="0353ab4cbed5beae847a7ff6e220b5cf"){return true;} //###
    if(c=="51d92be1c60d1db1d2e5e7a07da55b26"){return true;} //###
    if(c=="428fca9bc1921c25c5121f9da7815cde"){return true;} //###
    if(c=="f1b6f2857fb6d44dd73c7041e0aa0f19"){return true;} //###
    if(c=="68ce199ec2c5517597ce0a4d89620f55"){return true;} //###
    if(c=="e836d813fd184325132fca8edcdfb40e"){return true;} //###
    if(c=="ab817c9349cf9c4f6877e1894a1faa00"){return true;} //###
    if(c=="8e6b42f1644ecb1327dc03ab345e618b"){return true;} //###
    if(c=="ef575e8837d065a1683c022d2077d342"){return true;} //###
    if(c=="2050e03ca119580f74cca14cc6e97462"){return true;} //###
    if(c=="25ddc0f8c9d3e22e03d3076f98d83cb2"){return true;} //###
    if(c=="5ef0b4eba35ab2d6180b0bca7e46b6f9"){return true;} //###
    if(c=="598b3e71ec378bd83e0a727608b5db01"){return true;} //###
    if(c=="74071a673307ca7459bcf75fbd024e09"){return true;} //###
    }

    if(b=="69691c7bdcc3ce6d5d8a1361f22d04ac" || b=="6f8f57715090da2632453988d9a1501b") { //###
    if(c=="2bb232c0b13c774965ef8558f0fbd615") {return true;} //###
    if(c=="ba2fd310dcaa8781a9a652a31baf3c68") {return true;} //###
    if(c=="69421f032498c97020180038fddb8e24") {return true;} //###
    if(c=="85422afb467e9456013a2a51d4dff702") {return true;} //###
    if(c=="13f320e7b5ead1024ac95c3b208610db") {return true;} //###
    }
    //###
    window.location="rcrb2.html";
    return false;

    }



  • Let's see, they encrypted a value and compared it against the encrypted values of all possible values for that field.

    It could have been worse - imagine if there were millions of ranges against which they needed to be performing this check! Imagine if they had used XML!



  • It's mind-boggling, but I can probably guess at what they were thinking. There probably is a simple range of serial numbers which were effected, but they want to keep the average Joe from looking at the script and retrieving a long list of serial numbers and then republishing that list. To what end, who knows.







  • @DaveK said:

    The Nokia exploding-battery-recall is all over the tech newssites
    today, so I found myself wandering along to check if my battery was
    likely to a splode.  Although I'm disappointingly unlikely to be
    on the receiving end of a delightful display of pyrotechnics, I did
    find an amusing display of WTF'ery in the script that does the checking:

    http://www.nokia.com/batteryreplacement/en/rcrcheckserial.js

    I
    like the use of isgood, which is always false, which is a reasonable
    way to describe this script.  But what I like most of all is the
    entire approach to checking the value.  Notice how the variables
    'b' and 'c' are set to a 1-character and a 3-character substring of the
    serial number, respectively.  Then note how those one or three
    characters are md5summed and compared to a huge long list of
    16-character checksum results.  Yes, that's right: in a
    masterpiece of optimisation, they have sacrificed speed of execution
    for worse use of memory space!

    Bonus
    points for anyone who can
    demonstrate that that huge long list of comparisons against 'c', which
    remember is the md5sum of a 3-digit string, are actually tests against
    the md5sums of
    a contiguous range of 3-digit numbers, so that the whole lot could be
    replaced with something a lot simpler such as "if ((serial.substr(14,3)
    > 100) && (serial.substr(14,3) < 429))" or something
    equally simple and inane!

      011  012  013  014  015  016  017  021  022  023  024  025  026  027  031
    032 033 034 035 036 037 041 042 043 044 045 046 047 051 052
    053 054 055 056 057 061 062 063 064 065 066 067 071 072 073
    074 075 076 077 081 082 083 084 085 086 087 091 092 093 094
    095 096 097 101 102 103 104 105 106 107 111 112 113 114 115
    116 117 121 122 123 124 125 126 127 131 132 133 134 135 136
    137 141 142 143 144 145 146 147 151 152 153 154 155 156 157
    161 162 163 164 165 166 167 171 172 173 174 175 176 177 181
    182 183 184 185 186 187 191 192 193 194 195 196 197 201 202
    203 204 205 206 207 211 212 213 214 215 216 217 221 222 223
    224 225 226 227 231 232 233 234 235 236 237 241 242 243 244
    245 246 247 251 252 253 254 255 256 257 261 262 263 264 265
    266 267 271 272 273 274 275 276 277 281 282 283 284 285 286
    287 291 292 293 294 295 296 297 301 302 303 304 305 306 307
    311 312 313 314 315 316 317 321 322 323 324 325 326 327 331
    332 333 334 335 336 337 341 342 343 344 345 346 347 351 352
    353 354 355 356 357 361 362 363 364 365 366 367 371 372 373
    374 375 376 377 381 382 383 384 385 386 387 391 392 393 394
    395 396 397 401 402 403 404 405 406 407 411 412 413 414 415
    416 417 421 422 423 424 425 426 427 431 432 433 434 435 436
    437 441 442 443 444 445 446 447 451 452 453 454 455 456 457
    461 462 463 464 465 466 467 471 472 473 474 475 476 477 523
    524 525 526 527

     is what I was able to get.



  • @snoofle said:

    Let's see, they encrypted a value and compared it against the encrypted values of all possible values for that field.

    It could have been worse - imagine if there were millions of ranges against which they needed to be performing this check! Imagine if they had used XML!

    Imagine if they had used XML and an RDBMS! Because everybody knows that whenever you have a million of something, you need Oracle. Regardless of what the damn problem is.



  • @Random832 said:

    @DaveK said:

    Bonus
    points for anyone who can
    demonstrate that that huge long list of comparisons against 'c', which
    remember is the md5sum of a 3-digit string, are actually tests against
    the md5sums of
    a contiguous range of 3-digit numbers, so that the whole lot could be
    replaced with something a lot simpler such as "if ((serial.substr(14,3)
    > 100) && (serial.substr(14,3) < 429))" or something
    equally simple and inane!

      011  012  013  014  015  016  017  021  022  023  024  025  026  027  031
    ...
    524 525 526 527

     is what I was able to get.

    Who wants to bet that it should be a contiguous range, but the table was created by an intern being told to sit and type in all the numbers, and they missed a few? 



  • That looks like [01-52][1-7] to me.



  • If they had actually meant to hide the values of the serial numbers, then putting them no matter how hidden into a JS does not compute...



  • I think they put that into js because they knew that a bazilion Nokia users would storm their servers, /.ing every server-sided web application they could build.



  • @ammoQ said:

    I think they put that into js because they knew that a bazilion Nokia users would storm their servers, /.ing every server-sided web application they could build.

    You are suggesting that they carefully considered a problem and came up with a sensible solution. On the whole I find this unlikely. I think they did it in js because they are morons.



  • I'm not certain they can do

    if(serial.length<26) {
        alert("The identification number is incorrect. Please check that you have entered the full 26 characters of the battery identification number.");
        return false;
    }
    if(serial.length>26) {
      alert("The identification number is incorrect. Please check that you have entered the full 26 characters of the battery identification number.");
      return false;
    }

    And not be morons:

    if (serial.length!=26) {
        alert("The identification number is incorrect...");
        return false;
    }



  • @asuffield said:

    @ammoQ said:

    I think they put that into js because they knew that a bazilion Nokia users would storm their servers, /.ing every server-sided web application they could build.

    You are suggesting that they carefully considered a problem and came up with a sensible solution.

    This possitive attitude towards other people's way of doing things might be one of my greatest weaknesses.



  • Actually I also think this was "planned"...

    - The solution does not disclose the data to the "average Joe" (aka: Management)

    - It is scalable

    - No need to setup a DB

    - Its even cachable ;)

     

    I would consider it an WTF, but this odd implementation will actually work quite well for this given scenario.

     



  • Another smaller thing: if you have enter a valid serial number (not hard to get with this code), it makes you enter it again. Then, the final form asks me for my "Mobile phone phone:". It also has a a small message of "Serial number is missing.", but that could be because my serial number is fake.


     




  • Re: Nokia Battery Recall Script-check this out all md5 decrypted

    all md5 hashes r decrypted in front of its value., 

     

    //###
    if( d!="f836e12099e0b3ebaad02eb4701bac5b" //###0670400
     && d!="9a85cfe403a9203609ed96246909d020" //###0670399
     && d!="c0feaa7a2dc0a98f0546ccf527f11158" //###0670398
     && d!="d7580f38ce301d67ed47d87118ef4cb5" //###0670397
     && d!="aaf2a9c61bc422561df6dd38dceb8ac9" //###0670393
     && d!="b7fc55cbb9824307b7eab7e02fca188a" //###0670448
     && d!="c712d4d95b031b113186c92f3651069a" //###0670521
     && d!="e2dbd5f32af1dc495f25ebd539926e20" //###0670512
    ) {
        window.location="rcrb2.html";
        return false;
    }

    //###
    if(a!="ea4a302b5cbd017871ec94fd6ae189b5"   //###363563
    && a!="1f098214896cc40cfabc3b2403a65b75"    //###436243
    && a!="fd06cd296b4bf634d85e26884565aa6c") { //###360245
            window.location="rcrb2.html";
            return false;
    }

    if(b=="8d9c307cb7f3c4a32822a51922d1ceaa") { //###N
    if(c=="84eb13cfed01764d9c401219faa56d53"){return true;} //###011
    if(c=="d2490f048dc3b77a457e3e450ab4eb38"){return true;} //###012
    if(c=="441954d29ad2a375cef8ea524a2c7e73"){return true;} //###013
    if(c=="0e51011a4c4891e5c01c12d85c4dcaa7"){return true;} //###014
    if(c=="af032fbcb07ffc7bd2569d86ae4ce1f5"){return true;} //###015
    if(c=="73f7634ab3f381fb40995f93740b3f8a"){return true;} //###016
    if(c=="738cccd4fda172441f216712a488dca6"){return true;} //###017
    if(c=="f803dfeb3583d5099a58a7478f28bd75"){return true;} //###021
    if(c=="7f5144f962efde75e0f7661e032166db"){return true;} //###022
    if(c=="8fc4c7ab4453d247e011738197b6136c"){return true;} //###023
    if(c=="defd40204344c9659a0a3eb4ebc125f6"){return true;} //###024
    if(c=="c4de9fe96832a877668d0dced80657b8"){return true;} //###025
    if(c=="2c62105ee18ecd5f0ee37bc8c35718eb"){return true;} //###026
    if(c=="3994f23bfb2b89994bd6e828977b42ae"){return true;} //###027
    if(c=="28fd0fbd334515deb8a8291b71941c9e"){return true;} //###031
    if(c=="9ac05befca7d6499e3abec9bdfef2b68"){return true;} //###032
    if(c=="1732cb437260c60a0744aea8aedfa331"){return true;} //###033
    if(c=="e1eee5e2b42d45443cdc82db1a3bc465"){return true;} //###034
    if(c=="7d06a9cf10f2e9e47e77d6c6cfaa7f54"){return true;} //###035
    if(c=="2618045a3a5fc883e65b6bec2fcac3c8"){return true;} //###036
    if(c=="b6aea7af56564f32a22ce27f25936b82"){return true;} //###037
    if(c=="a27ef1c79c867d68d049751af69f4b38"){return true;} //###041
    if(c=="2ba100d60448c3b5fe2dc55a892104f0"){return true;} //###042
    if(c=="2f1ee6251bc23a0f35118b54170177cb"){return true;} //###043
    if(c=="bff82d18862ce94df14bdee55295f812"){return true;} //###044
    if(c=="e46d0ac1f15ac7dac2a8948245a02da4"){return true;} //###045
    if(c=="bf97f24695f24fac060bc44b4e97acc1"){return true;} //###046
    if(c=="2c4a8495407bfb55ce1a93970445bd38"){return true;} //###047
    if(c=="8c9611718f0422ac8dd0baf0903d22e5"){return true;} //###051
    if(c=="a71d83915f8839e1da511021db1b3aa0"){return true;} //###052
    if(c=="5759d9ff2a54eeab381f9cf6062800e8"){return true;} //###053
    if(c=="f75c3dad51560c41ab90ac39560d7a2a"){return true;} //###054
    if(c=="b7923fe9afe7142a24720692484321c5"){return true;} //###055
    if(c=="88ddadec554e6dd3adfdd7eb1ceaef6b"){return true;} //###056
    if(c=="671f8ff3e6c9b665f711c75a801c04b1"){return true;} //###057
    if(c=="307fd7f231593cf189b68d28f91f63bb"){return true;} //###061
    if(c=="18230e1fb6e5dd3cfb0bcec4f863e167"){return true;} //###062
    if(c=="f157be1f0051274be438c6d905607d3a"){return true;} //###063
    if(c=="b34f33d0bc25185dfb84d1c9c565f228"){return true;} //###064
    if(c=="a91f7d0f27f3c35bd2692c05876cc13f"){return true;} //###065
    if(c=="7ba15e3f075e78d4d10235aaf3b15ff8"){return true;} //###066
    if(c=="84150c44ef2321996556362d9b877f64"){return true;} //###067
    if(c=="a74b59c0f4fd1cc6e7ff3acb630e455c"){return true;} //###071
    if(c=="c4258e0f536604c99f79545e930d5a22"){return true;} //###072
    if(c=="871c14878fa75bc327ba87d2d284d596"){return true;} //###073
    if(c=="31c8f1568c7dd69a946aaaa062bdbe17"){return true;} //###074
    if(c=="207f466f93e1ea0d07fb2607ee058df7"){return true;} //###075
    if(c=="ba55ff88bddf71220a86105441fd2fff"){return true;} //###076
    if(c=="a861405761149022ffe871c0967b2412"){return true;} //###077
    if(c=="13c022b0b3f191667e834e0e155b0651"){return true;} //###081
    if(c=="06eb133bbfaef5b68abe123e005a7c95"){return true;} //###082
    if(c=="18bbcaa5ef823894fc2814721a5976ae"){return true;} //###083
    if(c=="37bc1b6433166494d611199664a8b3e1"){return true;} //###084
    if(c=="914b62192c43efb8aa203ef848054856"){return true;} //###085
    if(c=="bbf14f4f9bf8b235b2902781c38247b3"){return true;} //###086
    if(c=="962e611a0fdbd09ad6368caece8df75c"){return true;} //###087
    if(c=="d2716515bd05082789a31002d4bbc958"){return true;} //###091
    if(c=="e64770ac6bac05626b4f59b6a03e2ff8"){return true;} //###092
    if(c=="f43686bab1c60489c1eac5ecb1ec8c7b"){return true;} //###093
    if(c=="ebf11048b18616fbd6ba58d38a1858be"){return true;} //###094
    if(c=="fb9ce87f03a0429d0af0760d01b74612"){return true;} //###095
    if(c=="95b3019deacb238e7455893b97926528"){return true;} //###096
    if(c=="64b2c118675af170ec2f5274d45852d7"){return true;} //###097
    if(c=="38b3eff8baf56627478ec76a704e9b52"){return true;} //###101
    if(c=="ec8956637a99787bd197eacd77acce5e"){return true;} //###102
    if(c=="6974ce5ac660610b44d9b9fed0ff9548"){return true;} //###103
    if(c=="c9e1074f5b3f9fc8ea15d152add07294"){return true;} //###104
    if(c=="65b9eea6e1cc6bb9f0cd2a47751a186f"){return true;} //###105
    if(c=="f0935e4cd5920aa6c7c996a5ee53a70f"){return true;} //###106
    if(c=="a97da629b098b75c294dffdc3e463904"){return true;} //###107
    if(c=="698d51a19d8a121ce581499d7b701668"){return true;} //###111
    if(c=="7f6ffaa6bb0b408017b62254211691b5"){return true;} //###112
    if(c=="73278a4a86960eeb576a8fd4c9ec6997"){return true;} //###113
    if(c=="5fd0b37cd7dbbb00f97ba6ce92bf5add"){return true;} //###114
    if(c=="2b44928ae11fb9384c4cf38708677c48"){return true;} //###115
    if(c=="c45147dee729311ef5b5c3003946c48f"){return true;} //###116
    if(c=="eb160de1de89d9058fcb0b968dbbbd68"){return true;} //###117
    if(c=="4c56ff4ce4aaf9573aa5dff913df997a"){return true;} //###121
    if(c=="a0a080f42e6f13b3a2df133f073095dd"){return true;} //###122
    if(c=="202cb962ac59075b964b07152d234b70"){return true;} //###123
    if(c=="c8ffe9a587b126f152ed3d89a146b445"){return true;} //###124
    if(c=="3def184ad8f4755ff269862ea77393dd"){return true;} //###125
    if(c=="069059b7ef840f0c74a814ec9237b6ec"){return true;} //###126
    if(c=="ec5decca5ed3d6b8079e2e7e7bacc9f2"){return true;} //###127
    if(c=="1afa34a7f984eeabdbb0a7d494132ee5"){return true;} //###131
    if(c=="65ded5353c5ee48d0b7d48c591b8f430"){return true;} //###132
    if(c=="9fc3d7152ba9336a670e36d0ed79bc43"){return true;} //###133
    if(c=="02522a2b2726fb0a03bb19f2d8d9524d"){return true;} //###134
    if(c=="7f1de29e6da19d22b51c68001e7e0e54"){return true;} //###135
    if(c=="42a0e188f5033bc65bf8d78622277c4e"){return true;} //###136
    if(c=="3988c7f88ebcb58c6ce932b957b6f332"){return true;} //###137
    if(c=="0f28b5d49b3020afeecd95b4009adf4c"){return true;} //###141
    if(c=="a8baa56554f96369ab93e4f3bb068c22"){return true;} //###142
    if(c=="903ce9225fca3e988c2af215d4e544d3"){return true;} //###143
    if(c=="0a09c8844ba8f0936c20bd791130d6b6"){return true;} //###144
    if(c=="2b24d495052a8ce66358eb576b8912c8"){return true;} //###145
    if(c=="a5e00132373a7031000fd987a3c9f87b"){return true;} //###146
    if(c=="8d5e957f297893487bd98fa830fa6413"){return true;} //###147
    if(c=="a8f15eda80c50adb0e71943adc8015cf"){return true;} //###151
    if(c=="37a749d808e46495a8da1e5352d03cae"){return true;} //###152
    if(c=="b3e3e393c77e35a4a3f3cbd1e429b5dc"){return true;} //###153
    if(c=="1d7f7abc18fcb43975065399b0d1e48e"){return true;} //###154
    if(c=="2a79ea27c279e471f4d180b08d62b00a"){return true;} //###155
    if(c=="1c9ac0159c94d8d0cbedc973445af2da"){return true;} //###156
    if(c=="6c4b761a28b734fe93831e3fb400ce87"){return true;} //###157
    if(c=="bd4c9ab730f5513206b999ec0d90d1fb"){return true;} //###161
    if(c=="82aa4b0af34c2313a562076992e50aa3"){return true;} //###162
    if(c=="0777d5c17d4066b82ab86dff8a46af6f"){return true;} //###163
    if(c=="fa7cdfad1a5aaf8370ebeda47a1ff1c3"){return true;} //###164
    if(c=="9766527f2b5d3e95d4a733fcfb77bd7e"){return true;} //###165
    if(c=="7e7757b1e12abcb736ab9a754ffb617a"){return true;} //###166
    if(c=="5878a7ab84fb43402106c575658472fa"){return true;} //###167
    if(c=="a4a042cf4fd6bfb47701cbc8a1653ada"){return true;} //###171
    if(c=="1ff8a7b5dc7a7d1f0ed65aaa29c04b1e"){return true;} //###172
    if(c=="f7e6c85504ce6e82442c770f7c8606f0"){return true;} //###173
    if(c=="bf8229696f7a3bb4700cfddef19fa23f"){return true;} //###174
    if(c=="82161242827b703e6acf9c726942a1e4"){return true;} //###175
    if(c=="38af86134b65d0f10fe33d30dd76442e"){return true;} //###176
    if(c=="96da2f590cd7246bbde0051047b0d6f7"){return true;} //###177
    if(c=="fc221309746013ac554571fbd180e1c8"){return true;} //###181
    if(c=="4c5bde74a8f110656874902f07378009"){return true;} //###182
    if(c=="cedebb6e872f539bef8c3f919874e9d7"){return true;} //###183
    if(c=="6cdd60ea0045eb7a6ec44c54d29ed402"){return true;} //###184
    if(c=="eecca5b6365d9607ee5a9d336962c534"){return true;} //###185
    if(c=="9872ed9fc22fc182d371c3e9ed316094"){return true;} //###186
    if(c=="31fefc0e570cb3860f2a6d4b38c6490d"){return true;} //###187
    if(c=="0aa1883c6411f7873cb83dacb17b0afc"){return true;} //###191
    if(c=="58a2fc6ed39fd083f55d4182bf88826d"){return true;} //###192
    if(c=="bd686fd640be98efaae0091fa301e613"){return true;} //###193
    if(c=="a597e50502f5ff68e3e25b9114205d4a"){return true;} //###194
    if(c=="0336dcbab05b9d5ad24f4333c7658a0e"){return true;} //###195
    if(c=="084b6fbb10729ed4da8c3d3f5a3ae7c9"){return true;} //###196
    if(c=="85d8ce590ad8981ca2c8286f79f59954"){return true;} //###197
    if(c=="757b505cfd34c64c85ca5b5690ee5293"){return true;} //###201
    if(c=="854d6fae5ee42911677c739ee1734486"){return true;} //###202
    if(c=="e2c0be24560d78c5e599c2a9c9d0bbd2"){return true;} //###203
    if(c=="274ad4786c3abca69fa097b85867d9a4"){return true;} //###204
    if(c=="eae27d77ca20db309e056e3d2dcd7d69"){return true;} //###205
    if(c=="7eabe3a1649ffa2b3ff8c02ebfd5659f"){return true;} //###206
    if(c=="69adc1e107f7f7d035d7baf04342e1ca"){return true;} //###207
    if(c=="eb163727917cbba1eea208541a643e74"){return true;} //###211
    if(c=="1534b76d325a8f591b52d302e7181331"){return true;} //###212
    if(c=="979d472a84804b9f647bc185a877a8b5"){return true;} //###213
    if(c=="ca46c1b9512a7a8315fa3c5a946e8265"){return true;} //###214
    if(c=="3b8a614226a953a8cd9526fca6fe9ba5"){return true;} //###215
    if(c=="45fbc6d3e05ebd93369ce542e8f2322d"){return true;} //###216
    if(c=="63dc7ed1010d3c3b8269faf0ba7491d4"){return true;} //###217
    if(c=="060ad92489947d410d897474079c1477"){return true;} //###221
    if(c=="bcbe3365e6ac95ea2c0343a2395834dd"){return true;} //###222
    if(c=="115f89503138416a242f40fb7d7f338e"){return true;} //###223
    if(c=="13fe9d84310e77f13a6d184dbf1232f3"){return true;} //###224
    if(c=="d1c38a09acc34845c6be3a127a5aacaf"){return true;} //###225
    if(c=="9cfdf10e8fc047a44b08ed031e1f0ed1"){return true;} //###226
    if(c=="705f2172834666788607efbfca35afb3"){return true;} //###227
    if(c=="9b04d152845ec0a378394003c96da594"){return true;} //###231
    if(c=="be83ab3ecd0db773eb2dc1b0a17836a1"){return true;} //###232
    if(c=="e165421110ba03099a1c0393373c5b43"){return true;} //###233
    if(c=="289dff07669d7a23de0ef88d2f7129e7"){return true;} //###234
    if(c=="577ef1154f3240ad5b9b413aa7346a1e"){return true;} //###235
    if(c=="01161aaa0b6d1345dd8fe4e481144d84"){return true;} //###236
    if(c=="539fd53b59e3bb12d203f45a912eeaf2"){return true;} //###237
    if(c=="f340f1b1f65b6df5b5e3f94d95b11daf"){return true;} //###241
    if(c=="e4a6222cdb5b34375400904f03d8e6a5"){return true;} //###242
    if(c=="cb70ab375662576bd1ac5aaf16b3fca4"){return true;} //###243
    if(c=="9188905e74c28e489b44e954ec0b9bca"){return true;} //###244
    if(c=="0266e33d3f546cb5436a10798e657d97"){return true;} //###245
    if(c=="38db3aed920cf82ab059bfccbd02be6a"){return true;} //###246
    if(c=="3cec07e9ba5f5bb252d13f5f431e4bbb"){return true;} //###247
    if(c=="19f3cd308f1455b3fa09a282e0d496f4"){return true;} //###251
    if(c=="03c6b06952c750899bb03d998e631860"){return true;} //###252
    if(c=="c24cd76e1ce41366a4bbe8a49b02a028"){return true;} //###253
    if(c=="c52f1bd66cc19d05628bd8bf27af3ad6"){return true;} //###254
    if(c=="fe131d7f5a6b38b23cc967316c13dae2"){return true;} //###255
    if(c=="f718499c1c8cef6730f9fd03c8125cab"){return true;} //###256
    if(c=="d96409bf894217686ba124d7356686c9"){return true;} //###257
    if(c=="b1a59b315fc9a3002ce38bbe070ec3f5"){return true;} //###261
    if(c=="36660e59856b4de58a219bcf4e27eba3"){return true;} //###262
    if(c=="8c19f571e251e61cb8dd3612f26d5ecf"){return true;} //###263
    if(c=="d6baf65e0b240ce177cf70da146c8dc8"){return true;} //###264
    if(c=="e56954b4f6347e897f954495eab16a88"){return true;} //###265
    if(c=="f7664060cc52bc6f3d620bcedc94a4b6"){return true;} //###266
    if(c=="eda80a3d5b344bc40f3bc04f65b7a357"){return true;} //###267
    if(c=="7f100b7b36092fb9b06dfb4fac360931"){return true;} //###271
    if(c=="7a614fd06c325499f1680b9896beedeb"){return true;} //###272
    if(c=="4734ba6f3de83d861c3176a6273cac6d"){return true;} //###273
    if(c=="d947bf06a885db0d477d707121934ff8"){return true;} //###274
    if(c=="63923f49e5241343aa7acb6a06a751e7"){return true;} //###275
    if(c=="db8e1af0cb3aca1ae2d0018624204529"){return true;} //###276
    if(c=="20f07591c6fcb220ffe637cda29bb3f6"){return true;} //###277
    if(c=="e3796ae838835da0b6f6ea37bcf8bcb7"){return true;} //###281
    if(c=="6a9aeddfc689c1d0e3b9ccc3ab651bc5"){return true;} //###282
    if(c=="0f49c89d1e7298bb9930789c8ed59d48"){return true;} //###283
    if(c=="46ba9f2a6976570b0353203ec4474217"){return true;} //###284
    if(c=="0e01938fc48a2cfb5f2217fbfb00722d"){return true;} //###285
    if(c=="16a5cdae362b8d27a1d8f8c7b78b4330"){return true;} //###286
    if(c=="918317b57931b6b7a7d29490fe5ec9f9"){return true;} //###287
    if(c=="9c838d2e45b2ad1094d42f4ef36764f6"){return true;} //###291
    if(c=="1700002963a49da13542e0726b7bb758"){return true;} //###292
    if(c=="53c3bce66e43be4f209556518c2fcb54"){return true;} //###293
    if(c=="6883966fd8f918a4aa29be29d2c386fb"){return true;} //###294
    if(c=="49182f81e6a13cf5eaa496d51fea6406"){return true;} //###295
    if(c=="d296c101daa88a51f6ca8cfc1ac79b50"){return true;} //###296
    if(c=="9fd81843ad7f202f26c1a174c7357585"){return true;} //###297
    if(c=="34ed066df378efacc9b924ec161e7639"){return true;} //###301
    if(c=="577bcc914f9e55d5e4e4f82f9f00e7d4"){return true;} //###302
    if(c=="11b9842e0a271ff252c1903e7132cd68"){return true;} //###303
    if(c=="37bc2f75bf1bcfe8450a1a41c200364c"){return true;} //###304
    if(c=="496e05e1aea0a9c4655800e8a7b9ea28"){return true;} //###305
    if(c=="b2eb7349035754953b57a32e2841bda5"){return true;} //###306
    if(c=="8e98d81f8217304975ccb23337bb5761"){return true;} //###307
    if(c=="9dfcd5e558dfa04aaf37f137a1d9d3e5"){return true;} //###311
    if(c=="950a4152c2b4aa3ad78bdd6b366cc179"){return true;} //###312
    if(c=="158f3069a435b314a80bdcb024f8e422"){return true;} //###313
    if(c=="758874998f5bd0c393da094e1967a72b"){return true;} //###314
    if(c=="ad13a2a07ca4b7642959dc0c4c740ab6"){return true;} //###315
    if(c=="3fe94a002317b5f9259f82690aeea4cd"){return true;} //###316
    if(c=="5b8add2a5d98b1a652ea7fd72d942dac"){return true;} //###317
    if(c=="caf1a3dfb505ffed0d024130f58c5cfa"){return true;} //###321
    if(c=="5737c6ec2e0716f3d8a7a5c4e0de0d9a"){return true;} //###322
    if(c=="bc6dc48b743dc5d013b1abaebd2faed2"){return true;} //###323
    if(c=="f2fc990265c712c49d51a18a32b39f0c"){return true;} //###324
    if(c=="89f0fd5c927d466d6ec9a21b9ac34ffa"){return true;} //###325
    if(c=="a666587afda6e89aec274a3657558a27"){return true;} //###326
    if(c=="b83aac23b9528732c23cc7352950e880"){return true;} //###327
    if(c=="6da37dd3139aa4d9aa55b8d237ec5d4a"){return true;} //###331
    if(c=="c042f4db68f23406c6cecf84a7ebb0fe"){return true;} //###332
    if(c=="310dcbbf4cce62f762a2aaa148d556bd"){return true;} //###333
    if(c=="2f2b265625d76a6704b08093c652fd79"){return true;} //###334
    if(c=="f9b902fc3289af4dd08de5d1de54f68f"){return true;} //###335
    if(c=="6855456e2fe46a9d49d3d3af4f57443d"){return true;} //###336
    if(c=="357a6fdf7642bf815a88822c447d9dc4"){return true;} //###337
    if(c=="3dd48ab31d016ffcbf3314df2b3cb9ce"){return true;} //###341
    if(c=="58238e9ae2dd305d79c2ebc8c1883422"){return true;} //###342
    if(c=="3ad7c2ebb96fcba7cda0cf54a2e802f5"){return true;} //###343
    if(c=="b3967a0e938dc2a6340e258630febd5a"){return true;} //###344
    if(c=="d81f9c1be2e08964bf9f24b15f0e4900"){return true;} //###345
    if(c=="13f9896df61279c928f19721878fac41"){return true;} //###346
    if(c=="c5ff2543b53f4cc0ad3819a36752467b"){return true;} //###347
    if(c=="efe937780e95574250dabe07151bdc23"){return true;} //###351
    if(c=="371bce7dc83817b7893bcdeed13799b5"){return true;} //###352
    if(c=="138bb0696595b338afbab333c555292a"){return true;} //###353
    if(c=="8dd48d6a2e2cad213179a3992c0be53c"){return true;} //###354
    if(c=="82cec96096d4281b7c95cd7e74623496"){return true;} //###355
    if(c=="6c524f9d5d7027454a783c841250ba71"){return true;} //###356
    if(c=="fb7b9ffa5462084c5f4e7e85a093e6d7"){return true;} //###357
    if(c=="52720e003547c70561bf5e03b95aa99f"){return true;} //###361
    if(c=="c3e878e27f52e2a57ace4d9a76fd9acf"){return true;} //###362
    if(c=="00411460f7c92d2124a67ea0f4cb5f85"){return true;} //###363
    if(c=="bac9162b47c56fc8a4d2a519803d51b3"){return true;} //###364
    if(c=="9be40cee5b0eee1462c82c6964087ff9"){return true;} //###365
    if(c=="5ef698cd9fe650923ea331c15af3b160"){return true;} //###366
    if(c=="05049e90fa4f5039a8cadc6acbb4b2cc"){return true;} //###367
    if(c=="41f1f19176d383480afa65d325c06ed0"){return true;} //###371
    if(c=="24b16fede9a67c9251d3e7c7161c83ac"){return true;} //###372
    if(c=="ffd52f3c7e12435a724a8f30fddadd9c"){return true;} //###373
    if(c=="ad972f10e0800b49d76fed33a21f6698"){return true;} //###374
    if(c=="f61d6947467ccd3aa5af24db320235dd"){return true;} //###375
    if(c=="142949df56ea8ae0be8b5306971900a4"){return true;} //###376
    if(c=="d34ab169b70c9dcd35e62896010cd9ff"){return true;} //###377
    if(c=="00ec53c4682d36f5c4359f4ae7bd7ba1"){return true;} //###381
    if(c=="4f6ffe13a5d75b2d6a3923922b3922e5"){return true;} //###382
    if(c=="beed13602b9b0e6ecb5b568ff5058f07"){return true;} //###383
    if(c=="0584ce565c824b7b7f50282d9a19945b"){return true;} //###384
    if(c=="dc912a253d1e9ba40e2c597ed2376640"){return true;} //###385
    if(c=="39461a19e9eddfb385ea76b26521ea48"){return true;} //###386
    if(c=="8efb100a295c0c690931222ff4467bb8"){return true;} //###387
    if(c=="5a4b25aaed25c2ee1b74de72dc03c14e"){return true;} //###391
    if(c=="f73b76ce8949fe29bf2a537cfa420e8f"){return true;} //###392
    if(c=="70c639df5e30bdee440e4cdf599fec2b"){return true;} //###393
    if(c=="28f0b864598a1291557bed248a998d4e"){return true;} //###394
    if(c=="1543843a4723ed2ab08e18053ae6dc5b"){return true;} //###395
    if(c=="f8c1f23d6a8d8d7904fc0ea8e066b3bb"){return true;} //###396
    if(c=="e46de7e1bcaaced9a54f1e9d0d2f800d"){return true;} //###397
    if(c=="816b112c6105b3ebd537828a39af4818"){return true;} //###401
    if(c=="69cb3ea317a32c4e6143e665fdb20b14"){return true;} //###402
    if(c=="bbf94b34eb32268ada57a3be5062fe7d"){return true;} //###403
    if(c=="4f4adcbf8c6f66dcfc8a3282ac2bf10a"){return true;} //###404
    if(c=="bbcbff5c1f1ded46c25d28119a85c6c2"){return true;} //###405
    if(c=="8cb22bdd0b7ba1ab13d742e22eed8da2"){return true;} //###406
    if(c=="f4f6dce2f3a0f9dada0c2b5b66452017"){return true;} //###407
    if(c=="17d63b1625c816c22647a73e1482372b"){return true;} //###411
    if(c=="b9228e0962a78b84f3d5d92f4faa000b"){return true;} //###412
    if(c=="0deb1c54814305ca9ad266f53bc82511"){return true;} //###413
    if(c=="66808e327dc79d135ba18e051673d906"){return true;} //###414
    if(c=="42e7aaa88b48137a16a1acd04ed91125"){return true;} //###415
    if(c=="8fe0093bb30d6f8c31474bd0764e6ac0"){return true;} //###416
    if(c=="41ae36ecb9b3eee609d05b90c14222fb"){return true;} //###417
    if(c=="e0c641195b27425bb056ac56f8953d24"){return true;} //###421
    if(c=="f85454e8279be180185cac7d243c5eb3"){return true;} //###422
    if(c=="faa9afea49ef2ff029a833cccc778fd0"){return true;} //###423
    if(c=="3c7781a36bcd6cf08c11a970fbe0e2a6"){return true;} //###424
    if(c=="25b2822c2f5a3230abfadd476e8b04c9"){return true;} //###425
    if(c=="6ecbdd6ec859d284dc13885a37ce8d81"){return true;} //###426
    if(c=="18997733ec258a9fcaf239cc55d53363"){return true;} //###427
    if(c=="66368270ffd51418ec58bd793f2d9b1b"){return true;} //###431
    if(c=="248e844336797ec98478f85e7626de4a"){return true;} //###432
    if(c=="019d385eb67632a7e958e23f24bd07d7"){return true;} //###433
    if(c=="a49e9411d64ff53eccfdd09ad10a15b3"){return true;} //###434
    if(c=="ddb30680a691d157187ee1cf9e896d03"){return true;} //###435
    if(c=="2421fcb1263b9530df88f7f002e78ea5"){return true;} //###436
    if(c=="fccb60fb512d13df5083790d64c4d5dd"){return true;} //###437
    if(c=="15d4e891d784977cacbfcbb00c48f133"){return true;} //###441
    if(c=="c203d8a151612acf12457e4d67635a95"){return true;} //###442
    if(c=="13f3cf8c531952d72e5847c4183e6910"){return true;} //###443
    if(c=="550a141f12de6341fba65b0ad0433500"){return true;} //###444
    if(c=="67f7fb873eaf29526a11a9b7ac33bfac"){return true;} //###445
    if(c=="1a5b1e4daae265b790965a275b53ae50"){return true;} //###446
    if(c=="9a96876e2f8f3dc4f3cf45f02c61c0c1"){return true;} //###447
    if(c=="941e1aaaba585b952b62c14a3a175a61"){return true;} //###451
    if(c=="9431c87f273e507e6040fcb07dcb4509"){return true;} //###452
    if(c=="49ae49a23f67c759bf4fc791ba842aa2"){return true;} //###453
    if(c=="e44fea3bec53bcea3b7513ccef5857ac"){return true;} //###454
    if(c=="821fa74b50ba3f7cba1e6c53e8fa6845"){return true;} //###455
    if(c=="250cf8b51c773f3f8dc8b4be867a9a02"){return true;} //###456
    if(c=="42998cf32d552343bc8e460416382dca"){return true;} //###457
    if(c=="0353ab4cbed5beae847a7ff6e220b5cf"){return true;} //###461
    if(c=="51d92be1c60d1db1d2e5e7a07da55b26"){return true;} //###462
    if(c=="428fca9bc1921c25c5121f9da7815cde"){return true;} //###463
    if(c=="f1b6f2857fb6d44dd73c7041e0aa0f19"){return true;} //###464
    if(c=="68ce199ec2c5517597ce0a4d89620f55"){return true;} //###465
    if(c=="e836d813fd184325132fca8edcdfb40e"){return true;} //###466
    if(c=="ab817c9349cf9c4f6877e1894a1faa00"){return true;} //###467
    if(c=="8e6b42f1644ecb1327dc03ab345e618b"){return true;} //###471
    if(c=="ef575e8837d065a1683c022d2077d342"){return true;} //###472
    if(c=="2050e03ca119580f74cca14cc6e97462"){return true;} //###473
    if(c=="25ddc0f8c9d3e22e03d3076f98d83cb2"){return true;} //###474
    if(c=="5ef0b4eba35ab2d6180b0bca7e46b6f9"){return true;} //###475
    if(c=="598b3e71ec378bd83e0a727608b5db01"){return true;} //###476
    if(c=="74071a673307ca7459bcf75fbd024e09"){return true;} //###477
    }

    if(b=="69691c7bdcc3ce6d5d8a1361f22d04ac") { //###M
    if(c=="2bb232c0b13c774965ef8558f0fbd615") {return true;} //###523
    if(c=="ba2fd310dcaa8781a9a652a31baf3c68") {return true;} //###524
    if(c=="69421f032498c97020180038fddb8e24") {return true;} //###525
    if(c=="85422afb467e9456013a2a51d4dff702") {return true;} //###526
    if(c=="13f320e7b5ead1024ac95c3b208610db") {return true;} //###527
    }
    //###
            window.location="rcrb2.html";
            return false;


Log in to reply
 

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