Files
ML-for-SQL-Injection/ML_for_SQL

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本项目是使用机器学习算法来分类SQL注入语句与正常语句
使用了SVM,Adaboost决策树随机森林逻辑斯蒂回归KNN贝叶斯等算法分别对SQL注入语句与正常语句进行分类。
data是收集的样本数据
file中存放的是训练好的各个模型
featurepossess.py是对原始样本进行预处理提特征。
sqlsvm.py等py文件是训练模型
testsql是对训练好的模型进行测试用准确率来度量模型效果。