Skip to content

Commit

Permalink
Merge pull request #1073 from mnmustafa1109/patch-2
Browse files Browse the repository at this point in the history
Fixed updated urllib syntax for python 3
  • Loading branch information
HackingDave authored May 24, 2024
2 parents 3611133 + 137722f commit 5a2eaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webattack/tabnabbing/tabnabbing.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

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()
Expand Down

0 comments on commit 5a2eaaa

Please sign in to comment.