LibInjection – Detect SQL Injection (SQLi) and Cross-Site Scripting (XSS)

Table of Contents

LibInjection is a C library to Detect SQL Injection (SQLi) and Cross-Site Scripting (XSS) through lexical analysis of real-world Attacks.

SQLi and other injection attacks remain the top OWASP and CERT vulnerability. Current detection attempts frequently involve a myriad of regular expressions which are not only brittle and error-prone but also proven by Hanson and Patterson at Black Hat 2005 to never be a complete solution. LibInjection is a new open-source C library that detects SQLi using lexical analysis. With little upfront knowledge of what SQLi is, the algorithm has been trained on tens of thousands of real SQLi attacks and hundreds of millions of user inputs taken from a Top 50 website for high precision and accuracy.

In addition, the algorithm categorizes SQLi attacks and provides templates for new attacks or new fuzzing algorithms.

LibInjection currently supports:

  • C and C++
  • PHP
  • Python
  • Lua
  • Java (external port)
  • [LuaJIT/FFI]

LibInjection is available for integration into applications, web application firewalls, or porting to other programming languages.

You can download LibInjection here:

Or read more here.

Latest Posts

  • Flipkart Interview Experience | On-Campus 2021
    Round 1: Written 3 questions in round 1. Candidates who solved all three questions get shortlisted for the next round. https://www.hackerearth.com/practice/algorithms/graphs/shortest-path-algorithms/practice-problems/algorithm/shortest-path-revisited-9e1091ea/ [slight variation of this] How many students can not get desired scholarship: Given 2 types of scholarship i.e academic and athletic represented by binary codes 0 and 1. You need to design a system in such a way that from available scholarship list items can be deleted or added only from the head of the list and no operation will be carried out from the rear of the list. […]
  • How to display uploaded image in HTML using Javascript
    Looking for a way to display the uploaded image in HTML using Javascript then you are at the right today in this tutorial guide I will show you how to display uploaded image in HTML using Javascript so follow up with me till the end. Python Projects For Class 12 With Source Code   We have to use the HTML file upload input so that users are able to upload images or any type of files. In this tutorial we will just focusing on image input so we just […]
  • How to get multiple checkbox value in javascript with getelementbyid
    Looking for a way to get multiple checkbox value in Javascript with getelementbyid then you are the right place today I will show how to get value from multiple checkboxes in Javascript with getelementbyid so follow up with me till the end. Checkbox is a great way of input which allows users to select something they are used in registration and logins forms below is the code for checkbox input in HTML. Above is the HTML code to create a checkbox in HTML now we want to get the […]
  • Javascript program to find square of a number
    Looking for a way to find the square of a number in Javascript then you are at the right place today I will show you how to create a Javascript program to find square root of a number I will show you all the ways of doing this so follow up with me till the end. So what is a square of a number. In mathematics, a square of a number is the product of a number multiplied by itself. For example square root of 3 is 9 becuase […]
  • Python Program To Add Two Numbers
    Want to know how to add two numbers in python then today I will show you how to create a python program to add two numbers. It is one of the most basic program in python which every beginner should try to create. After reading this python program tutorial you can further create a python calculator program which can calculate numeric values if you want to know how to create a calculator in python then you can read this guide – Making a calculator in python. Python addition program […]
  • What is the correct HTML tag to make a text italic?
    Looking for the HTML tag which makes text italic then you are at the right place I will tell you the correct HTML tag to make a text italic and I will also tell you more additional ways of making a text italic in HTML so follow up with me till the end. There are mainly two ways of making a text italic in HTML and 2 ways are: Making Text Italic Using HTML Tag Making Text Italic Using CSS Properties I will tell you both the ways you […]
  • What is the correct HTML tag for the largest heading?
    As  you have seen in the title I will tell you What is the correct HTML tag for the largest heading or you can say which is the largest heading tag in HTML I will tell you answer to the so follow up with me till the end of this article. If you are complete beginner to HTML then you need to know that there are six heading tags which you can use. You can see below the 6 heading tags. Heading 1 Heading 2 Heading 3 Heading 4 […]
  • What should be the first tag in any HTML document?
    You are a complete beginner to HTML and you are looking answer for the question What should be the first tag in any HTML document? today I will provide you a answer to your question so follow up with me till the end. We will not waste much time but if you have seen the HTML boilerplate code which is there in all HTML documents if you have not below is the the basic HTML boilerplate code which exists in all HTML pages. HTML Boilerplate Hello world As you […]
  • Inside which HTML element to be put the javascript?
    Want to know inside which HTML element to be put the Javascript? you are complete beginner and you don’t know inside which HTML element to put the Javascript code then today I will tell you where to put your Javascript in HTML. Want to write your first Javascript hello world program then you can read this tutorial on writing your first hello world program in Javascript. There are basically 2 ways of adding javascript to your HTML web page is by using: Internal Javascript External Javascript You can use […]
  • How To Display Hyperlinks Without An Underline In HTML
    Looking for a way to remove the underline in hyperlinks in HTML then you are at the right place because today I will show you how to display hyperlinks without an underline in HTML. It is just going to be one line of code which we are going to use it is going to be easy and simple so follow up with me. Display Hyperlinks Without An Underline In HTML As I have said it is very easy to remove the underline from the hyperlink which is automatically generated […]
Share This Post
Share on facebook
Share on twitter
Share on email
Share on whatsapp

Leave a Reply

Subscribe To Our Newsletter

Get updates and learn from the best

Latest Guides & Articles