Skip to content

Commit

Permalink
return DOM via JavaScript rather than source of page
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed May 24, 2024
1 parent 24fdbec commit fee9792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sricheck/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.9.0"
__version__ = "1.10.0"
2 changes: 1 addition & 1 deletion sricheck/sricheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def interceptor(request):

browser.request_interceptor = interceptor
browser.get(self.url)
return browser.page_source
return browser.execute_script("return document.documentElement.outerHTML;")
else:
# file deepcode ignore Ssrf: The purpose of the script is to parse remote URLs from the CLI

Expand Down

0 comments on commit fee9792

Please sign in to comment.