diff options
author | 2015-05-12 12:22:20 +0200 | |
---|---|---|
committer | 2015-05-12 12:22:20 +0200 | |
commit | 906bb7c1ecc5c34aa93148894eef763f27eba98e (patch) | |
tree | 2f09a639cdd9e414e8f165a667c71a837288d4de /pyload/remote/ClickNLoadBackend.py | |
parent | Revert damaged logo.png (diff) | |
download | pyload-906bb7c1ecc5c34aa93148894eef763f27eba98e.tar.xz |
Other import fixes
Diffstat (limited to 'pyload/remote/ClickNLoadBackend.py')
-rw-r--r-- | pyload/remote/ClickNLoadBackend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/remote/ClickNLoadBackend.py b/pyload/remote/ClickNLoadBackend.py index d9db5b845..99571fe8b 100644 --- a/pyload/remote/ClickNLoadBackend.py +++ b/pyload/remote/ClickNLoadBackend.py @@ -2,12 +2,12 @@ # @author: RaNaN import base64 +import binascii import re import urllib from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler from cgi import FieldStorage -from binascii import unhexlify try: from Crypto.Cipher import AES @@ -134,7 +134,7 @@ class CNLHandler(BaseHTTPRequestHandler): crypted = base64.standard_b64decode(urllib.unquote(crypted.replace(" ", "+"))) jk = "%s f()" % jk jk = js.eval(jk) - Key = unhexlify(jk) + Key = binascii.unhexlify(jk) IV = Key obj = AES.new(Key, AES.MODE_CBC, IV) |