mirror of
https://github.com/couchfault/sslstrip2.git
synced 2025-10-29 16:56:59 +00:00
Back to some static subs
This commit is contained in:
parent
e8456c5f5a
commit
d6434091b5
@ -25,6 +25,18 @@ class URLMonitor:
|
|||||||
self.strippedURLs = set()
|
self.strippedURLs = set()
|
||||||
self.strippedURLPorts = {}
|
self.strippedURLPorts = {}
|
||||||
self.faviconReplacement = False
|
self.faviconReplacement = False
|
||||||
|
self.sustitucion["mail.google.com"] = "gmail.google.com"
|
||||||
|
self.real["gmail.google.com"] = "mail.google.com"
|
||||||
|
|
||||||
|
self.sustitucion["www.facebook.com"] = "social.facebook.com"
|
||||||
|
self.real["social.facebook.com"] = "www.facebook.com"
|
||||||
|
|
||||||
|
self.sustitucion["accounts.google.com"] = "cuentas.google.com"
|
||||||
|
self.real["cuentas.google.com"] = "accounts.google.com"
|
||||||
|
|
||||||
|
self.sustitucion["accounts.google.es"] = "cuentas.google.es"
|
||||||
|
self.real["cuentas.google.es"] = "accounts.google.es"
|
||||||
|
|
||||||
|
|
||||||
def isSecureLink(self, client, url):
|
def isSecureLink(self, client, url):
|
||||||
for expression in URLMonitor.javascriptTrickery:
|
for expression in URLMonitor.javascriptTrickery:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user