cpp-sql-fuzzer/src at master · M31N99/cpp-sql-fuzzer · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

  1. Run install.sh
  2. Watch output:

SELECT * FROM mysqlErrors ORDER BY id DESC LIMIT 0,10; SELECT * FROM good ORDER BY id DESC LIMIT 0,10;

  1. Calculate libinjection tokens (only if you'd like):
    3.1. Compile and run detect binary: src/example1.c from libinjection repo with only modification:
printf("%s:%d", fingerprint, issqli);

###Compile SQLApi.h version:
Install SQLApi by copying SQLAPI/lib/* to /usr/local/lib/*

> LD_LIBRARY_PATH=/usr/local/lib
> export LD_LIBRARY_PATH

And compile:

g++ main.cpp -I./include -lsqlapi -ldl -o sqlapi_fuzz.out