A library used to stop your website from being attacked.
Project description
xss-shield
xss-shield is a python library which is used to stop your website from being attacked.
Installing
Type command:
$ pip install xss-shield
Usage
example:
import xss_shield
unsafe_str = '<script>alert("Bad.");</script>'
safe_str = xss_shield.escape(unsafe_str)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xss_shield-0.0.3.tar.gz
(11.8 kB
view hashes)
Built Distribution
xss_shield-0.0.3-py3-none-any.whl
(11.0 kB
view hashes)
Close
Hashes for xss_shield-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d99b1c6e0277e91ad797847fc211c1cb9c1d1cc90400fb32c344ec1e009645 |
|
MD5 | 734d18fc591f2a5537f248a821c555bd |
|
BLAKE2b-256 | 0b8d9346904da88fbdf64274017e47c0ce2a193b0154d88abe657ef2408623d5 |