Merge pull request #1073 from mnmustafa1109/patch-2

Fixed updated urllib syntax for python 3
This commit is contained in:
David Kennedy 2024-05-24 09:52:34 -04:00 committed by GitHub
commit 5a2eaaa393
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@ filewrite.close()
if attack_vector == "tabnabbing":
# grab favicon
favicon = urllib.urlopen("%s/favicon.ico" % (URL))
favicon = urllib.request.urlopen("%s/favicon.ico" % (URL))
output = open(userconfigpath + '/web_clone/favicon.ico', 'wb')
output.write(favicon.read())
output.close()