Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.02 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.02 KB

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