Skip to content

jeonglee/Libinjection

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

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

No packages published

Languages