Fuzz test get sql in given grammar, execute it using mysql client.
Result is not a mysql error or None is a failed test.
- python3
- pip3 install fuzzingbook mysql-connector
- Add new grammar, as a example: select_grammar:Grammar = {}
- Add validate of new grammar, assert is_valid_grammar(select_grammar)
- Add grammar to generator list with fuzz times, generator_list = [...]
- Run fuzz.py