diff --git a/src/webattack/tabnabbing/tabnabbing.py b/src/webattack/tabnabbing/tabnabbing.py index 4f817dcaf..ddd587fcc 100644 --- a/src/webattack/tabnabbing/tabnabbing.py +++ b/src/webattack/tabnabbing/tabnabbing.py @@ -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()