forked from allfro/sploitego
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·57 lines (48 loc) · 1.43 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
# !/usr/bin/env python
import sys
import os
sys.path.insert(0, 'src')
import sploitego
from setuptools import setup, find_packages, os
scripts = [
'src/scripts/qtmsfconsole'
]
if os.name == 'nt':
scripts += ['%s.bat' % s for s in scripts]
setup(
name='sploitego',
author='Nadeem Douba',
version=sploitego.__version__,
author_email='[email protected]',
description='Penetration testing transforms for Maltego.',
license='GPL',
packages=find_packages('src'),
package_dir={'': 'src'},
scripts=scripts,
zip_safe=False,
package_data={
'': ['*.gif', '*.png', '*.conf', '*.mtz', '*.machine']
},
install_requires=[
'scapy==2.1.0',
'pynessusrpc',
'pyiptools',
'pymetasploit',
'canari',
'dnspython',
'lxml'
],
dependency_links=[
'http://www.secdev.org/projects/scapy/files/'
]
)
try:
print 'Detecting PySide installation...'
import PySide
print 'PySide is installed, no further action required.'
except ImportError:
print 'PySide not detected. Opening browser to PySide download page ' \
'(http://qt-project.org/wiki/Category:LanguageBindings::PySide::Downloads)'
import webbrowser
webbrowser.open_new('http://qt-project.org/wiki/Category:LanguageBindings::PySide::Downloads')
print "Please install and configure metasploit and postgresql (for msf db) if you haven't done so already."