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.1.tar.gz
(12.9 kB
view hashes)
Built Distribution
xss_shield-0.1.1-py3-none-any.whl
(11.0 kB
view hashes)
Close
Hashes for xss_shield-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56155e5fdd99797389c5f3632aa1173530f40477f88dbf2e88a986d12e04e8e4 |
|
MD5 | 98d721251b7796db6c37b75daf4d39d7 |
|
BLAKE2b-256 | 7de0e063786541bf2aaf80df615913f9b8097192ee42d00415d7507fead12abe |