ikoniaris / thug-vagrant Goto Github PK
View Code? Open in Web Editor NEWVagrant configuration to setup a Thug honeyclient VM
License: GNU General Public License v3.0
Vagrant configuration to setup a Thug honeyclient VM
License: GNU General Public License v3.0
Hello - thanks for making this project!
I'm having some issues loading the VM. It looks like the problems start after python2.7 is unable to be installed. I'm using VirtualBox 4.3.9 on OS X.
I've pasted a full output of vagrant up
to this gist:
https://gist.github.com/cji/8d92bd1b3b3956f34514
Iit looks like the problems start around:
https://gist.github.com/cji/8d92bd1b3b3956f34514#file-vagrant-out-L752
and continues when pyv8 fails to build:
https://gist.github.com/cji/8d92bd1b3b3956f34514#file-vagrant-out-L5737
After it finishes if I vagrant ssh
and try to run thug I get:
vagrant@precise32:~$ python /opt/thug/src/thug.py -h
Traceback (most recent call last):
File "/opt/thug/src/thug.py", line 24, in <module>
from ThugAPI import *
File "/opt/thug/src/ThugAPI/__init__.py", line 1, in <module>
from .ThugAPI import ThugAPI
File "/opt/thug/src/ThugAPI/ThugAPI.py", line 29, in <module>
from DOM.W3C import w3c
File "/opt/thug/src/DOM/W3C/w3c.py", line 10, in <module>
from .DOMImplementation import DOMImplementation
File "/opt/thug/src/DOM/W3C/DOMImplementation.py", line 7, in <module>
import PyV8
ImportError: No module named PyV8
If I try to manually install python2.7 again:
vagrant@precise32:~$ sudo apt-get install python2.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.7 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
11 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up python2.7 (2.7.3-0ubuntu3.5) ...
Sorry: TypeError: ('compile() expected string without null bytes',)dpkg: error processing python2.7 (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python:
python depends on python2.7 (>= 2.7.3); however:
Package python2.7 is not configured yet.
dpkg: error processing python (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libpython2.7:
libpython2.7 depends on python2.7 (= 2.7.3-0ubuntu3.5); however:
Package python2.7 is not configured yet.
dpkg: error processing libpython2.7 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python2.7-dev:
python2.7-dev depends on python2.7 (= 2.7.3-0ubuntu3.5); however:
Package python2.7 is not configured yet.
python2.7-dev depends on libpython2.7 (= 2.7.3-0ubuntu3.5); however:
Package libpython2.7 is not configured yet.
dpkg: error processing python2.7-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-dev:
python-dev depends on python (= 2.7.3-0ubuntu2.2); however:
Package python is not configured yet.
python-dev depends on python2.7-dev (>= 2.7.3); however:
Package python2.7-dev is not configured yet.
dpkg: error processing python-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libboost-python1.46-dev:
libboost-python1.46-dev depends on python-dev; however:
Package python-dev is not configured yet.
libboost-python1.46-dev depends on python2.7; however:
Package python2.7 is not configured yet.
libboost-python1.46-dev depends on python (>= 2.7.1-0ubuntu2); however:
Package python is not configured yet.
libboost-python1.46-dev depends on python (<< 2.8); however:
Package python is not configured yet.
dpkg: error processing libboost-python1.46-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libboost-python-dev:
libboost-python-dev depends on libboost-python1.46-dev; however:
Package libboost-python1.46-dev is not configured yet.
dpkg: error processing libboost-python-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libboost-all-dev:
libboost-all-dev depends on libboost-python-dev; however:
Package libboost-python-dev is not configured yet.
dpkg: error processing libboost-all-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-pkg-resources:
python-pkg-resources depends on python (>= 2.6); however:
Package python is not configured yet.
python-pkg-resources depends on python (<< 2.8); however:
Package python is not configured yet.
dpkg: error processing python-pkg-resources (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-setuptools:
python-setuptools depends on python (>= 2.6); however:
Package python is not configured yet.
python-setuptools depends on python (<< 2.8); however:
Package python is not configured yet.
python-setuptools depends on python-pkg-resources (= 0.6.24-1ubuntu1); however:
Package python-pkg-resources is not configured yet.
dpkg: error processing python-setuptools (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-pip:
python-pip depends on python2.7; however:
Package python2.7 is not configured yet.
python-pip depends on python (>= 2.7.1-0ubuntu2); however:
Package python is not configured yet.
python-pip depends on python (<< 2.8); however:
Package python is not configured yet.
python-pip depends on python-pkg-resources; however:
Package python-pkg-resources is not configured yet.
python-pip depends on python-setuptools (>= 0.6c1); however:
Package python-setuptools is not configured yet.
dpkg: error processing python-pip (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python2.7
python
libpython2.7
python2.7-dev
python-dev
libboost-python1.46-dev
libboost-python-dev
libboost-all-dev
python-pkg-resources
python-setuptools
python-pip
E: Sub-process /usr/bin/dpkg returned an error code (1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.