SkillAgentSearch skills...

SQLParser

This is a c++ project to parse the validation of SQL query(SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REPLACE, SHOWTABLESTATUS)

Install / Use

/learn @amyJin/SQLParser
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

The program sqlparser.cpp takes a sql query as input and parses it to decide if the query is malicious or not to protect the database in the back-end.

We are using boost_1_44_0.

To use this SQL parser you will need to have the g++ and boost_1_44_0 installed on your system

Building system:

mkdir build /** create a build directory / cd build cmake .. /* prepration for make / make /* build the system / make install /* create install directory */

The source code is at install/src/sql-parser/src.

The test code is at install/src/test.

Sample command of compilation:

g++ yourFile.cc -I/(location of install dir)/install/include/ -L/(location of install dir)/install/lib/ -lsql-parser

Related Skills

View on GitHub
GitHub Stars6
CategoryData
Updated2y ago
Forks6

Languages

C++

Security Score

55/100

Audited on Feb 24, 2024

No findings