tatanus / SPF

SpeedPhishing Framework
Other
436 stars 134 forks source link

During handling of the above exception, another exception occurred #29

Open chinnidiwakar opened 4 years ago

chinnidiwakar commented 4 years ago

Have this issue while executing SPF in kali 2020.2

[] Starting phishing webserver Traceback (most recent call last): File "/usr/lib/python3.8/sre_parse.py", line 1039, in parse_template [] [VERBOSE] FIXED = [templates/web/juniper_vpn] this = chr(ESCAPES[this][1]) KeyError: '\d'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/SPF/spf/core/../web.py", line 394, in [] [VERBOSE] FIXED = [templates/web/citrix2] PhishingWebServer(Utils.decompressDict(sys.argv[1])).start() File "/root/SPF/spf/core/../web.py", line 300, in start [] [VERBOSE] FIXED = [templates/web/domino] [] [VERBOSE] FIXED = [templates/web/office365] self.phishingsites[key] = PhishingSite(self.config, key, self.websites[key]['path'], self.logpath, "logs/" + self.websites[key]['logfile'], self.db, self.websites[key]['redirecturl']).getResource() File "/root/SPF/spf/core/../web.py", line 162, in init [] [VERBOSE] FIXED = [templates/web/owa] self.resource.putChild(b"index", phishingForm(self.config, self.vhost, self.path, self.logpath, self.logfile, self.db, redirect)) File "/root/SPF/spf/core/../web.py", line 68, in init [] [VERBOSE] FIXED = [templates/web/cisco] self.loadIndex() File "/root/SPF/spf/core/../web.py", line 99, in loadIndex [] [VERBOSE] FIXED = [templates/web/citrix] html = re.sub("", "", html, flags=re.I) [] [VERBOSE] Found the following web sites: [templates/web/juniper_vpn/CONFIG] File "/usr/lib/python3.8/re.py", line 210, in sub [] [VERBOSE] Found the following web sites: [templates/web/citrix2/CONFIG] [] [VERBOSE] Found the following web sites: [templates/web/domino/CONFIG] [] [VERBOSE] Found the following web sites: [templates/web/office365/CONFIG] return _compile(pattern, flags).sub(repl, string, count) File "/usr/lib/python3.8/re.py", line 327, in _subx [] [VERBOSE] Found the following web sites: [templates/web/owa/CONFIG] [] [VERBOSE] Found the following web sites: [templates/web/cisco/CONFIG] [*] [VERBOSE] Found the following web sites: [templates/web/citrix/CONFIG] template = _compile_repl(template, pattern) File "/usr/lib/python3.8/re.py", line 318, in _compile_repl return sre_parse.parse_template(repl, pattern) File "/usr/lib/python3.8/sre_parse.py", line 1042, in parse_template raise s.error('bad escape %s' % this, len(this)) re.error: bad escape \d at position 38