websecurity

This commit is contained in:
bt3gl 2014-11-20 10:08:32 -05:00
parent c8705de960
commit e36532ca5e

View file

@ -260,8 +260,8 @@ Set-Cookie: SID=472ndsw;expires=DATE;path=/;domain=SITE,HttpOnly
----- -----
## Tools ## Tools
- [Burp Suite] - Burp Suite
- [FireBug] in Firefox - FireBug] in Firefox
---- ----
@ -390,6 +390,7 @@ $string = "<script>alert('XSS');</script>";
$string = mb_convert_encoding($string, 'UTF-7'); $string = mb_convert_encoding($string, 'UTF-7');
echo htmlentities($string); echo htmlentities($string);
?> ?>
```
### XSS Defenses ### XSS Defenses