From 58125cc90a78b67093b8213247ea647dd67dd9ca Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 18 Dec 2015 06:09:04 +0100 Subject: Spare code fixes --- module/plugins/crypter/FilecryptCc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/plugins/crypter/FilecryptCc.py') 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) -- cgit v1.2.3