Skip to content

Commit 5a2eaaa

Browse files
authored
Merge pull request #1073 from mnmustafa1109/patch-2
Fixed updated urllib syntax for python 3
2 parents 3611133 + 137722f commit 5a2eaaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webattack/tabnabbing/tabnabbing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
if attack_vector == "tabnabbing":
6464
# grab favicon
65-
favicon = urllib.urlopen("%s/favicon.ico" % (URL))
65+
favicon = urllib.request.urlopen("%s/favicon.ico" % (URL))
6666
output = open(userconfigpath + '/web_clone/favicon.ico', 'wb')
6767
output.write(favicon.read())
6868
output.close()

0 commit comments

Comments
 (0)