2018-04-25 04:26:04 +00:00
|
|
|
import os
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2022-10-27 07:13:30 +00:00
|
|
|
version = '0.1.2'
|
2018-04-25 04:26:04 +00:00
|
|
|
package_name = "dllhook"
|
|
|
|
package_description = """
|
|
|
|
Hook x86 dll or executable instruction with python script injecting embedded python interpreter.
|
|
|
|
""".strip()
|
|
|
|
|
|
|
|
packages = find_packages()
|
2022-10-27 07:13:30 +00:00
|
|
|
install_requires = ['boltons', 'cffi', 'six', 'capstone']
|
2018-04-25 04:26:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
def package_files(directory):
|
|
|
|
paths = []
|
|
|
|
for (path, directories, filenames) in os.walk(directory):
|
|
|
|
for filename in filenames:
|
|
|
|
paths.append(os.path.join("..", path, filename))
|
|
|
|
return paths
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=package_name,
|
|
|
|
version=version,
|
|
|
|
description=package_description,
|
|
|
|
packages=packages,
|
2022-10-27 00:40:49 +00:00
|
|
|
package_data={'dllhook': package_files('dllhook/mayhem')},
|
2018-04-25 04:26:04 +00:00
|
|
|
license="GPLv3",
|
2022-10-27 07:13:30 +00:00
|
|
|
author="Bumsu Hyeon",
|
2018-04-25 04:26:04 +00:00
|
|
|
author_email="ksitht@gmail.com",
|
|
|
|
install_requires=install_requires,
|
|
|
|
classifiers=[
|
|
|
|
'Topic :: Security',
|
|
|
|
'Environment :: Console',
|
|
|
|
'Operating System :: Microsoft :: Windows',
|
|
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Intended Audience :: Developers'
|
|
|
|
],
|
|
|
|
url='https://github.com/cosine0/dllhook'
|
|
|
|
)
|