Esempio n. 1
0
File: mac.py Progetto: weisst/w3af
#    Remember to use http://www.macports.org/ports.php to search for packages
#
SYSTEM_PACKAGES = {
    'PIP': ['py27-pip'],
    # Python port includes the dev headers
    'C_BUILD':
    ['python27', 'py27-setuptools', 'gcc48', 'autoconf', 'automake'],
    'GIT': ['git-core'],
    'SCAPY': ['py27-pcapy', 'py27-libdnet'],
}
PIP_CMD = 'pip-2.7'

PHPLY_GIT = 'git+git://github.com/ramen/phply.git#egg=phply'

PIP_PACKAGES = [
    PIPDependency('clamd', 'clamd'),
    PIPDependency('github', 'PyGithub'),
    PIPDependency('git.util', 'GitPython', SYSTEM_PACKAGES['GIT']),
    PIPDependency('pybloomfilter', 'pybloomfiltermmap',
                  SYSTEM_PACKAGES['C_BUILD']),
    PIPDependency('esmre', 'esmre'),
    PIPDependency('phply', PHPLY_GIT, is_git=True),
    PIPDependency('sqlite3', 'pysqlite'),
    PIPDependency('nltk', 'nltk'),
    PIPDependency('chardet', 'chardet'),
    PIPDependency('pdfminer', 'pdfminer'),
    PIPDependency('concurrent.futures', 'futures'),
    PIPDependency('OpenSSL', 'pyOpenSSL'),
    # http://lxml.de/installation.html
    PIPDependency('lxml', 'lxml'),
    PIPDependency('scapy.config', 'scapy-real', SYSTEM_PACKAGES['SCAPY']),
Esempio n. 2
0
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.

w3af is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with w3af; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

'''
from core.controllers.dependency_check.pip_dependency import PIPDependency
from core.controllers.dependency_check.platforms.openbsd import (
    SYSTEM_NAME, PKG_MANAGER_CMD, SYSTEM_PACKAGES, PIP_CMD, PHPLY_GIT,
    PIP_PACKAGES, os_package_is_installed, after_hook)

# I imported the information from the core, now I need to append the GUI
# requirements to those lists!

PIP_PACKAGES.extend([
    PIPDependency('xdot', 'xdot'),
])

SYSTEM_PACKAGES['GRAPHVIZ'] = ['graphviz']
SYSTEM_PACKAGES['GTK'] = [
    'gtksourceview',
]
Esempio n. 3
0
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.

w3af is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with w3af; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

'''
from core.controllers.dependency_check.pip_dependency import PIPDependency
from core.controllers.dependency_check.platforms.suse import (SYSTEM_NAME,
                                                               PKG_MANAGER_CMD,
                                                               SYSTEM_PACKAGES,
                                                               PIP_CMD,
                                                               PHPLY_GIT,
                                                               PIP_PACKAGES,
                                                               os_package_is_installed,
                                                               after_hook)

# I imported the information from the core, now I need to append the GUI
# requirements to those lists!

PIP_PACKAGES.extend([PIPDependency('xdot', 'xdot'),])

SYSTEM_PACKAGES['GRAPHVIZ'] = ['graphviz']
SYSTEM_PACKAGES['GTK'] = ['python-gtksourceview', 'python-gtk']