You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nick Galbreath edited this page Nov 29, 2013
·
1 revision
libinjection C API
Main SQLi API
The main API to detect SQLI, is one function. It requires a output buffer of at least 6 character to store the "fingerprint". This example is from: example1.c
#include"libinjection.h"charfingerprint[8];
intissqli=libinjection_sqli(input, slen, fingerprint);
if (issqli) {
printf("sqli with fingerprint of '%s'\n", fingerprint);
} else {
printf("not sqli\n");
}