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 hashes)