A library used to stop your website from being attacked.
Project description
xss-shield
A Python library to prevent 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.1.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for xss_shield-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41642df88bccb011285cc77922e4dc15a1fdf461c307417625f8dff692f8c91c |
|
MD5 | 7280df7c281e2eac62505ed75a93784d |
|
BLAKE2b-256 | 2a5fed0f87f3b77a98194a4c71132bd2039e9e818737ff64e5166e3517107ebf |