Skip to content

Ezzer17/libinjection-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libinjection-python

Libinjection-python is a wrapper based on Cython for the Libinjection library.

Libinjection Version: v3.10.0(Released on 22 May 2017)

Requirements

  • Python 2.7 or 3.4+
  • Cython module (install via pip)

Installation

pip install libinjection-python

Usage

  • Check for SQL Injection

    >> import libinjection
    >> libinjection.is_sql_injection("http://testphp.vulnweb.com/main.php?SmallClass=' union select * from news where 1=2 and ''='")
    {'is_sqli': True, 'fingerprint': 'sUEok'}
    
  • Check for Cross Site Scripting

    >> import libinjection
    >> libinjection.is_xss("http://testphp.vulnweb.com/index.php?name=guest<script>alert('attacked')</script>")
    True
    

License

Copyright (c) 2018 wzhvictor

Licensed under the GNU General Public License v3.

image

About

Libinjection Python Wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.7%
  • Python 15.9%
  • Makefile 1.1%
  • Shell 0.3%