Skip to content

Commit

Permalink
Update modules.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sAjibuu committed Mar 27, 2024
1 parent 905d430 commit af5720e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def svg_xss(request_file, options, allowed_extension, function_number, total_fun
with open("assets/samples/svg_xss.svg", 'r') as file:
file_data = file.read()

xss_payload = "<script type=\"text/javascript\">alert(\"document.domain\");</script>" # XSS payload to check in the response
xss_payload = "<script type=\"text/javascript\">alert(document.domain);</script>" # XSS payload to check in the response
skip_module = True # Do not exit when a successful upload is occurred
headers, upload_status, response, url, _, current_time, user_options = file_upload(request_file, file_name,
file_extension, options,
Expand Down

0 comments on commit af5720e

Please sign in to comment.