From 563d46362ccdb82f182c82bb4f08cf440e2b3fd0 Mon Sep 17 00:00:00 2001 From: GamaC0de Date: Tue, 22 Mar 2016 02:44:40 +0200 Subject: [CryptCat] Update --- module/plugins/crypter/CryptCat.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'module') diff --git a/module/plugins/crypter/CryptCat.py b/module/plugins/crypter/CryptCat.py index 737592b18..5970b32e5 100644 --- a/module/plugins/crypter/CryptCat.py +++ b/module/plugins/crypter/CryptCat.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter class CryptCat(SimpleCrypter): __name__ = "CryptCat" __type__ = "crypter" - __version__ = "0.01" + __version__ = "0.02" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?crypt\.cat/\w+' @@ -28,29 +28,30 @@ class CryptCat(SimpleCrypter): def get_links(self): - url = self.req.http.lastEffectiveURL + baseurl = self.req.http.lastEffectiveURL + url, inputs = self.parse_html_form() + if ">Enter your password.<" in self.data: password = self.get_password() if not password: self.fail(_("Password required")) - post_data = {'Pass1' : password, - 'Submit0' : "" } + inputs['Pass1'] = password elif "Enter Captcha" in self.data: m = re.search(r'