Saturday, May 09, 2026 AM03:21:24 HKT
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
"""
|
||||
libinjection module for python
|
||||
|
||||
Copyright 2012, 2013, 2014 Nick Galbreath
|
||||
nickg@client9.com
|
||||
BSD License -- see COPYING.txt for details
|
||||
"""
|
||||
try:
|
||||
from setuptools import setup, Extension
|
||||
except ImportError:
|
||||
from distutils.core import setup, Extension
|
||||
|
||||
MODULE = Extension(
|
||||
'_libinjection', [
|
||||
'libinjection/libinjection_wrap.c',
|
||||
'libinjection/libinjection_sqli.c',
|
||||
'libinjection/libinjection_html5.c',
|
||||
'libinjection/libinjection_xss.c'
|
||||
],
|
||||
swig_opts=['-Wextra', '-builtin'],
|
||||
define_macros = [],
|
||||
include_dirs = [],
|
||||
libraries = [],
|
||||
library_dirs = [],
|
||||
)
|
||||
|
||||
setup (
|
||||
name = 'libinjection',
|
||||
version = '3.9.1',
|
||||
description = 'Wrapper around libinjection c-code to detect sqli',
|
||||
author = 'Nick Galbreath',
|
||||
author_email = 'nickg@client9.com',
|
||||
url = 'https://libinjection.client9.com/',
|
||||
ext_modules = [MODULE],
|
||||
packages = ['libinjection'],
|
||||
long_description = '''
|
||||
wrapper around libinjection
|
||||
''',
|
||||
classifiers = [
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Topic :: Database',
|
||||
'Topic :: Security',
|
||||
'Operating System :: OS Independent',
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Topic :: Internet :: Log Analysis',
|
||||
'Topic :: Internet :: WWW/HTTP'
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user