Giter Club home page Giter Club logo

kraken's People

Contributors

sw4mpf0x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kraken's Issues

Scan / Import Hangs

Attempted both a

"Scan". IP's appeared, checked the selection boxes, but nothing appears in inventory although I know there are web hosts in that range.

"Import xml" selected nmap.xml output file. host shows "waiting for Local Host" then after a long time, it just times out from no response. Nothing is added to inventory.

Install did not error... Ideas?

Modify Scan

What file creates the NMAp scan line? I would like to add the -Pn flag. Having issues in my environment when trying to do host discovery before scan.

no such table: auth_user

Environment:

Request Method: POST
Request URL: http://192.168.122.130:8125/Login/

Django Version: 1.10.5
Python Version: 2.7.12
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'Web_Scout',
'Logs']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py" in inner
47. return func(*args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py" in sensitive_post_parameters_wrapper
76. return view(request, *args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
57. response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py" in login
81. if form.is_valid():

File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in is_valid
169. return self.is_bound and not self.errors

File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in errors
161. self.full_clean()

File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in full_clean
371. self._clean_form()

File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in _clean_form
398. cleaned_data = self.clean()

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/forms.py" in clean
191. self.user_cache = authenticate(username=username, password=password)

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/init.py" in authenticate
74. user = backend.authenticate(**credentials)

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/backends.py" in authenticate
17. user = UserModel._default_manager.get_by_natural_key(username)

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/base_user.py" in get_by_natural_key
48. return self.get(**{self.model.USERNAME_FIELD: username})

File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py" in manager_method
85. return getattr(self.get_queryset(), name)(*args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in get
379. num = len(clone)

File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in len
238. self._fetch_all()

File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all
1087. self._result_cache = list(self.iterator())

File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iter
54. results = compiler.execute_sql()

File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql
835. cursor.execute(sql, params)

File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" in execute
79. return super(CursorDebugWrapper, self).execute(sql, params)

File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" in execute
64. return self.cursor.execute(sql, params)

File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py" in exit
94. six.reraise(dj_exc_type, dj_exc_value, traceback)

File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" in execute
64. return self.cursor.execute(sql, params)

File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py" in execute
337. return Database.Cursor.execute(self, query, params)

Exception Type: OperationalError at /Login/
Exception Value: no such table: auth_user

Celery Python Egg errors

Installed using setup.sh, throws this everytime Kraken starts

sudo /usr/bin/Kraken restart
Restarting Kraken.
[ ok ] Stopping rabbitmq-server (via systemctl): rabbitmq-server.service.
celery init v10.1.
Using config script: /etc/default/celeryd
Traceback (most recent call last):
  File "/usr/local/bin/celery", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/celery/__main__.py", line 13, in main
    from celery.bin.celery import main as _main
  File "/usr/local/lib/python2.7/dist-packages/celery/bin/__init__.py", line 2, in <module>
    from .base import Option
  File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 17, in <module>
    from celery import VERSION_BANNER, Celery, maybe_patch_concurrency
  File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 509, in __getattr__
    module = __import__(self._object_origins[name], None, None, [name])
  File "/usr/local/lib/python2.7/dist-packages/celery/app/__init__.py", line 5, in <module>
    from celery import _state
  File "/usr/local/lib/python2.7/dist-packages/celery/_state.py", line 15, in <module>
    from celery.utils.threads import LocalStack
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/__init__.py", line 10, in <module>
    from .nodenames import worker_direct, nodename, nodesplit
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/nodenames.py", line 7, in <module>
    from kombu.entity import Exchange, Queue
  File "/usr/local/lib/python2.7/dist-packages/kombu/entity.py", line 9, in <module>
    from .serialization import prepare_accept_content
  File "/usr/local/lib/python2.7/dist-packages/kombu/serialization.py", line 396, in <module>
    register_msgpack()
  File "/usr/local/lib/python2.7/dist-packages/kombu/serialization.py", line 365, in register_msgpack
    import msgpack
  File "build/bdist.linux-x86_64/egg/msgpack/__init__.py", line 25, in <module>
  File "build/bdist.linux-x86_64/egg/msgpack/_packer.py", line 7, in <module>
  File "build/bdist.linux-x86_64/egg/msgpack/_packer.py", line 4, in __bootstrap__
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1172, in resource_filename
    self, resource_name
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1716, in get_resource_filename
    self._extract_resource(manager, self._eager_to_zip(name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1746, in _extract_resource
    self.egg_name, self._parts(zip_path)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1239, in get_cache_path
    self.extraction_error()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1219, in extraction_error
    raise err
pkg_resources.ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Errno 13] Permission denied: '/home/celery'

The Python egg cache directory is currently set to:

  /home/celery/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

[ ok ] Stopping apache2 (via systemctl): apache2.service.
Kraken stopped.
[ ok ] Starting rabbitmq-server (via systemctl): rabbitmq-server.service.
celery init v10.1.
Using config script: /etc/default/celeryd
Traceback (most recent call last):
  File "/usr/local/bin/celery", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/celery/__main__.py", line 13, in main
    from celery.bin.celery import main as _main
  File "/usr/local/lib/python2.7/dist-packages/celery/bin/__init__.py", line 2, in <module>
    from .base import Option
  File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 17, in <module>
    from celery import VERSION_BANNER, Celery, maybe_patch_concurrency
  File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 509, in __getattr__
    module = __import__(self._object_origins[name], None, None, [name])
  File "/usr/local/lib/python2.7/dist-packages/celery/app/__init__.py", line 5, in <module>
    from celery import _state
  File "/usr/local/lib/python2.7/dist-packages/celery/_state.py", line 15, in <module>
    from celery.utils.threads import LocalStack
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/__init__.py", line 10, in <module>
    from .nodenames import worker_direct, nodename, nodesplit
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/nodenames.py", line 7, in <module>
    from kombu.entity import Exchange, Queue
  File "/usr/local/lib/python2.7/dist-packages/kombu/entity.py", line 9, in <module>
    from .serialization import prepare_accept_content
  File "/usr/local/lib/python2.7/dist-packages/kombu/serialization.py", line 396, in <module>
    register_msgpack()
  File "/usr/local/lib/python2.7/dist-packages/kombu/serialization.py", line 365, in register_msgpack
    import msgpack
  File "build/bdist.linux-x86_64/egg/msgpack/__init__.py", line 25, in <module>
  File "build/bdist.linux-x86_64/egg/msgpack/_packer.py", line 7, in <module>
  File "build/bdist.linux-x86_64/egg/msgpack/_packer.py", line 4, in __bootstrap__
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1172, in resource_filename
    self, resource_name
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1716, in get_resource_filename
    self._extract_resource(manager, self._eager_to_zip(name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1746, in _extract_resource
    self.egg_name, self._parts(zip_path)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1239, in get_cache_path
    self.extraction_error()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1219, in extraction_error
    raise err
pkg_resources.ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Errno 13] Permission denied: '/home/celery'

The Python egg cache directory is currently set to:

  /home/celery/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

[ ok ] Starting apache2 (via systemctl): apache2.service.

Kraken started.
Open a browser and navigate to http://localhost:8000

Any thoughts ? I've set a PYTHON_EGG_CACHE environment variable, but still no joy. There is no /home/celery folder, and not sure what specifically requires it...

ImportError: No module named django.core.management

  1. ImportError: No module named django.core.management

  2. Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-myc5f73v/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-3j0wqqz6-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-myc5f73v/M2Crypto/

ideas for Improvements

Works perfectly fine, wanted to know if it was possible to add subdirectory bruteforcing?

SSL Exceptions

Screenshots using https when there are problems with the certificate (self-signed, expired) are apparently not working. The image that is created is blank.

[2017-02-10 11:41:20,035: WARNING/PoolWorker-1] [+] Got URL: https://192.168.56.104
[2017-02-10 11:41:20,036: WARNING/PoolWorker-1] [+] screenshotName: /opt/Kraken/static/Web_Scout/192-168-56-104-443.png
[2017-02-10 11:41:21,152: WARNING/PoolWorker-1] [+] Getting https://192.168.56.104
[2017-02-10 11:41:21,159: WARNING/PoolWorker-1] [-] SSL Exception forhttps://192.168.56.104
[2017-02-10 11:41:21,159: WARNING/PoolWorker-1] [+] Got response for https://192.168.56.104
[2017-02-10 11:41:21,319: WARNING/PoolWorker-1] [-] Error fetching in browser but successfully fetched with Requests: https://192.168.56.104
[2017-02-10 11:41:21,319: WARNING/PoolWorker-1] [+] Trying with sslv3 instead of TLS - known phantomjs bug: https://192.168.56.104
[2017-02-10 11:41:22,401: WARNING/PoolWorker-1] [-] Didn't work with SSLv3 either...https://192.168.56.104
[2017-02-10 11:41:22,413: WARNING/PoolWorker-1] [+] Saving: /opt/Kraken/static/Web_Scout/192-168-56-104-443.png

Opening the page in browser after manually adding an exception:

grafik

Can't browse to the web interface.

Hi,
Everything seems to run fine, see output below. I just can't get the interface to load on port 8000.
Thank you,

root@test:/opt# /usr/bin/Kraken restart
Restarting Kraken.
sudo: unable to resolve host test
[ ok ] Stopping rabbitmq-server (via systemctl): rabbitmq-server.service.
sudo: unable to resolve host test
celery init v10.1.
Using config script: /etc/default/celeryd
celery multi v4.0.2 (latentcall)

Stopping nodes...
> krakenworker@test: TERM -> 14880
Waiting for 1 node -> 14880.....
> krakenworker@test: OK
krakenworker@test: DOWN
Waiting for 1 node -> None...
sudo: unable to resolve host test
[ ok ] Stopping apache2 (via systemctl): apache2.service.
Kraken stopped.
sudo: unable to resolve host test
[ ok ] Starting rabbitmq-server (via systemctl): rabbitmq-server.service.
sudo: unable to resolve host test
celery init v10.1.
Using config script: /etc/default/celeryd
celery multi v4.0.2 (latentcall)
Starting nodes...
> krakenworker@test: OK
sudo: unable to resolve host test
[ ok ] Starting apache2 (via systemctl): apache2.service.

Kraken started.
Open a browser and navigate to http://localhost:8000

Install script fails on Kali

[Tue Jan 31 17:01:40] root@kali:/opt # git clone https://github.com/Sw4mpf0x/Kraken.git Cloning into 'Kraken'... remote: Counting objects: 900, done. remote: Compressing objects: 100% (31/31), done. remote: Total 900 (delta 10), reused 0 (delta 0), pack-reused 866 Receiving objects: 100% (900/900), 26.49 MiB | 2.60 MiB/s, done. Resolving deltas: 100% (525/525), done. Checking connectivity... done. [Tue Jan 31 17:01:57] root@kali:/opt # cd Kraken/ [Tue Jan 31 17:02:02] root@kali:/opt/Kraken # ls celeryd LICENSE setup.sh celeryd.conf phantomjs-1.9.8-linux-i686.tar.bz2 web.xml Kraken phantomjs-1.9.8-linux-x86_64.tar.bz2 Kraken.sh README.md [Tue Jan 31 17:02:02] root@kali:/opt/Kraken # chmod 755 setup.sh [Tue Jan 31 17:02:14] root@kali:/opt/Kraken # vim setup.sh [Tue Jan 31 17:03:02] root@kali:/opt/Kraken # ./setup.sh Installing Dependencies Get:1 http://ftp.hands.com/kali kali-rolling InRelease [30.5 kB] Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 Packages [15.0 MB] Get:3 http://ftp.hands.com/kali kali-rolling/non-free amd64 Packages [164 kB] Get:4 http://ftp.hands.com/kali kali-rolling/contrib amd64 Packages [106 kB] Fetched 15.3 MB in 7s (2,114 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: gdebi-core Use 'sudo apt autoremove' to remove it. The following packages will be upgraded: nmap 1 upgraded, 0 newly installed, 0 to remove and 1584 not upgraded. Need to get 5,299 kB of archives. After this operation, 1,098 kB of additional disk space will be used. Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 nmap amd64 7.40-1kali1 [5,299 kB] Fetched 5,299 kB in 3s (1,501 kB/s) apt-listchanges: Reading changelogs... (Reading database ... 325919 files and directories currently installed.) Preparing to unpack .../nmap_7.40-1kali1_amd64.deb ... Unpacking nmap (7.40-1kali1) over (7.25~BETA2-0kali1) ... Setting up nmap (7.40-1kali1) ... Processing triggers for man-db (2.7.5-1) ... Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: gdebi-core Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: apache2-bin apache2-data apache2-utils Suggested packages: apache2-doc apache2-suexec-pristine | apache2-suexec-custom The following packages will be upgraded: apache2 apache2-bin apache2-data apache2-utils 4 upgraded, 0 newly installed, 0 to remove and 1580 not upgraded. Need to get 1,793 kB of archives. After this operation, 112 kB of additional disk space will be used. Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 apache2 amd64 2.4.25-3 [235 kB] Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 apache2-bin amd64 2.4.25-3 [1,180 kB] Get:3 http://ftp.hands.com/kali kali-rolling/main amd64 apache2-utils amd64 2.4.25-3 [216 kB] Get:4 http://ftp.hands.com/kali kali-rolling/main amd64 apache2-data all 2.4.25-3 [162 kB] Fetched 1,793 kB in 1s (947 kB/s) apt-listchanges: Reading changelogs... (Reading database ... 325942 files and directories currently installed.) Preparing to unpack .../0-apache2_2.4.25-3_amd64.deb ... Unpacking apache2 (2.4.25-3) over (2.4.23-4) ... Preparing to unpack .../1-apache2-bin_2.4.25-3_amd64.deb ... Unpacking apache2-bin (2.4.25-3) over (2.4.23-4) ... Preparing to unpack .../2-apache2-utils_2.4.25-3_amd64.deb ... Unpacking apache2-utils (2.4.25-3) over (2.4.23-4) ... Preparing to unpack .../3-apache2-data_2.4.25-3_all.deb ... Unpacking apache2-data (2.4.25-3) over (2.4.23-4) ... Setting up apache2-utils (2.4.25-3) ... Setting up apache2-bin (2.4.25-3) ... Setting up apache2-data (2.4.25-3) ... Processing triggers for systemd (231-4) ... Processing triggers for man-db (2.7.5-1) ... Setting up apache2 (2.4.25-3) ... Installing new version of config file /etc/apache2/apache2.conf ... Installing new version of config file /etc/apache2/envvars ... Installing new version of config file /etc/init.d/apache-htcacheclean ... Enabling module reqtimeout. insserv: warning: current start runlevel(s) (empty) of script apache2' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script apache2' overrides LSB defaults (0 1 6). insserv: warning: current start runlevel(s) (empty) of script apache-htcacheclean' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script apache-htcacheclean' overrides LSB defaults (0 1 6). Processing triggers for systemd (231-4) ... Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: gdebi-core Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: libapache2-mod-wsgi 0 upgraded, 1 newly installed, 0 to remove and 1580 not upgraded. Need to get 91.1 kB of archives. After this operation, 272 kB of additional disk space will be used. Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 libapache2-mod-wsgi amd64 4.5.11-1 [91.1 kB] Fetched 91.1 kB in 0s (101 kB/s) Selecting previously unselected package libapache2-mod-wsgi. (Reading database ... 325947 files and directories currently installed.) Preparing to unpack .../libapache2-mod-wsgi_4.5.11-1_amd64.deb ... Unpacking libapache2-mod-wsgi (4.5.11-1) ... Setting up libapache2-mod-wsgi (4.5.11-1) ... apache2_invoke: Enable module wsgi Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: gdebi-core Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libsqlite3-0 Suggested packages: sqlite3-doc The following packages will be upgraded: libsqlite3-0 sqlite3 2 upgraded, 0 newly installed, 0 to remove and 1578 not upgraded. Need to get 1,355 kB of archives. After this operation, 69.6 kB of additional disk space will be used. Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 sqlite3 amd64 3.16.2-1 [784 kB] Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 libsqlite3-0 amd64 3.16.2-1 [571 kB] Fetched 1,355 kB in 1s (884 kB/s) apt-listchanges: Reading changelogs... (Reading database ... 325956 files and directories currently installed.) Preparing to unpack .../0-sqlite3_3.16.2-1_amd64.deb ... Unpacking sqlite3 (3.16.2-1) over (3.14.1-1) ... Preparing to unpack .../1-libsqlite3-0_3.16.2-1_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.16.2-1) over (3.14.1-1) ... Processing triggers for libc-bin (2.23-5) ... Setting up libsqlite3-0:amd64 (3.16.2-1) ... Processing triggers for man-db (2.7.5-1) ... Setting up sqlite3 (3.16.2-1) ... Processing triggers for libc-bin (2.23-5) ... Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: gdebi-core Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools erlang-xmerl Suggested packages: erlang erlang-manpages erlang-doc xsltproc fop erlang-ic-java The following packages will be REMOVED: erlang-webtool The following NEW packages will be installed: erlang-corba erlang-diameter erlang-edoc erlang-eldap erlang-erl-docgen erlang-ic erlang-nox erlang-odbc erlang-parsetools erlang-percept erlang-ssh rabbitmq-server The following packages will be upgraded: erlang-asn1 erlang-base erlang-crypto erlang-eunit erlang-inets erlang-mnesia erlang-os-mon erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools erlang-tools erlang-xmerl 14 upgraded, 12 newly installed, 1 to remove and 1564 not upgraded. Need to get 25.3 MB of archives. After this operation, 15.6 MB of additional disk space will be used. Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-syntax-tools amd64 1:19.2.1+dfsg-1 [374 kB] Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-tools amd64 1:19.2.1+dfsg-1 [529 kB] Get:3 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-inets amd64 1:19.2.1+dfsg-1 [742 kB] Get:4 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-ssl amd64 1:19.2.1+dfsg-1 [750 kB] Get:5 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-public-key amd64 1:19.2.1+dfsg-1 [559 kB] Get:6 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-asn1 amd64 1:19.2.1+dfsg-1 [740 kB] Get:7 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-os-mon amd64 1:19.2.1+dfsg-1 [120 kB] Get:8 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-snmp amd64 1:19.2.1+dfsg-1 [1,554 kB] Get:9 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-crypto amd64 1:19.2.1+dfsg-1 [125 kB] Get:10 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-runtime-tools amd64 1:19.2.1+dfsg-1 [207 kB] Get:11 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-mnesia amd64 1:19.2.1+dfsg-1 [747 kB] Get:12 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-eunit amd64 1:19.2.1+dfsg-1 [165 kB] Get:13 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-xmerl amd64 1:19.2.1+dfsg-1 [986 kB] Get:14 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-base amd64 1:19.2.1+dfsg-1 [7,171 kB] Get:15 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-corba amd64 1:19.2.1+dfsg-1 [2,257 kB] Get:16 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-diameter amd64 1:19.2.1+dfsg-1 [679 kB] Get:17 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-edoc amd64 1:19.2.1+dfsg-1 [325 kB] Get:18 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-eldap amd64 1:19.2.1+dfsg-1 [130 kB] Get:19 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-erl-docgen amd64 1:19.2.1+dfsg-1 [166 kB] Get:20 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-ic amd64 1:19.2.1+dfsg-1 [847 kB] Get:21 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-odbc amd64 1:19.2.1+dfsg-1 [77.5 kB] Get:22 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-parsetools amd64 1:19.2.1+dfsg-1 [183 kB] Get:23 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-percept amd64 1:19.2.1+dfsg-1 [163 kB] Get:24 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-ssh amd64 1:19.2.1+dfsg-1 [478 kB] Get:25 http://ftp.hands.com/kali kali-rolling/main amd64 erlang-nox all 1:19.2.1+dfsg-1 [35.2 kB] Get:26 http://ftp.hands.com/kali kali-rolling/main amd64 rabbitmq-server all 3.6.6-1 [5,234 kB] Fetched 25.3 MB in 7s (3,181 kB/s) apt-listchanges: Reading changelogs... (Reading database ... 325956 files and directories currently installed.) Preparing to unpack .../0-erlang-syntax-tools_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-syntax-tools (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../1-erlang-tools_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-tools (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... (Reading database ... 325954 files and directories currently installed.) Removing erlang-webtool (1:18.3.4.4+dfsg-1) ... (Reading database ... 325930 files and directories currently installed.) Preparing to unpack .../00-erlang-inets_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-inets (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../01-erlang-ssl_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-ssl (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../02-erlang-public-key_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-public-key (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../03-erlang-asn1_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-asn1 (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../04-erlang-os-mon_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-os-mon (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../05-erlang-snmp_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-snmp (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../06-erlang-crypto_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-crypto (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../07-erlang-runtime-tools_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-runtime-tools (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../08-erlang-mnesia_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-mnesia (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../09-erlang-eunit_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-eunit (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../10-erlang-xmerl_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-xmerl (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Preparing to unpack .../11-erlang-base_1%3a19.2.1+dfsg-1_amd64.deb ... Searching for services which depend on erlang and should be stopped...found: couchdb. Stopping services which depend on erlang couchdb: stopping...done. Services stopped successfully. Killing epmd...it is not running. Unpacking erlang-base (1:19.2.1+dfsg-1) over (1:18.3.4.4+dfsg-1) ... Selecting previously unselected package erlang-corba. Preparing to unpack .../12-erlang-corba_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-corba (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-diameter. Preparing to unpack .../13-erlang-diameter_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-diameter (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-edoc. Preparing to unpack .../14-erlang-edoc_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-edoc (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-eldap. Preparing to unpack .../15-erlang-eldap_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-eldap (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-erl-docgen. Preparing to unpack .../16-erlang-erl-docgen_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-erl-docgen (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-ic. Preparing to unpack .../17-erlang-ic_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-ic (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-odbc. Preparing to unpack .../18-erlang-odbc_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-odbc (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-parsetools. Preparing to unpack .../19-erlang-parsetools_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-parsetools (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-percept. Preparing to unpack .../20-erlang-percept_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-percept (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-ssh. Preparing to unpack .../21-erlang-ssh_1%3a19.2.1+dfsg-1_amd64.deb ... Unpacking erlang-ssh (1:19.2.1+dfsg-1) ... Selecting previously unselected package erlang-nox. Preparing to unpack .../22-erlang-nox_1%3a19.2.1+dfsg-1_all.deb ... Unpacking erlang-nox (1:19.2.1+dfsg-1) ... Selecting previously unselected package rabbitmq-server. Preparing to unpack .../23-rabbitmq-server_3.6.6-1_all.deb ... Unpacking rabbitmq-server (3.6.6-1) ... Setting up erlang-base (1:19.2.1+dfsg-1) ... Searching for services which depend on erlang and should be started...found: couchdb. Starting services which depend on erlang couchdb: starting...done. Services started successfully. Processing triggers for menu (2.1.47) ... Setting up erlang-crypto (1:19.2.1+dfsg-1) ... Setting up erlang-asn1 (1:19.2.1+dfsg-1) ... Setting up erlang-mnesia (1:19.2.1+dfsg-1) ... Setting up erlang-eunit (1:19.2.1+dfsg-1) ... Processing triggers for systemd (231-4) ... Processing triggers for man-db (2.7.5-1) ... Setting up erlang-runtime-tools (1:19.2.1+dfsg-1) ... Setting up erlang-syntax-tools (1:19.2.1+dfsg-1) ... Setting up erlang-odbc (1:19.2.1+dfsg-1) ... Setting up erlang-parsetools (1:19.2.1+dfsg-1) ... Setting up erlang-ic (1:19.2.1+dfsg-1) ... Setting up erlang-xmerl (1:19.2.1+dfsg-1) ... Setting up erlang-public-key (1:19.2.1+dfsg-1) ... Setting up erlang-snmp (1:19.2.1+dfsg-1) ... Setting up erlang-ssl (1:19.2.1+dfsg-1) ... Setting up erlang-inets (1:19.2.1+dfsg-1) ... Setting up erlang-tools (1:19.2.1+dfsg-1) ... Setting up erlang-percept (1:19.2.1+dfsg-1) ... Setting up erlang-diameter (1:19.2.1+dfsg-1) ... Setting up erlang-ssh (1:19.2.1+dfsg-1) ... Setting up erlang-os-mon (1:19.2.1+dfsg-1) ... Setting up erlang-eldap (1:19.2.1+dfsg-1) ... Setting up erlang-edoc (1:19.2.1+dfsg-1) ... Setting up erlang-corba (1:19.2.1+dfsg-1) ... Setting up erlang-erl-docgen (1:19.2.1+dfsg-1) ... Setting up erlang-nox (1:19.2.1+dfsg-1) ... Setting up rabbitmq-server (3.6.6-1) ... Adding group rabbitmq' (GID 143) ...
Done.
Adding system user rabbitmq' (UID 136) ... Adding new user rabbitmq' (UID 136) with group rabbitmq' ... Not creating home directory /var/lib/rabbitmq'.
update-rc.d: We have no instructions for the rabbitmq-server init script.
update-rc.d: It looks like a network service, we disable it.
insserv: warning: current start runlevel(s) (empty) of script rabbitmq-server' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script rabbitmq-server' overrides LSB defaults (0 1 6).
Processing triggers for systemd (231-4) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
python-urllib3
The following packages will be upgraded:
python-requests python-urllib3
2 upgraded, 0 newly installed, 0 to remove and 1562 not upgraded.
Need to get 178 kB of archives.
After this operation, 287 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 python-requests all 2.12.4-1 [101 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 python-urllib3 all 1.19.1-1 [77.5 kB]
Fetched 178 kB in 0s (191 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 326896 files and directories currently installed.)
Preparing to unpack .../0-python-requests_2.12.4-1_all.deb ...
Unpacking python-requests (2.12.4-1) over (2.10.0-2) ...
Preparing to unpack .../1-python-urllib3_1.19.1-1_all.deb ...
Unpacking python-urllib3 (1.19.1-1) over (1.15.1-2) ...
Setting up python-urllib3 (1.19.1-1) ...
Setting up python-requests (2.12.4-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-m2crypto is already the newest version (0.24.0-1).
python-m2crypto set to manually installed.
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1562 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.2).
build-essential set to manually installed.
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1562 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
openssl
1 upgraded, 0 newly installed, 0 to remove and 1561 not upgraded.
Need to get 737 kB of archives.
After this operation, 129 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 openssl amd64 1.1.0c-2 [737 kB]
Fetched 737 kB in 1s (532 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 326905 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.0c-2_amd64.deb ...
Unpacking openssl (1.1.0c-2) over (1.0.2h-1) ...
Setting up openssl (1.1.0c-2) ...
Installing new version of config file /etc/ssl/openssl.cnf ...
Processing triggers for man-db (2.7.5-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
chrpath
0 upgraded, 1 newly installed, 0 to remove and 1561 not upgraded.
Need to get 16.7 kB of archives.
After this operation, 41.0 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 chrpath amd64 0.16-2 [16.7 kB]
Fetched 16.7 kB in 0s (20.1 kB/s)
Selecting previously unselected package chrpath.
(Reading database ... 326908 files and directories currently installed.)
Preparing to unpack .../chrpath_0.16-2_amd64.deb ...
Unpacking chrpath (0.16-2) ...
Setting up chrpath (0.16-2) ...
Processing triggers for man-db (2.7.5-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libssl-doc
The following NEW packages will be installed:
libssl-dev libssl-doc
0 upgraded, 2 newly installed, 0 to remove and 1561 not upgraded.
Need to get 2,985 kB of archives.
After this operation, 11.5 MB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 libssl-dev amd64 1.1.0c-2 [1,569 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 libssl-doc all 1.1.0c-2 [1,417 kB]
Fetched 2,985 kB in 3s (970 kB/s)
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 326917 files and directories currently installed.)
Preparing to unpack .../0-libssl-dev_1.1.0c-2_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.0c-2) ...
Selecting previously unselected package libssl-doc.
Preparing to unpack .../1-libssl-doc_1.1.0c-2_all.deb ...
Unpacking libssl-doc (1.1.0c-2) ...
Setting up libssl-dev:amd64 (1.1.0c-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libssl-doc (1.1.0c-2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libfontconfig1-dev libfreetype6-dev libpng-dev libpng-tools libpng16-16
libxrender-dev libxrender1 x11proto-render-dev zlib1g zlib1g-dev
The following NEW packages will be installed:
libfontconfig1-dev libfreetype6-dev libpng-dev libpng-tools libxft-dev
libxrender-dev x11proto-render-dev zlib1g-dev
The following packages will be upgraded:
libpng16-16 libxrender1 zlib1g
3 upgraded, 8 newly installed, 0 to remove and 1558 not upgraded.
Need to get 7,822 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 zlib1g amd64 1:1.2.8.dfsg-4 [87.2 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-4 [205 kB]
Get:3 http://ftp.hands.com/kali kali-rolling/main amd64 libpng16-16 amd64 1.6.28-1 [280 kB]
Get:4 http://ftp.hands.com/kali kali-rolling/main amd64 libpng-dev amd64 1.6.28-1 [250 kB]
Get:5 http://ftp.hands.com/kali kali-rolling/main amd64 libfreetype6-dev amd64 2.6.3-3+b1 [5,812 kB]
Get:6 http://ftp.hands.com/kali kali-rolling/main amd64 libfontconfig1-dev amd64 2.11.0-6.7 [894 kB]
Get:7 http://ftp.hands.com/kali kali-rolling/main amd64 libpng-tools amd64 1.6.28-1 [133 kB]
Get:8 http://ftp.hands.com/kali kali-rolling/main amd64 libxrender1 amd64 1:0.9.10-1 [33.0 kB]
Get:9 http://ftp.hands.com/kali kali-rolling/main amd64 x11proto-render-dev all 2:0.11.1-2 [20.8 kB]
Get:10 http://ftp.hands.com/kali kali-rolling/main amd64 libxrender-dev amd64 1:0.9.10-1 [40.8 kB]
Get:11 http://ftp.hands.com/kali kali-rolling/main amd64 libxft-dev amd64 2.3.2-1 [66.6 kB]
Fetched 7,822 kB in 5s (1,442 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 330078 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.2.8.dfsg-4_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.2.8.dfsg-4) over (1:1.2.8.dfsg-2+b1) ...
Setting up zlib1g:amd64 (1:1.2.8.dfsg-4) ...
Selecting previously unselected package zlib1g-dev:amd64.
(Reading database ... 330077 files and directories currently installed.)
Preparing to unpack .../0-zlib1g-dev_1%3a1.2.8.dfsg-4_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-4) ...
Preparing to unpack .../1-libpng16-16_1.6.28-1_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.28-1) over (1.6.24-2) ...
Selecting previously unselected package libpng-dev:amd64.
Preparing to unpack .../2-libpng-dev_1.6.28-1_amd64.deb ...
Unpacking libpng-dev:amd64 (1.6.28-1) ...
Selecting previously unselected package libfreetype6-dev.
Preparing to unpack .../3-libfreetype6-dev_2.6.3-3+b1_amd64.deb ...
Unpacking libfreetype6-dev (2.6.3-3+b1) ...
Selecting previously unselected package libfontconfig1-dev:amd64.
Preparing to unpack .../4-libfontconfig1-dev_2.11.0-6.7_amd64.deb ...
Unpacking libfontconfig1-dev:amd64 (2.11.0-6.7) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../5-libpng-tools_1.6.28-1_amd64.deb ...
Unpacking libpng-tools (1.6.28-1) ...
Preparing to unpack .../6-libxrender1_1%3a0.9.10-1_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.10-1) over (1:0.9.9-2) ...
Selecting previously unselected package x11proto-render-dev.
Preparing to unpack .../7-x11proto-render-dev_2%3a0.11.1-2_all.deb ...
Unpacking x11proto-render-dev (2:0.11.1-2) ...
Selecting previously unselected package libxrender-dev:amd64.
Preparing to unpack .../8-libxrender-dev_1%3a0.9.10-1_amd64.deb ...
Unpacking libxrender-dev:amd64 (1:0.9.10-1) ...
Selecting previously unselected package libxft-dev.
Preparing to unpack .../9-libxft-dev_2.3.2-1_amd64.deb ...
Unpacking libxft-dev (2.3.2-1) ...
Setting up libpng16-16:amd64 (1.6.28-1) ...
Setting up libpng-tools (1.6.28-1) ...
Processing triggers for libc-bin (2.23-5) ...
Setting up libxrender1:amd64 (1:0.9.10-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up x11proto-render-dev (2:0.11.1-2) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-4) ...
Setting up libxrender-dev:amd64 (1:0.9.10-1) ...
Setting up libpng-dev:amd64 (1.6.28-1) ...
Setting up libfreetype6-dev (2.6.3-3+b1) ...
Setting up libfontconfig1-dev:amd64 (2.11.0-6.7) ...
Setting up libxft-dev (2.3.2-1) ...
Processing triggers for libc-bin (2.23-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfreetype6 is already the newest version (2.6.3-3+b1).
libfreetype6 set to manually installed.
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1558 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfreetype6-dev is already the newest version (2.6.3-3+b1).
libfreetype6-dev set to manually installed.
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1558 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfontconfig1 is already the newest version (2.11.0-6.7).
libfontconfig1 set to manually installed.
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1558 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfontconfig1-dev is already the newest version (2.11.0-6.7).
libfontconfig1-dev set to manually installed.
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1558 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
python-pip-whl
The following packages will be upgraded:
python-pip python-pip-whl
2 upgraded, 0 newly installed, 0 to remove and 1556 not upgraded.
Need to get 1,585 kB of archives.
After this operation, 433 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 python-pip all 9.0.1-2 [179 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 python-pip-whl all 9.0.1-2 [1,406 kB]
Fetched 1,585 kB in 1s (966 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 330774 files and directories currently installed.)
Preparing to unpack .../0-python-pip_9.0.1-2_all.deb ...
Unpacking python-pip (9.0.1-2) over (8.1.2-2) ...
Preparing to unpack .../1-python-pip-whl_9.0.1-2_all.deb ...
Unpacking python-pip-whl (9.0.1-2) over (8.1.2-2) ...
Setting up python-pip-whl (9.0.1-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-pip (9.0.1-2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libpython-all-dev libpython-dev libpython-stdlib libpython2.7
libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib python python-all
python-all-dev python-minimal python2.7 python2.7-dev python2.7-minimal
Suggested packages:
python-doc python-tk python2.7-doc
The following packages will be upgraded:
libpython-all-dev libpython-dev libpython-stdlib libpython2.7
libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib python python-all
python-all-dev python-dev python-minimal python2.7 python2.7-dev
python2.7-minimal
15 upgraded, 0 newly installed, 0 to remove and 1541 not upgraded.
Need to get 33.7 MB of archives.
After this operation, 231 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 python2.7-dev amd64 2.7.13-2 [281 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 libpython2.7-dev amd64 2.7.13-2 [28.2 MB]
Get:3 http://ftp.hands.com/kali kali-rolling/main amd64 libpython2.7 amd64 2.7.13-2 [1,072 kB]
Get:4 http://ftp.hands.com/kali kali-rolling/main amd64 python2.7 amd64 2.7.13-2 [285 kB]
Get:5 http://ftp.hands.com/kali kali-rolling/main amd64 libpython2.7-stdlib amd64 2.7.13-2 [1,895 kB]
Get:6 http://ftp.hands.com/kali kali-rolling/main amd64 python2.7-minimal amd64 2.7.13-2 [1,383 kB]
Get:7 http://ftp.hands.com/kali kali-rolling/main amd64 libpython2.7-minimal amd64 2.7.13-2 [389 kB]
Get:8 http://ftp.hands.com/kali kali-rolling/main amd64 python-all-dev amd64 2.7.13-1 [964 B]
Get:9 http://ftp.hands.com/kali kali-rolling/main amd64 python-all amd64 2.7.13-1 [940 B]
Get:10 http://ftp.hands.com/kali kali-rolling/main amd64 python-dev amd64 2.7.13-1 [1,130 B]
Get:11 http://ftp.hands.com/kali kali-rolling/main amd64 python-minimal amd64 2.7.13-1 [40.5 kB]
Get:12 http://ftp.hands.com/kali kali-rolling/main amd64 python amd64 2.7.13-1 [154 kB]
Get:13 http://ftp.hands.com/kali kali-rolling/main amd64 libpython-all-dev amd64 2.7.13-1 [958 B]
Get:14 http://ftp.hands.com/kali kali-rolling/main amd64 libpython-dev amd64 2.7.13-1 [20.0 kB]
Get:15 http://ftp.hands.com/kali kali-rolling/main amd64 libpython-stdlib amd64 2.7.13-1 [19.9 kB]
Fetched 33.7 MB in 16s (2,081 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 330780 files and directories currently installed.)
Preparing to unpack .../00-python2.7-dev_2.7.13-2_amd64.deb ...
Unpacking python2.7-dev (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../01-libpython2.7-dev_2.7.13-2_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../02-libpython2.7_2.7.13-2_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../03-python2.7_2.7.13-2_amd64.deb ...
Unpacking python2.7 (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../04-libpython2.7-stdlib_2.7.13-2_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../05-python2.7-minimal_2.7.13-2_amd64.deb ...
Unpacking python2.7-minimal (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../06-libpython2.7-minimal_2.7.13-2_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2) over (2.7.12-3) ...
Preparing to unpack .../07-python-all-dev_2.7.13-1_amd64.deb ...
Unpacking python-all-dev (2.7.13-1) over (2.7.11-2) ...
Preparing to unpack .../08-python-all_2.7.13-1_amd64.deb ...
Unpacking python-all (2.7.13-1) over (2.7.11-2) ...
Preparing to unpack .../09-python-dev_2.7.13-1_amd64.deb ...
Unpacking python-dev (2.7.13-1) over (2.7.11-2) ...
Preparing to unpack .../10-python-minimal_2.7.13-1_amd64.deb ...
Unpacking python-minimal (2.7.13-1) over (2.7.11-2) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2) ...
Setting up python2.7-minimal (2.7.13-2) ...
Setting up python-minimal (2.7.13-1) ...
(Reading database ... 330779 files and directories currently installed.)
Preparing to unpack .../0-python_2.7.13-1_amd64.deb ...
Unpacking python (2.7.13-1) over (2.7.11-2) ...
Preparing to unpack .../1-libpython-all-dev_2.7.13-1_amd64.deb ...
Unpacking libpython-all-dev:amd64 (2.7.13-1) over (2.7.11-2) ...
Preparing to unpack .../2-libpython-dev_2.7.13-1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.13-1) over (2.7.11-2) ...
Preparing to unpack .../3-libpython-stdlib_2.7.13-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.13-1) over (2.7.11-2) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for libc-bin (2.23-5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-8) ...
Setting up libpython2.7-stdlib:amd64 (2.7.13-2) ...
Setting up python2.7 (2.7.13-2) ...
Setting up libpython-stdlib:amd64 (2.7.13-1) ...
Setting up libpython2.7:amd64 (2.7.13-2) ...
Setting up libpython2.7-dev:amd64 (2.7.13-2) ...
Setting up python2.7-dev (2.7.13-2) ...
Setting up python (2.7.13-1) ...
Setting up libpython-dev:amd64 (2.7.13-1) ...
Setting up python-dev (2.7.13-1) ...
Setting up libpython-all-dev:amd64 (2.7.13-1) ...
Setting up python-all (2.7.13-1) ...
Setting up python-all-dev (2.7.13-1) ...
Processing triggers for libc-bin (2.23-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.2).
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1541 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libpq5
Suggested packages:
postgresql-doc-9.6
The following NEW packages will be installed:
libpq-dev
The following packages will be upgraded:
libpq5
1 upgraded, 1 newly installed, 0 to remove and 1540 not upgraded.
Need to get 337 kB of archives.
After this operation, 1,019 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 libpq5 amd64 9.6.1-2 [127 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 libpq-dev amd64 9.6.1-2 [210 kB]
Fetched 337 kB in 1s (275 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 330779 files and directories currently installed.)
Preparing to unpack .../0-libpq5_9.6.1-2_amd64.deb ...
Unpacking libpq5:amd64 (9.6.1-2) over (9.6rc1-1) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../1-libpq-dev_9.6.1-2_amd64.deb ...
Unpacking libpq-dev (9.6.1-2) ...
Setting up libpq5:amd64 (9.6.1-2) ...
Processing triggers for libc-bin (2.23-5) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libpq-dev (9.6.1-2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
gdebi-core
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
swig3.0
Suggested packages:
swig-doc swig-examples swig3.0-examples swig3.0-doc
The following NEW packages will be installed:
swig swig3.0
0 upgraded, 2 newly installed, 0 to remove and 1540 not upgraded.
Need to get 1,672 kB of archives.
After this operation, 5,936 kB of additional disk space will be used.
Get:1 http://ftp.hands.com/kali kali-rolling/main amd64 swig3.0 amd64 3.0.10-1.1 [1,367 kB]
Get:2 http://ftp.hands.com/kali kali-rolling/main amd64 swig amd64 3.0.10-1.1 [305 kB]
Fetched 1,672 kB in 2s (620 kB/s)
Selecting previously unselected package swig3.0.
(Reading database ... 330825 files and directories currently installed.)
Preparing to unpack .../0-swig3.0_3.0.10-1.1_amd64.deb ...
Unpacking swig3.0 (3.0.10-1.1) ...
Selecting previously unselected package swig.
Preparing to unpack .../1-swig_3.0.10-1.1_amd64.deb ...
Unpacking swig (3.0.10-1.1) ...
Setting up swig3.0 (3.0.10-1.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up swig (3.0.10-1.1) ...
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
Collecting Django
Downloading Django-1.10.5-py2.py3-none-any.whl (6.8MB)
100% |████████████████████████████████| 6.8MB 101kB/s
Installing collected packages: Django
Successfully installed Django-1.10.5
Collecting virtualenvwrapper
Downloading virtualenvwrapper-4.7.2.tar.gz (90kB)
100% |████████████████████████████████| 92kB 571kB/s
Collecting virtualenv (from virtualenvwrapper)
Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 622kB/s
Collecting virtualenv-clone (from virtualenvwrapper)
Downloading virtualenv-clone-0.2.6.tar.gz
Collecting stevedore (from virtualenvwrapper)
Downloading stevedore-1.20.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/dist-packages (from stevedore->virtualenvwrapper)
Collecting pbr>=1.8 (from stevedore->virtualenvwrapper)
Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB)
100% |████████████████████████████████| 102kB 3.1MB/s
Building wheels for collected packages: virtualenvwrapper, virtualenv-clone
Running setup.py bdist_wheel for virtualenvwrapper ... done
Stored in directory: /root/.cache/pip/wheels/3e/7e/eb/31f2187dde819aa4f67ade0ac8401da47257f44c213f153ca2
Running setup.py bdist_wheel for virtualenv-clone ... done
Stored in directory: /root/.cache/pip/wheels/24/51/ef/93120d304d240b4b6c2066454250a1626e04f73d34417b956d
Successfully built virtualenvwrapper virtualenv-clone
Installing collected packages: virtualenv, virtualenv-clone, pbr, stevedore, virtualenvwrapper
Successfully installed pbr-1.10.0 stevedore-1.20.0 virtualenv-15.1.0 virtualenv-clone-0.2.6 virtualenvwrapper-4.7.2
Collecting selenium
Downloading selenium-3.0.2-py2.py3-none-any.whl (915kB)
100% |████████████████████████████████| 921kB 997kB/s
Installing collected packages: selenium
Successfully installed selenium-3.0.2
Collecting celery
Downloading celery-4.0.2-py2.py3-none-any.whl (396kB)
100% |████████████████████████████████| 399kB 1.1MB/s
Collecting billiard<3.6.0,>=3.5.0.2 (from celery)
Downloading billiard-3.5.0.2.tar.gz (157kB)
100% |████████████████████████████████| 163kB 1.4MB/s
Requirement already satisfied: pytz>dev in /usr/lib/python2.7/dist-packages (from celery)
Collecting kombu<5.0,>=4.0.2 (from celery)
Downloading kombu-4.0.2-py2.py3-none-any.whl (178kB)
100% |████████████████████████████████| 184kB 3.0MB/s
Collecting amqp<3.0,>=2.1.4 (from kombu<5.0,>=4.0.2->celery)
Downloading amqp-2.1.4-py2.py3-none-any.whl (49kB)
100% |████████████████████████████████| 51kB 2.6MB/s
Collecting vine>=1.1.3 (from amqp<3.0,>=2.1.4->kombu<5.0,>=4.0.2->celery)
Downloading vine-1.1.3-py2.py3-none-any.whl
Building wheels for collected packages: billiard
Running setup.py bdist_wheel for billiard ... done
Stored in directory: /root/.cache/pip/wheels/d3/c3/0e/89624b11fe03d99ba5e3a035d977e871879aa42b89e862a118
Successfully built billiard
Installing collected packages: billiard, vine, amqp, kombu, celery
Successfully installed amqp-2.1.4 billiard-3.5.0.2 celery-4.0.2 kombu-4.0.2 vine-1.1.3
Collecting image
Downloading image-1.5.5.tar.gz
Requirement already satisfied: pillow in /usr/lib/python2.7/dist-packages (from image)
Requirement already satisfied: django in /usr/local/lib/python2.7/dist-packages (from image)
Building wheels for collected packages: image
Running setup.py bdist_wheel for image ... done
Stored in directory: /root/.cache/pip/wheels/23/e1/79/51fec85e9944e23e62e9fd3af0c1d5506476330be7f1c24df4
Successfully built image
Installing collected packages: image
Successfully installed image-1.5.5
Moving files around and changing permissions
mv: cannot move 'Kraken/' to '/opt/Kraken': Directory not empty
id: ‘celery’: no such user
Adding celery user
chmod: cannot access '/opt/Kraken/static/Web_Scout': No such file or directory
chmod: cannot access '/opt/Kraken/ghostdriver.log': No such file or directory
chmod: cannot access '/opt/Kraken/tmp/': No such file or directory
Installing PhantomJS
Installing PhantomJS
phantomjs-1.9.8-linux-x86_64/
phantomjs-1.9.8-linux-x86_64/bin/
phantomjs-1.9.8-linux-x86_64/bin/phantomjs
phantomjs-1.9.8-linux-x86_64/examples/
phantomjs-1.9.8-linux-x86_64/examples/scandir.js
phantomjs-1.9.8-linux-x86_64/examples/technews.coffee
phantomjs-1.9.8-linux-x86_64/examples/tweets.js
phantomjs-1.9.8-linux-x86_64/examples/rasterize.coffee
phantomjs-1.9.8-linux-x86_64/examples/pagecallback.js
phantomjs-1.9.8-linux-x86_64/examples/printheaderfooter.js
phantomjs-1.9.8-linux-x86_64/examples/follow.js
phantomjs-1.9.8-linux-x86_64/examples/run-jasmine.coffee
phantomjs-1.9.8-linux-x86_64/examples/module.js
phantomjs-1.9.8-linux-x86_64/examples/waitfor.coffee
phantomjs-1.9.8-linux-x86_64/examples/stdin-stdout-stderr.coffee
phantomjs-1.9.8-linux-x86_64/examples/pizza.js
phantomjs-1.9.8-linux-x86_64/examples/seasonfood.coffee
phantomjs-1.9.8-linux-x86_64/examples/unrandomize.js
phantomjs-1.9.8-linux-x86_64/examples/modernizr.js
phantomjs-1.9.8-linux-x86_64/examples/waitfor.js
phantomjs-1.9.8-linux-x86_64/examples/direction.js
phantomjs-1.9.8-linux-x86_64/examples/arguments.coffee
phantomjs-1.9.8-linux-x86_64/examples/render_multi_url.js
phantomjs-1.9.8-linux-x86_64/examples/run-qunit.js
phantomjs-1.9.8-linux-x86_64/examples/printheaderfooter.coffee
phantomjs-1.9.8-linux-x86_64/examples/ipgeocode.js
phantomjs-1.9.8-linux-x86_64/examples/ipgeocode.coffee
phantomjs-1.9.8-linux-x86_64/examples/version.js
phantomjs-1.9.8-linux-x86_64/examples/movies.js
phantomjs-1.9.8-linux-x86_64/examples/child_process-examples.js
phantomjs-1.9.8-linux-x86_64/examples/loadurlwithoutcss.coffee
phantomjs-1.9.8-linux-x86_64/examples/version.coffee
phantomjs-1.9.8-linux-x86_64/examples/seasonfood.js
phantomjs-1.9.8-linux-x86_64/examples/server.js
phantomjs-1.9.8-linux-x86_64/examples/countdown.js
phantomjs-1.9.8-linux-x86_64/examples/rasterize.js
phantomjs-1.9.8-linux-x86_64/examples/injectme.js
phantomjs-1.9.8-linux-x86_64/examples/run-jasmine.js
phantomjs-1.9.8-linux-x86_64/examples/post.js
phantomjs-1.9.8-linux-x86_64/examples/imagebin.coffee
phantomjs-1.9.8-linux-x86_64/examples/pizza.coffee
phantomjs-1.9.8-linux-x86_64/examples/hello.coffee
phantomjs-1.9.8-linux-x86_64/examples/features.js
phantomjs-1.9.8-linux-x86_64/examples/movies.coffee
phantomjs-1.9.8-linux-x86_64/examples/tweets.coffee
phantomjs-1.9.8-linux-x86_64/examples/injectme.coffee
phantomjs-1.9.8-linux-x86_64/examples/features.coffee
phantomjs-1.9.8-linux-x86_64/examples/colorwheel.coffee
phantomjs-1.9.8-linux-x86_64/examples/walk_through_frames.js
phantomjs-1.9.8-linux-x86_64/examples/printmargins.coffee
phantomjs-1.9.8-linux-x86_64/examples/printmargins.js
phantomjs-1.9.8-linux-x86_64/examples/scandir.coffee
phantomjs-1.9.8-linux-x86_64/examples/loadspeed.coffee
phantomjs-1.9.8-linux-x86_64/examples/printenv.js
phantomjs-1.9.8-linux-x86_64/examples/serverkeepalive.coffee
phantomjs-1.9.8-linux-x86_64/examples/fibo.coffee
phantomjs-1.9.8-linux-x86_64/examples/echoToFile.coffee
phantomjs-1.9.8-linux-x86_64/examples/netlog.js
phantomjs-1.9.8-linux-x86_64/examples/useragent.coffee
phantomjs-1.9.8-linux-x86_64/examples/child_process-examples.coffee
phantomjs-1.9.8-linux-x86_64/examples/weather.coffee
phantomjs-1.9.8-linux-x86_64/examples/direction.coffee
phantomjs-1.9.8-linux-x86_64/examples/module.coffee
phantomjs-1.9.8-linux-x86_64/examples/printenv.coffee
phantomjs-1.9.8-linux-x86_64/examples/simpleserver.js
phantomjs-1.9.8-linux-x86_64/examples/fibo.js
phantomjs-1.9.8-linux-x86_64/examples/imagebin.js
phantomjs-1.9.8-linux-x86_64/examples/colorwheel.js
phantomjs-1.9.8-linux-x86_64/examples/technews.js
phantomjs-1.9.8-linux-x86_64/examples/hello.js
phantomjs-1.9.8-linux-x86_64/examples/echoToFile.js
phantomjs-1.9.8-linux-x86_64/examples/postserver.coffee
phantomjs-1.9.8-linux-x86_64/examples/page_events.coffee
phantomjs-1.9.8-linux-x86_64/examples/postserver.js
phantomjs-1.9.8-linux-x86_64/examples/weather.js
phantomjs-1.9.8-linux-x86_64/examples/countdown.coffee
phantomjs-1.9.8-linux-x86_64/examples/netsniff.coffee
phantomjs-1.9.8-linux-x86_64/examples/detectsniff.js
phantomjs-1.9.8-linux-x86_64/examples/render_multi_url.coffee
phantomjs-1.9.8-linux-x86_64/examples/useragent.js
phantomjs-1.9.8-linux-x86_64/examples/walk_through_frames.coffee
phantomjs-1.9.8-linux-x86_64/examples/post.coffee
phantomjs-1.9.8-linux-x86_64/examples/arguments.js
phantomjs-1.9.8-linux-x86_64/examples/simpleserver.coffee
phantomjs-1.9.8-linux-x86_64/examples/run-qunit.coffee
phantomjs-1.9.8-linux-x86_64/examples/outputEncoding.coffee
phantomjs-1.9.8-linux-x86_64/examples/phantomwebintro.js
phantomjs-1.9.8-linux-x86_64/examples/follow.coffee
phantomjs-1.9.8-linux-x86_64/examples/loadspeed.js
phantomjs-1.9.8-linux-x86_64/examples/page_events.js
phantomjs-1.9.8-linux-x86_64/examples/loadurlwithoutcss.js
phantomjs-1.9.8-linux-x86_64/examples/sleepsort.js
phantomjs-1.9.8-linux-x86_64/examples/sleepsort.coffee
phantomjs-1.9.8-linux-x86_64/examples/netlog.coffee
phantomjs-1.9.8-linux-x86_64/examples/outputEncoding.js
phantomjs-1.9.8-linux-x86_64/examples/serverkeepalive.js
phantomjs-1.9.8-linux-x86_64/examples/phantomwebintro.coffee
phantomjs-1.9.8-linux-x86_64/examples/server.coffee
phantomjs-1.9.8-linux-x86_64/examples/universe.js
phantomjs-1.9.8-linux-x86_64/examples/pagecallback.coffee
phantomjs-1.9.8-linux-x86_64/examples/stdin-stdout-stderr.js
phantomjs-1.9.8-linux-x86_64/examples/detectsniff.coffee
phantomjs-1.9.8-linux-x86_64/examples/unrandomize.coffee
phantomjs-1.9.8-linux-x86_64/examples/netsniff.js
phantomjs-1.9.8-linux-x86_64/ChangeLog
phantomjs-1.9.8-linux-x86_64/README.md
phantomjs-1.9.8-linux-x86_64/LICENSE.BSD
phantomjs-1.9.8-linux-x86_64/third-party.txt
Setting up Python Virtual Environment
virtualenvwrapper.user_scripts creating /root/.virtualenvs/premkproject
virtualenvwrapper.user_scripts creating /root/.virtualenvs/postmkproject
virtualenvwrapper.user_scripts creating /root/.virtualenvs/initialize
virtualenvwrapper.user_scripts creating /root/.virtualenvs/premkvirtualenv
virtualenvwrapper.user_scripts creating /root/.virtualenvs/postmkvirtualenv
virtualenvwrapper.user_scripts creating /root/.virtualenvs/prermvirtualenv
virtualenvwrapper.user_scripts creating /root/.virtualenvs/postrmvirtualenv
virtualenvwrapper.user_scripts creating /root/.virtualenvs/predeactivate
virtualenvwrapper.user_scripts creating /root/.virtualenvs/postdeactivate
virtualenvwrapper.user_scripts creating /root/.virtualenvs/preactivate
virtualenvwrapper.user_scripts creating /root/.virtualenvs/postactivate
virtualenvwrapper.user_scripts creating /root/.virtualenvs/get_env_details
grep: /opt/Kraken/Kraken/settings.py: No such file or directory
Creating new Django private key.
New python executable in /root/.virtualenvs/Kraken/bin/python
Installing setuptools, pip, wheel...done.
Collecting M2Crypto
Downloading M2Crypto-0.25.1.tar.gz (300kB)
100% |████████████████████████████████| 307kB 1.2MB/s
Collecting typing (from M2Crypto)
Downloading typing-3.5.3.0.tar.gz (60kB)
100% |████████████████████████████████| 61kB 2.1MB/s
Building wheels for collected packages: M2Crypto, typing
Running setup.py bdist_wheel for M2Crypto ... error
Complete output from command /root/.virtualenvs/Kraken/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-VmQvPL/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpeeG3empip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/init.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/_m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto
creating build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/init.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
creating build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/init.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/m2crypto.i to SWIG/m2crypto_wrap.c
swig -python -D__x86_64
-I/usr/include/python2.7 -I/usr/include -I/usr/include/x86_64-linux-gnu -includeall -modern -builtin -outdir build/lib.linux-x86_64-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
/usr/include/x86_64-linux-gnu/sys/cdefs.h:159: Warning 305: Bad constant value (ignored).
/usr/include/x86_64-linux-gnu/bits/wchar.h:38: Warning 490: Fragment 'SWIG_From_wchar_t' not found.
/usr/include/stdint.h:274: Warning 490: Fragment 'SWIG_From_wchar_t' not found.
SWIG/_bio.i:64: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_rand.i:23: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_evp.i:180: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_dh.i:36: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_rsa.i:43: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_dsa.i:31: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_ssl.i:241: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_ssl.i:242: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_x509.i:332: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_util.i:11: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_ec.i:111: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_engine.i:168: Warning 454: Setting a pointer/reference variable may leak memory.
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/SWIG
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/tmp/pip-build-VmQvPL/M2Crypto/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -DTHREADING
SWIG/_m2crypto_wrap.c:3991:35: error: ‘CRYPTO_NUM_LOCKS’ undeclared here (not in a function)
static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS];
^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘lib_init’:
SWIG/_m2crypto_wrap.c:4396:5: warning: implicit declaration of function ‘SSLeay_add_all_algorithms’ [-Wimplicit-function-declaration]
SSLeay_add_all_algorithms();
^~~~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘bn_rand’:
SWIG/_m2crypto_wrap.c:4833:12: error: storage size of ‘rnd’ isn’t known
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c:4837:5: warning: implicit declaration of function ‘BN_init’ [-Wimplicit-function-declaration]
BN_init(&rnd);
^~~~~~~
SWIG/_m2crypto_wrap.c:4833:12: warning: unused variable ‘rnd’ [-Wunused-variable]
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c: In function ‘bn_rand_range’:
SWIG/_m2crypto_wrap.c:4862:12: error: storage size of ‘rnd’ isn’t known
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c:4862:12: warning: unused variable ‘rnd’ [-Wunused-variable]
SWIG/_m2crypto_wrap.c: In function ‘rand_pseudo_bytes’:
SWIG/_m2crypto_wrap.c:5013:5: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
ret = RAND_pseudo_bytes(blob, n);
^~~
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/err.h:21,
from SWIG/_m2crypto_wrap.c:3634:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
^
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:5032:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
PyObject *rand_file_name() {
^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘digest_final’:
SWIG/_m2crypto_wrap.c:5157:34: error: dereferencing pointer to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
if (!(blob = PyMem_Malloc(ctx->digest->md_size))) {
^

SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_new’:
SWIG/_m2crypto_wrap.c:5180:49: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
if (!(ctx = (HMAC_CTX *)PyMem_Malloc(sizeof(HMAC_CTX)))) {
^~~~~~~~
SWIG/_m2crypto_wrap.c:5184:5: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
HMAC_CTX_init(ctx);
^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_free’:
SWIG/_m2crypto_wrap.c:5189:5: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(ctx);
^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘hmac_init’:
SWIG/_m2crypto_wrap.c:5200:5: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations]
if (!HMAC_Init(ctx, kbuf, klen, md)) {
^~
In file included from /usr/include/openssl/hmac.h:13:0,
from /usr/include/openssl/ssl.h:56,
from SWIG/_m2crypto_wrap.c:4052:
/usr/include/openssl/hmac.h:28:1: note: declared here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
^
SWIG/_m2crypto_wrap.c: In function ‘hmac_final’:
SWIG/_m2crypto_wrap.c:5228:34: error: dereferencing pointer to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
if (!(blob = PyMem_Malloc(ctx->md->md_size))) {
^~
SWIG/_m2crypto_wrap.c: In function ‘cipher_ctx_new’:
SWIG/_m2crypto_wrap.c:5280:55: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
if (!(ctx = (EVP_CIPHER_CTX *)PyMem_Malloc(sizeof(EVP_CIPHER_CTX)))) {
^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘cipher_final’:
SWIG/_m2crypto_wrap.c:5373:34: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
if (!(obuf = PyMem_Malloc(ctx->cipher->block_size))) {
^~
SWIG/_m2crypto_wrap.c: In function ‘pkey_get_modulus’:
SWIG/_m2crypto_wrap.c:5539:17: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
switch (pkey->type) {
^~
SWIG/_m2crypto_wrap.c:5550:35: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
if (!BN_print(bio, rsa->n)) {
^~
SWIG/_m2crypto_wrap.c:5582:35: error: dereferencing pointer to incomplete type ‘DSA {aka struct dsa_st}’
if (!BN_print(bio, dsa->pub_key)) {
^~
SWIG/_m2crypto_wrap.c: In function ‘dh_generate_parameters’:
SWIG/_m2crypto_wrap.c:5795:5: warning: ‘DH_generate_parameters’ is deprecated [-Wdeprecated-declarations]
dh = DH_generate_parameters(plen, g, gendh_callback, (void *)pyfunc);
^~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/dh.h:18,
from SWIG/_m2crypto_wrap.c:4048:
/usr/include/openssl/dh.h:118:1: note: declared here
DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_p’:
SWIG/_m2crypto_wrap.c:5847:12: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
if (!dh->p) {
^~
SWIG/_m2crypto_wrap.c: In function ‘rsa_generate_key’:
SWIG/_m2crypto_wrap.c:6338:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
rsa = RSA_generate_key(bits, e, genrsa_callback, (void *)pyfunc);
^~~
In file included from /usr/include/openssl/rsa.h:13:0,
from SWIG/_m2crypto_wrap.c:4051:
/usr/include/openssl/rsa.h:193:1: note: declared here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:6367:29: error: dereferencing pointer to incomplete type ‘DSA_SIG {aka struct DSA_SIG_st}’
return bn_to_mpi(dsa_sig->r);
^~
SWIG/_m2crypto_wrap.c: In function ‘dsa_generate_parameters’:
SWIG/_m2crypto_wrap.c:6397:5: warning: ‘DSA_generate_parameters’ is deprecated [-Wdeprecated-declarations]
dsa = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, genparam_callback, (void *)pyfunc);
^~~
In file included from /usr/include/openssl/dsa.h:28:0,
from /usr/include/openssl/x509.h:32,
from /usr/include/openssl/ssl.h:50,
from SWIG/_m2crypto_wrap.c:4052:
/usr/include/openssl/dsa.h:122:1: note: declared here
DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
^
SWIG/_m2crypto_wrap.c: In function ‘sk_ssl_cipher_value’:
SWIG/_m2crypto_wrap.c:7318:12: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
return sk_SSL_CIPHER_value(stack, idx);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘x509_name_get_der’:
SWIG/_m2crypto_wrap.c:7517:43: error: dereferencing pointer to incomplete type ‘X509_NAME {aka struct X509_name_st}’
return PyString_FromStringAndSize(name->bytes->data, name->bytes->length);
^~
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:7574:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
x509v3_set_nconf() {
^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘make_stack_from_der_sequence’:
SWIG/_m2crypto_wrap.c:7690:13: warning: implicit declaration of function ‘ASN1_seq_unpack_X509’ [-Wimplicit-function-declaration]
certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
^~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:7690:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
^
SWIG/_m2crypto_wrap.c: In function ‘get_der_encoding_stack’:
SWIG/_m2crypto_wrap.c:7706:16: warning: implicit declaration of function ‘ASN1_seq_pack_X509’ [-Wimplicit-function-declaration]
encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
^~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:7706:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
^
SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:8332:31: error: dereferencing pointer to incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
return bn_to_mpi(ecdsa_sig->r);
^~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv2_method’:
SWIG/_m2crypto_wrap.c:18473:26: warning: implicit declaration of function ‘SSLv2_method’ [-Wimplicit-function-declaration]
result = (SSL_METHOD *)SSLv2_method();
^~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:18473:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
result = (SSL_METHOD *)SSLv2_method();
^
SWIG/_m2crypto_wrap.c: In function ‘_wrap_tlsv1_method’:
SWIG/_m2crypto_wrap.c:18499:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
result = (SSL_METHOD *)TLSv1_method();
^~~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from SWIG/_m2crypto_wrap.c:4052:
/usr/include/openssl/ssl.h:1596:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD TLSv1_method(void)) / TLSv1.0 */
^
SWIG/_m2crypto_wrap.c: In function ‘_wrap_c2i_asn1_object’:
SWIG/_m2crypto_wrap.c:25911:27: warning: implicit declaration of function ‘c2i_ASN1_OBJECT’ [-Wimplicit-function-declaration]
result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
^~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:25911:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
^
SWIG/_m2crypto_wrap.c: In function ‘init__m2crypto’:
SWIG/_m2crypto_wrap.c:31531:79: warning: implicit declaration of function ‘SWIG_From_wchar_t’ [-Wimplicit-function-declaration]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31531:119: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31531:120: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31531:79: warning: passing argument 4 of ‘SWIG_Python_SetConstant’ makes pointer from integer without a cast [-Wint-conversion]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:1236:1: note: expected ‘PyObject * {aka struct _object *}’ but argument is of type ‘int’
SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
^~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31532:113: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31532:114: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31580:111: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31580:112: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31581:117: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31581:118: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31581:77: warning: passing argument 4 of ‘SWIG_Python_SetConstant’ makes pointer from integer without a cast [-Wint-conversion]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:1236:1: note: expected ‘PyObject * {aka struct _object *}’ but argument is of type ‘int’
SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
^~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31639:112: error: ‘SSL_ST_INIT’ undeclared (first use in this function)
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SSL_ST_RENEGOTIATE",SWIG_From_int((int)((0x04|SSL_ST_INIT))));
^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31639:112: note: each undeclared identifier is reported only once for each function it appears in
SWIG/_m2crypto_wrap.c: In function ‘dh_get_p’:
SWIG/_m2crypto_wrap.c:5852:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_g’:
SWIG/_m2crypto_wrap.c:5860:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_pub’:
SWIG/_m2crypto_wrap.c:5868:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_priv’:
SWIG/_m2crypto_wrap.c:5876:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘rsa_get_e’:
SWIG/_m2crypto_wrap.c:5985:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘rsa_get_n’:
SWIG/_m2crypto_wrap.c:5993:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘rsa_check_pub_key’:
SWIG/_m2crypto_wrap.c:6353:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:6368:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_s’:
SWIG/_m2crypto_wrap.c:6372:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_p’:
SWIG/_m2crypto_wrap.c:6410:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_q’:
SWIG/_m2crypto_wrap.c:6418:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_g’:
SWIG/_m2crypto_wrap.c:6426:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_pub’:
SWIG/_m2crypto_wrap.c:6434:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_priv’:
SWIG/_m2crypto_wrap.c:6442:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_check_key’:
SWIG/_m2crypto_wrap.c:6695:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_check_pub_key’:
SWIG/_m2crypto_wrap.c:6699:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_keylen’:
SWIG/_m2crypto_wrap.c:6703:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘x509_name_get_der’:
SWIG/_m2crypto_wrap.c:7519:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:8333:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_s’:
SWIG/_m2crypto_wrap.c:8337:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
At top level:
SWIG/_m2crypto_wrap.c:3992:13: warning: ‘lock_count’ defined but not used [-Wunused-variable]
static long lock_count[CRYPTO_NUM_LOCKS];
^~~~~~~~~~
SWIG/_m2crypto_wrap.c:3991:27: warning: ‘lock_cs’ defined but not used [-Wunused-variable]
static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS];
^~~~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Failed building wheel for M2Crypto
Running setup.py clean for M2Crypto
Running setup.py bdist_wheel for typing ... done
Stored in directory: /root/.cache/pip/wheels/d5/bf/c0/2219685d960a3ca52c11cbe323b2733293df7d96f97b33994e
Successfully built typing
Failed to build M2Crypto
Installing collected packages: typing, M2Crypto
Running setup.py install for M2Crypto ... error
Complete output from command /root/.virtualenvs/Kraken/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-VmQvPL/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-MEr2Le-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/Kraken/include/site/python2.7/M2Crypto:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/init.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/_m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto
creating build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/init.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
creating build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/init.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/m2crypto.i to SWIG/m2crypto_wrap.c
swig -python -D__x86_64
-I/usr/include/python2.7 -I/usr/include -I/usr/include/x86_64-linux-gnu -includeall -modern -builtin -outdir build/lib.linux-x86_64-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
/usr/include/x86_64-linux-gnu/sys/cdefs.h:159: Warning 305: Bad constant value (ignored).
/usr/include/x86_64-linux-gnu/bits/wchar.h:38: Warning 490: Fragment 'SWIG_From_wchar_t' not found.
/usr/include/stdint.h:274: Warning 490: Fragment 'SWIG_From_wchar_t' not found.
SWIG/_bio.i:64: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_rand.i:23: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_evp.i:180: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_dh.i:36: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_rsa.i:43: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_dsa.i:31: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_ssl.i:241: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_ssl.i:242: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_x509.i:332: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_util.i:11: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_ec.i:111: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_engine.i:168: Warning 454: Setting a pointer/reference variable may leak memory.
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/SWIG
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/usr/include -I/usr/include/x86_64-linux-gnu -I/tmp/pip-build-VmQvPL/M2Crypto/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -DTHREADING
SWIG/_m2crypto_wrap.c:3991:35: error: ‘CRYPTO_NUM_LOCKS’ undeclared here (not in a function)
static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS];
^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘lib_init’:
SWIG/_m2crypto_wrap.c:4396:5: warning: implicit declaration of function ‘SSLeay_add_all_algorithms’ [-Wimplicit-function-declaration]
SSLeay_add_all_algorithms();
^~~~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘bn_rand’:
SWIG/_m2crypto_wrap.c:4833:12: error: storage size of ‘rnd’ isn’t known
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c:4837:5: warning: implicit declaration of function ‘BN_init’ [-Wimplicit-function-declaration]
BN_init(&rnd);
^~~~~~~
SWIG/_m2crypto_wrap.c:4833:12: warning: unused variable ‘rnd’ [-Wunused-variable]
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c: In function ‘bn_rand_range’:
SWIG/_m2crypto_wrap.c:4862:12: error: storage size of ‘rnd’ isn’t known
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c:4862:12: warning: unused variable ‘rnd’ [-Wunused-variable]
SWIG/_m2crypto_wrap.c: In function ‘rand_pseudo_bytes’:
SWIG/_m2crypto_wrap.c:5013:5: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
ret = RAND_pseudo_bytes(blob, n);
^~~
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/err.h:21,
from SWIG/_m2crypto_wrap.c:3634:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
^
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:5032:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
PyObject *rand_file_name() {
^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘digest_final’:
SWIG/_m2crypto_wrap.c:5157:34: error: dereferencing pointer to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
if (!(blob = PyMem_Malloc(ctx->digest->md_size))) {
^~
SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_new’:
SWIG/_m2crypto_wrap.c:5180:49: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
if (!(ctx = (HMAC_CTX *)PyMem_Malloc(sizeof(HMAC_CTX)))) {
^~~~~~~~
SWIG/_m2crypto_wrap.c:5184:5: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
HMAC_CTX_init(ctx);
^~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_free’:
SWIG/_m2crypto_wrap.c:5189:5: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(ctx);
^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘hmac_init’:
SWIG/_m2crypto_wrap.c:5200:5: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations]
if (!HMAC_Init(ctx, kbuf, klen, md)) {
^~
In file included from /usr/include/openssl/hmac.h:13:0,
from /usr/include/openssl/ssl.h:56,
from SWIG/_m2crypto_wrap.c:4052:
/usr/include/openssl/hmac.h:28:1: note: declared here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
^
SWIG/_m2crypto_wrap.c: In function ‘hmac_final’:
SWIG/_m2crypto_wrap.c:5228:34: error: dereferencing pointer to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
if (!(blob = PyMem_Malloc(ctx->md->md_size))) {
^~
SWIG/_m2crypto_wrap.c: In function ‘cipher_ctx_new’:
SWIG/_m2crypto_wrap.c:5280:55: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
if (!(ctx = (EVP_CIPHER_CTX *)PyMem_Malloc(sizeof(EVP_CIPHER_CTX)))) {
^~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘cipher_final’:
SWIG/_m2crypto_wrap.c:5373:34: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
if (!(obuf = PyMem_Malloc(ctx->cipher->block_size))) {
^~
SWIG/_m2crypto_wrap.c: In function ‘pkey_get_modulus’:
SWIG/_m2crypto_wrap.c:5539:17: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
switch (pkey->type) {
^~
SWIG/_m2crypto_wrap.c:5550:35: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
if (!BN_print(bio, rsa->n)) {
^~
SWIG/_m2crypto_wrap.c:5582:35: error: dereferencing pointer to incomplete type ‘DSA {aka struct dsa_st}’
if (!BN_print(bio, dsa->pub_key)) {
^~
SWIG/_m2crypto_wrap.c: In function ‘dh_generate_parameters’:
SWIG/_m2crypto_wrap.c:5795:5: warning: ‘DH_generate_parameters’ is deprecated [-Wdeprecated-declarations]
dh = DH_generate_parameters(plen, g, gendh_callback, (void *)pyfunc);
^~
In file included from /usr/include/openssl/bn.h:31:0,
from /usr/include/openssl/asn1.h:24,
from /usr/include/openssl/dh.h:18,
from SWIG/_m2crypto_wrap.c:4048:
/usr/include/openssl/dh.h:118:1: note: declared here
DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_p’:
SWIG/_m2crypto_wrap.c:5847:12: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
if (!dh->p) {
^~
SWIG/_m2crypto_wrap.c: In function ‘rsa_generate_key’:
SWIG/_m2crypto_wrap.c:6338:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
rsa = RSA_generate_key(bits, e, genrsa_callback, (void *)pyfunc);
^~~
In file included from /usr/include/openssl/rsa.h:13:0,
from SWIG/_m2crypto_wrap.c:4051:
/usr/include/openssl/rsa.h:193:1: note: declared here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:6367:29: error: dereferencing pointer to incomplete type ‘DSA_SIG {aka struct DSA_SIG_st}’
return bn_to_mpi(dsa_sig->r);
^~
SWIG/_m2crypto_wrap.c: In function ‘dsa_generate_parameters’:
SWIG/_m2crypto_wrap.c:6397:5: warning: ‘DSA_generate_parameters’ is deprecated [-Wdeprecated-declarations]
dsa = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, genparam_callback, (void *)pyfunc);
^~~
In file included from /usr/include/openssl/dsa.h:28:0,
from /usr/include/openssl/x509.h:32,
from /usr/include/openssl/ssl.h:50,
from SWIG/_m2crypto_wrap.c:4052:
/usr/include/openssl/dsa.h:122:1: note: declared here
DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
^
SWIG/_m2crypto_wrap.c: In function ‘sk_ssl_cipher_value’:
SWIG/_m2crypto_wrap.c:7318:12: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
return sk_SSL_CIPHER_value(stack, idx);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘x509_name_get_der’:
SWIG/_m2crypto_wrap.c:7517:43: error: dereferencing pointer to incomplete type ‘X509_NAME {aka struct X509_name_st}’
return PyString_FromStringAndSize(name->bytes->data, name->bytes->length);
^~
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:7574:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
x509v3_set_nconf() {
^~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘make_stack_from_der_sequence’:
SWIG/_m2crypto_wrap.c:7690:13: warning: implicit declaration of function ‘ASN1_seq_unpack_X509’ [-Wimplicit-function-declaration]
certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
^~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:7690:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
^
SWIG/_m2crypto_wrap.c: In function ‘get_der_encoding_stack’:
SWIG/_m2crypto_wrap.c:7706:16: warning: implicit declaration of function ‘ASN1_seq_pack_X509’ [-Wimplicit-function-declaration]
encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
^~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:7706:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
^
SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:8332:31: error: dereferencing pointer to incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
return bn_to_mpi(ecdsa_sig->r);
^~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv2_method’:
SWIG/_m2crypto_wrap.c:18473:26: warning: implicit declaration of function ‘SSLv2_method’ [-Wimplicit-function-declaration]
result = (SSL_METHOD *)SSLv2_method();
^~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:18473:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
result = (SSL_METHOD *)SSLv2_method();
^
SWIG/_m2crypto_wrap.c: In function ‘_wrap_tlsv1_method’:
SWIG/_m2crypto_wrap.c:18499:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
result = (SSL_METHOD *)TLSv1_method();
^~~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from SWIG/_m2crypto_wrap.c:4052:
/usr/include/openssl/ssl.h:1596:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD TLSv1_method(void)) / TLSv1.0 */
^
SWIG/_m2crypto_wrap.c: In function ‘_wrap_c2i_asn1_object’:
SWIG/_m2crypto_wrap.c:25911:27: warning: implicit declaration of function ‘c2i_ASN1_OBJECT’ [-Wimplicit-function-declaration]
result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
^~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:25911:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
^
SWIG/_m2crypto_wrap.c: In function ‘init__m2crypto’:
SWIG/_m2crypto_wrap.c:31531:79: warning: implicit declaration of function ‘SWIG_From_wchar_t’ [-Wimplicit-function-declaration]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31531:119: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31531:120: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31531:79: warning: passing argument 4 of ‘SWIG_Python_SetConstant’ makes pointer from integer without a cast [-Wint-conversion]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:1236:1: note: expected ‘PyObject * {aka struct _object *}’ but argument is of type ‘int’
SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
^~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31532:113: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31532:114: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31580:111: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31580:112: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\0) -1))));
^
SWIG/_m2crypto_wrap.c:31581:117: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31581:118: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^
SWIG/_m2crypto_wrap.c:31581:77: warning: passing argument 4 of ‘SWIG_Python_SetConstant’ makes pointer from integer without a cast [-Wint-conversion]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\0))));
^~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:1236:1: note: expected ‘PyObject * {aka struct _object *}’ but argument is of type ‘int’
SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
^~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31639:112: error: ‘SSL_ST_INIT’ undeclared (first use in this function)
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SSL_ST_RENEGOTIATE",SWIG_From_int((int)((0x04|SSL_ST_INIT))));
^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31639:112: note: each undeclared identifier is reported only once for each function it appears in
SWIG/_m2crypto_wrap.c: In function ‘dh_get_p’:
SWIG/_m2crypto_wrap.c:5852:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_g’:
SWIG/_m2crypto_wrap.c:5860:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_pub’:
SWIG/_m2crypto_wrap.c:5868:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_priv’:
SWIG/_m2crypto_wrap.c:5876:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘rsa_get_e’:
SWIG/_m2crypto_wrap.c:5985:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘rsa_get_n’:
SWIG/_m2crypto_wrap.c:5993:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘rsa_check_pub_key’:
SWIG/_m2crypto_wrap.c:6353:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:6368:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_s’:
SWIG/_m2crypto_wrap.c:6372:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_p’:
SWIG/_m2crypto_wrap.c:6410:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_q’:
SWIG/_m2crypto_wrap.c:6418:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_g’:
SWIG/_m2crypto_wrap.c:6426:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_pub’:
SWIG/_m2crypto_wrap.c:6434:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_get_priv’:
SWIG/_m2crypto_wrap.c:6442:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_check_key’:
SWIG/_m2crypto_wrap.c:6695:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_check_pub_key’:
SWIG/_m2crypto_wrap.c:6699:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_keylen’:
SWIG/_m2crypto_wrap.c:6703:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘x509_name_get_der’:
SWIG/_m2crypto_wrap.c:7519:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:8333:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_s’:
SWIG/_m2crypto_wrap.c:8337:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
At top level:
SWIG/_m2crypto_wrap.c:3992:13: warning: ‘lock_count’ defined but not used [-Wunused-variable]
static long lock_count[CRYPTO_NUM_LOCKS];
^~~~~~~~~~
SWIG/_m2crypto_wrap.c:3991:27: warning: ‘lock_cs’ defined but not used [-Wunused-variable]
static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS];
^~~~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/root/.virtualenvs/Kraken/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-VmQvPL/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-MEr2Le-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/Kraken/include/site/python2.7/M2Crypto" failed with error code 1 in /tmp/pip-build-VmQvPL/M2Crypto/
Collecting celery
Using cached celery-4.0.2-py2.py3-none-any.whl
Collecting billiard<3.6.0,>=3.5.0.2 (from celery)
Collecting pytz>dev (from celery)
Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
100% |████████████████████████████████| 491kB 953kB/s
Collecting kombu<5.0,>=4.0.2 (from celery)
Using cached kombu-4.0.2-py2.py3-none-any.whl
Collecting amqp<3.0,>=2.1.4 (from kombu<5.0,>=4.0.2->celery)
Using cached amqp-2.1.4-py2.py3-none-any.whl
Collecting vine>=1.1.3 (from amqp<3.0,>=2.1.4->kombu<5.0,>=4.0.2->celery)
Using cached vine-1.1.3-py2.py3-none-any.whl
Installing collected packages: billiard, pytz, vine, amqp, kombu, celery
Successfully installed amqp-2.1.4 billiard-3.5.0.2 celery-4.0.2 kombu-4.0.2 pytz-2016.10 vine-1.1.3
Collecting selenium
Using cached selenium-3.0.2-py2.py3-none-any.whl
Installing collected packages: selenium
Successfully installed selenium-3.0.2
Collecting image
Collecting pillow (from image)
Downloading Pillow-4.0.0-cp27-cp27mu-manylinux1_x86_64.whl (5.6MB)
100% |████████████████████████████████| 5.6MB 145kB/s
Collecting django (from image)
Using cached Django-1.10.5-py2.py3-none-any.whl
Collecting olefile (from pillow->image)
Downloading olefile-0.44.zip (74kB)
100% |████████████████████████████████| 81kB 3.0MB/s
Building wheels for collected packages: olefile
Running setup.py bdist_wheel for olefile ... done
Stored in directory: /root/.cache/pip/wheels/20/58/49/cc7bd00345397059149a10b0259ef38b867935ea2ecff99a9b
Successfully built olefile
Installing collected packages: olefile, pillow, django, image
Successfully installed django-1.10.5 image-1.5.5 olefile-0.44 pillow-4.0.0
Requirement already satisfied: Django in /root/.virtualenvs/Kraken/lib/python2.7/site-packages
Collecting Pillow==2.6.1
Downloading Pillow-2.6.1.zip (7.5MB)
100% |████████████████████████████████| 7.5MB 99kB/s
Collecting requests
Downloading requests-2.13.0-py2.py3-none-any.whl (584kB)
100% |████████████████████████████████| 593kB 1.5MB/s
Building wheels for collected packages: Pillow
Running setup.py bdist_wheel for Pillow ... done
Stored in directory: /root/.cache/pip/wheels/d0/3d/6f/4a3dbe290c7053073e6c32734c146d7174f2ad7675030b6137
Successfully built Pillow
Installing collected packages: Pillow, requests
Found existing installation: Pillow 4.0.0
Uninstalling Pillow-4.0.0:
Successfully uninstalled Pillow-4.0.0
Successfully installed Pillow-2.6.1 requests-2.13.0
./setup.sh: line 117: ./manage.py: No such file or directory
./setup.sh: line 118: ./manage.py: No such file or directory
./setup.sh: line 119: ./manage.py: No such file or directory
Creating Django Superuser
python: can't open file './manage.py': [Errno 2] No such file or directory
chmod: cannot access '/opt/Kraken/Kraken/kraken.db': No such file or directory
chown: cannot access '/opt/Kraken/Kraken/kraken.db': No such file or directory
chgrp: cannot access '/opt/Kraken/Kraken/kraken.db': No such file or directory
Setting up Apache config
Select a TCP port to host Kraken on: [8000]

Starting Kraken
Setup complete!

Restarting Kraken.
[ ok ] Stopping rabbitmq-server (via systemctl): rabbitmq-server.service.
celery init v10.1.
Using config script: /etc/default/celeryd

  • Creating default directory: '/var/log/celery'
  • Changing permissions of '/var/log/celery' to 02755
  • Changing owner of '/var/log/celery' to 'celery'
  • Changing group of '/var/log/celery' to 'celery'
  • Creating default directory: '/var/run/celery'
  • Changing permissions of '/var/run/celery' to 02755
  • Changing owner of '/var/run/celery' to 'celery'
  • Changing group of '/var/run/celery' to 'celery'
    celery multi v4.0.2 (latentcall)

krakenworker@kali: DOWN
[ ok ] Stopping apache2 (via systemctl): apache2.service.
Kraken stopped.
[ ok ] Starting rabbitmq-server (via systemctl): rabbitmq-server.service.
celery init v10.1.
Using config script: /etc/default/celeryd
celery multi v4.0.2 (latentcall)
Starting nodes...
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/celery/main.py", line 18, in
main()
File "/usr/local/lib/python2.7/dist-packages/celery/main.py", line 14, in main
_main()
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 326, in main
cmd.execute_from_commandline(argv)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/celery.py", line 488, in execute_from_commandline
super(CeleryCommand, self).execute_from_commandline(argv)))
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 279, in execute_from_commandline
argv = self.setup_app_from_commandline(argv)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 481, in setup_app_from_commandline
self.app = self.find_app(app)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 503, in find_app
return find_app(app, symbol_by_name=self.symbol_by_name)
File "/usr/local/lib/python2.7/dist-packages/celery/app/utils.py", line 355, in find_app
sym = symbol_by_name(app, imp=imp)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/base.py", line 506, in symbol_by_name
return imports.symbol_by_name(name, imp=imp)
File "/usr/local/lib/python2.7/dist-packages/kombu/utils/imports.py", line 56, in symbol_by_name
module = imp(module_name, package=package, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/utils/imports.py", line 101, in import_from_cwd
return imp(module, package=package)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named Kraken
> krakenworker@kali: * Child terminated with exit code 1
FAILED
[ ok ] Starting apache2 (via systemctl): apache2.service.

Kraken started.
Open a browser and navigate to http://localhost:8000

[Tue Jan 31 17:09:46] root@kali:/opt/Kraken #
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.