diff options
author | 2015-12-18 06:09:04 +0100 | |
---|---|---|
committer | 2015-12-27 22:37:54 +0100 | |
commit | 58125cc90a78b67093b8213247ea647dd67dd9ca (patch) | |
tree | 69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/crypter/FilecryptCc.py | |
parent | [OCR] self.image -> self.img (diff) | |
download | pyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz |
Spare code fixes
Diffstat (limited to 'module/plugins/crypter/FilecryptCc.py')
-rw-r--r-- | module/plugins/crypter/FilecryptCc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py index 4a9328593..c2fca1ab4 100644 --- a/module/plugins/crypter/FilecryptCc.py +++ b/module/plugins/crypter/FilecryptCc.py @@ -123,6 +123,7 @@ class FilecryptCc(Crypter): captcha_key = solvemedia.detect_key() if captcha_key: + self.captcha = solvemedia response, challenge = solvemedia.challenge(captcha_key) self.site_with_links = self.load(self.pyfile.url, post={'adcopy_response' : response, @@ -134,9 +135,11 @@ class FilecryptCc(Crypter): else: recaptcha = ReCaptcha(self) - captcha_key = recaptcha.detect_key() + captcha_key = self.captcha.detect_key() if captcha_key: + self.captcha = recaptcha + try: response, challenge = recaptcha.challenge(captcha_key) |