SlowAES decrypt... big headache! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: SlowAES decrypt... big headache! (/showthread.php?tid=157259) |
SlowAES decrypt... big headache! - fightnight - 2013-02-23 Hi. I'm tring to scrape one page, but now it uses slowaes encryption. Code: www.zuuk.net/sporttv_2.php?width=768&height=432 PHP Code: <html><head><title>-></title><script type="text/javascript" src="/aes.php" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("6c3b8829103d7beff94ee0bb1a79cfb1"),b=toNumbers("7331be2dc104b224dd81b6b9fa1e458b"),c=toNumbers("e02042bac72a15a4982278261f1f1b4e");document.cookie="TXC="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/";location.href="http://www.zuuk.net/sporttv_2.php?width=768&height=432&ckattempt=1";</script></head><body></body></html> I tried many ways but couldn't do it Tried this but something must be wrong with my code: Code: http://code.google.com/p/slowaes/source/browse/trunk/python/aes.py Help please :S RE: SlowAES decrypt... big headache! - enen92 - 2013-02-23 And if u do somekind of "by-pass" to an online tool such as this one; http://www.everpassword.com/aes-encryptor RE: SlowAES decrypt... big headache! - fightnight - 2013-02-23 Decrypt the final aes is easier. I don't understand the final toHex function. |