a python package to use Random Forest module to detect XSS.
Project description
RandomForest
RandomForest module for detecting xss payload
make sure to install DataProcess in the same project path
#train the mode:
train(X_train,Y_train)
#load the saved model
loadfile()
#detect the user input:
detect_userinput(USER_INPUT_VALUE,rfmodel)
#if return value equals 0, it means this is a XSS attack payload
#if return value equals 1, it means this is a benign user input
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
RFDetect-0.0.2.tar.gz
(6.8 MB
view details)
File details
Details for the file RFDetect-0.0.2.tar.gz.
File metadata
- Download URL: RFDetect-0.0.2.tar.gz
- Upload date:
- Size: 6.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c91f839683f0d69be91d11745203ccba7b6cf328e71164dead07aac7d110b43
|
|
| MD5 |
b59b3af3af2a062c5f28d0e04e2fb5c2
|
|
| BLAKE2b-256 |
26f9134bd884c9558af1b3904ff9918409c9a68e10bd265b00810da3375358fd
|