/Web-application-firewall-WAF

Web application firewall(WAF) with Naive bayes classifier

Primary LanguagePython

Web-application-firewall-WAF

This is a Web application firewall(WAF) . Present it use train model for filtering web parameter against the different type of web vulnerability  

Release

Release 1.0:

  • in release 1.0 support supervised machine learning for text classification with the multinomial native bayes algorithm.
  • It support only CVS file as a structured input data for supervised machine learning.
  • It support only CountVectorizer feature engineering.CountVectorizer works on Terms Frequency, i.e. counting the occurrences of tokens and building a sparse matrix of documents x tokens.
  • in release 1.0 it support only sql injection and xss(cross script attack) filter

 

Installation :

Dependencies:

Sapnil machine learning require :

  • Pandas(>=0.24)
  • numpy(>=1.16.5 )
  • nltk(>=3.4.1 )

User installation:

Windows installation

After cloning reprository go to sapnil_machinelearning folder from commad line.Then press the following commad from commad prompt

  • pip install dist/sapnil_machinelearning-1.0.0-py3-none-any.whl