mirror of https://github.com/lanjelot/patator
Prepare package to release on pypi
For convenienc installation prepare setup.py to be able to install patator using pip. Also tell how to install in on Kali with deb package dependenciespull/76/head
parent
ec605efaef
commit
7be8263038
@ -0,0 +1,21 @@
|
||||
.Python
|
||||
env/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
@ -0,0 +1 @@
|
||||
include *.md
|
@ -0,0 +1,20 @@
|
||||
ajpy==0.0.1
|
||||
cx_Oracle
|
||||
dnspython==1.15.0
|
||||
impacket==0.9.12
|
||||
IPy==0.75
|
||||
# multiprocessing is not working on python3.5
|
||||
multiprocessing
|
||||
# mysql-python doesn't appear very maintains anymore
|
||||
# needs some patch to install with python3.5
|
||||
# also may require install mysql on the machine?
|
||||
# find a nice way to do
|
||||
# mysql-python
|
||||
paramiko==1.7.7.1
|
||||
psycopg2
|
||||
pycrypto
|
||||
pycurl
|
||||
pyopenssl
|
||||
pysnmp==4.2.1
|
||||
# pysqlcipher is not working on python3.5
|
||||
pysqlcipher
|
@ -0,0 +1,94 @@
|
||||
import io
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
def parse_requirements(file):
|
||||
required = []
|
||||
with open(file) as f:
|
||||
for req in f.read().splitlines():
|
||||
if not req.strip().startswith('#'):
|
||||
required.append(req)
|
||||
return required
|
||||
|
||||
|
||||
def read(*args, **kwargs):
|
||||
encoding = kwargs.get('encoding', 'utf-8')
|
||||
sep = kwargs.get('sep', '\n')
|
||||
buf = []
|
||||
for filename in args:
|
||||
with io.open(filename, encoding=encoding) as f:
|
||||
buf.append(f.read())
|
||||
return sep.join(buf)
|
||||
|
||||
|
||||
requirements = parse_requirements('requirements.txt')
|
||||
long_description = read('README.md', )
|
||||
|
||||
|
||||
setup(
|
||||
name="patator",
|
||||
version="0.7-beta",
|
||||
packages=find_packages(),
|
||||
install_requires=requirements,
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: System Administrators',
|
||||
'Intended Audience :: Information Technology',
|
||||
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Operating System :: Microsoft :: Windows',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Topic :: Utilities',
|
||||
'Topic :: Security',
|
||||
],
|
||||
|
||||
|
||||
# metadata for upload to PyPI
|
||||
author="Sebastien Macke",
|
||||
author_email="pastor@hsc.fr",
|
||||
description="A multi-threaded brute-force tool",
|
||||
long_description=long_description,
|
||||
license="GPLv2",
|
||||
keywords="pentest brute force penetration test security",
|
||||
url="https://github.com/lanjelot/patator",
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'ftp_login=patator:main',
|
||||
'ssh_login=patator:main',
|
||||
'telnet_login=patator:main',
|
||||
'smtp_login=patator:main',
|
||||
'smtp_vrfy=patator:main',
|
||||
'smtp_rcpt=patator:main',
|
||||
'finger_lookup=patator:main',
|
||||
'http_fuzz=patator:main',
|
||||
'ajp_fuzz=patator:main',
|
||||
'pop_login=patator:main',
|
||||
'pop_passd=patator:main',
|
||||
'imap_login=patator:main',
|
||||
'ldap_login=patator:main',
|
||||
'smb_login=patator:main',
|
||||
'smb_lookupsid=patator:main',
|
||||
'rlogin_login=patator:main',
|
||||
'vmauthd_login=patator:main',
|
||||
'mssql_login=patator:main',
|
||||
'oracle_login=patator:main',
|
||||
'mysql_login=patator:main',
|
||||
'mysql_query=patator:main',
|
||||
'rdp_login=patator:main',
|
||||
'pgsql_login=patator:main',
|
||||
'vnc_login=patator:main',
|
||||
'dns_forward=patator:main',
|
||||
'dns_reverse=patator:main',
|
||||
'snmp_login=patator:main',
|
||||
'ike_enum=patator:main',
|
||||
'unzip_pass=patator:main',
|
||||
'keystore_pass=patator:main',
|
||||
'sqlcipher_pass=patator:main',
|
||||
'umbraco_crack=patator:main',
|
||||
'tcp_fuzz=patator:main',
|
||||
'dummy_test=patator:main',
|
||||
],
|
||||
},
|
||||
)
|
Loading…
Reference in New Issue