forked from skelsec/pypykatz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (59 loc) · 1.6 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from setuptools import setup, find_packages
import re
import platform
VERSIONFILE="pypykatz/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
ep = {
'console_scripts': [
'pypykatz = pypykatz.__main__:main',
],
}
setup(
# Application name:
name="pypykatz",
# Version number (initial):
version=verstr,
# Application author details:
author="Tamas Jos",
author_email="[email protected]",
# Packages
packages=find_packages(exclude=["tests*"]),
# Include additional files into the package
include_package_data=True,
# Details
url="https://github.com/skelsec/pypykatz",
zip_safe = True,
#
# license="LICENSE.txt",
description="Python implementation of Mimikatz",
# long_description=open("README.txt").read(),
python_requires='>=3.6',
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
'unicrypto>=0.0.10,<=0.1.0',
'minidump>=0.0.21,<=0.1.0',
'minikerberos>=0.4.1,<=0.5.0',
'aiowinreg>=0.0.11,<=0.1.0',
'msldap>=0.5.7,<=0.6.0',
'winacl>=0.1.9,<=0.2.0',
'aiosmb>=0.4.8,<=0.5.0',
'aesedb>=0.1.4,<=0.2.0',
'tqdm',
],
# No more conveinent .exe entry point thanks to some idiot who
# used the code without modification in a state-backed trojan.
# Thank you for runing it for everyone.
#
#
entry_points=ep if platform.system().lower() != 'windows' else {}
)