Skip to content

Commit

Permalink
Land #476, add empty alt tag
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Jan 30, 2022
2 parents 6acbbd8 + e9fd33e commit 2fdc70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion king_phisher/client/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def render_message_template(template, config, target=None, analyze=False):
template_vars['webserver'] = webserver_url.netloc
tracking_url = urllib.parse.urlunparse((webserver_url.scheme, webserver_url.netloc, tracking_image, '', 'id=' + target.uid, ''))
webserver_url = urllib.parse.urlunparse((webserver_url.scheme, webserver_url.netloc, webserver_url.path, '', '', ''))
template_vars['tracking_dot_image_tag'] = "<img src=\"{0}\" style=\"display:none\" />".format(tracking_url)
template_vars['tracking_dot_image_tag'] = "<img src=\"{0}\" style=\"display:none\" alt=\"\" />".format(tracking_url)

template_vars_url = {}
template_vars_url['rickroll'] = 'http://www.youtube.com/watch?v=oHg5SJYRHA0'
Expand Down

1 comment on commit 2fdc70e

@Praize1636321
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

king_phisher/client/mailer.py

Please sign in to comment.