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