Skip to content

jeonglee/Libinjection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Libinjection - Java

This is a porting of the SQLi detection tool libinjection to Java.

public class Main {

    public static void main(String[] args) {
        /* test a string */
        Libinjection a = new Libinjection();
        boolean issqli = a.libinjection_sqli("admin' OR 1=1--");
        System.out.println(issqli); 

        /* test a file and output its results to another file, with options to urldecode and time (in milliseconds) */  
        Test t = new Test();
        t.testfile("data/sqli.txt", "data/resultsfile", true, false);
    }
}

So far it's been tested on around 85,000 SQLi input collected from the original libinjection library here, with results matching those of the original libinjection. Speed-wise similar to the original project (performance climbs as JVM optimizes).

This project was developed at Qubit Security Inc.

About

Libinjection in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages