Skip to content

Commit

Permalink
Merge pull request #15 from 4ARMED/dom-vs-source
Browse files Browse the repository at this point in the history
return DOM via JavaScript rather than source of page
  • Loading branch information
marcwickenden authored May 24, 2024
2 parents 24fdbec + fee9792 commit bde9269
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 bde9269

Please sign in to comment.