Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page