On Fri, March 9, 2007 5:07 pm, Richard Lynch wrote: > Short Version: > Anybody got a good quick clean hack to "crack" Hive Logic Enkoder? > > CC me off-list on this one, please. Somebody posted that they had no idea what Hive Logic is. It is an email obfuscator which is generated with random permutations of various string manipulation to print out an email in JS, but to have the JS so much like alphabet soup that it defies simple reverse-engineering. So I need a JS interpreter of some kind to "run" the script and print out the email. So far, my attempts to try the Perl -> CPAN -> JavaScript route have failed on "install Bundle::CPAN" with error messages WAY beyond my ken. I'd much rather find a JS interpreter I can bundle into PHP... Anybody? Here is an example of what I'm trying to "crack": http://www.complaints.com/january2002/complaintoftheday.january24.4.htm the email address link comes from this JS: <script type="text/javascript"> /* <![CDATA[ */ function hivelogic_enkoder(){var kode= "kode=\"oked\\\"=')('injo).e(rsvere).''t(lispe.od=kdeko\\\\;k\\\"do=e\\\"\\"+ "\\\\\\\\\\kode\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\)=\\\\;\\\\\\\\\\\\\\\\\\\\"+ "\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\a\\\\<>e/urnmCs\\\\o\\\\\\\\\\\\\\\\\\"+ "\\\\\\>\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\"+ "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\=\\\\\\\\\\\\"+ "\\\\\\\\\\\\l\\\\ie t\\\\t\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\"+ "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\o"+ "\\\\.mrcpre.1le@zohl:etcioml\\\\a\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"+ "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ "\\\\\\f\\\\r= e<h\\\\a\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+ "\\\\e\\\\i(wttre.unom\\\\c\\\\\\\\\\\\\\\\\\\\\\\"d\\\\;kode=kode.split(''"+ ").reverse().join(''\\\\)\\\\\\\";\\\\=x''f;roi(0=i;(<okedl.netg-h)1i;=+)2x"+ "{=+okedc.ahAr(t+i)1k+do.ehcratAi(})okedx=(+<iokedl.netg?hokedc.ahAr(tokedl"+ ".netg-h)1':)'\\\\;=\\\"deko;\\\"okedk=do.epsil(t''.)erevsr(e.)ojni'()'\";x"+ "='';for(i=0;i<(kode.length-1);i+=2){x+=kode.charAt(i+1)+kode.charAt(i)}kod"+ "e=x+(i<kode.length?kode.charAt(kode.length-1):'');" ;var i,c,x;while(eval(kode));}hivelogic_enkoder(); /* ]]> */ </script> I need to restore the email, put it into the DB, and make it impossible for the spammers who DO have Perl::CPAN::JavaScript installed to be web-scraping this guy's email anymore. There are 55,000+ of these documents, some of which have obfuscated emails. Some of which don't. :-( All were created "by hand" in DreamWeaver. I need to get them all into a DB, with the email intact. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php