mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-02-16 13:28:36 +00:00
Merge pull request #1073 from mnmustafa1109/patch-2
Fixed updated urllib syntax for python 3
This commit is contained in:
commit
5a2eaaa393
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue