Files
fortra-impacket/setup.py
asolino 5c64e6c81e Adding plugin support for SOCKS functionality
- There a base class called SocksRelay that should be used as base class for SOCKS protocol plugins
- Any new plugin should be added to the impacket/examples/ntlmrelayx/servers/socksplugins directory
- These plugins will be automatically loaded when the SOCKS proxy is loaded.
- The idea is to add SockRelay plugins for any protocol we want (e.g. MSSQL, LDAP, HTTP, etc)
- Lots of testing needed.
2017-07-29 02:39:38 -03:00

39 lines
1.9 KiB
Python

#!/usr/bin/env python
# $Id$
import glob
import os
import platform
from distutils.core import setup
PACKAGE_NAME = "impacket"
setup_requires = ['pycrypto (>=2.6)', 'pyasn1 (>=0.1.8)']
if platform.system() == 'Windows':
setup_requires.append('pyreadline')
setup(name = PACKAGE_NAME,
version = "0.9.16-dev",
description = "Network protocols Constructors and Dissectors",
url = "https://www.coresecurity.com/corelabs-research/open-source-tools/impacket",
author = "Core Security Technologies",
author_email = "oss@coresecurity.com",
maintainer = "Alberto Solino",
maintainer_email = "bethus@gmail.com",
license = "Apache modified",
long_description = 'Impacket is a collection of Python classes focused on providing access to network packets. Impacket allows Python developers to craft and decode network packets in simple and consistent manner.',
platforms = ["Unix","Windows"],
packages=['impacket', 'impacket.dcerpc', 'impacket.examples', 'impacket.dcerpc.v5', 'impacket.dcerpc.v5.dcom',
'impacket.krb5', 'impacket.ldap', 'impacket.examples.ntlmrelayx',
'impacket.examples.ntlmrelayx.clients', 'impacket.examples.ntlmrelayx.servers',
'impacket.examples.ntlmrelayx.servers.socksplugins', 'impacket.examples.ntlmrelayx.utils'],
scripts = glob.glob(os.path.join('examples', '*.py')),
data_files = [(os.path.join('share', 'doc', PACKAGE_NAME), ['README.md', 'LICENSE']+glob.glob('doc/*')),
(os.path.join('share', 'doc', PACKAGE_NAME, 'testcases', 'dot11'),glob.glob('impacket/testcases/dot11/*')),
(os.path.join('share', 'doc', PACKAGE_NAME, 'testcases', 'ImpactPacket'),glob.glob('impacket/testcases/ImpactPacket/*')),
(os.path.join('share', 'doc', PACKAGE_NAME, 'testcases', 'SMB_RPC'),glob.glob('impacket/testcases/SMB_RPC/*'))],
requires=setup_requires,
)