vmcloak-deps
Dependency repository for VMCloak.
Dependency repository for VMCloak.
Dependency repository for VMCloak.
INFO:vmcloak:Starting the Virtual Machine 'w7' to install Windows.
INFO:vmcloak:Waiting for the Virtual Machine 'w7' to connect back, this may take up to 30 minutes.
Traceback (most recent call last):
File "/usr/local/bin/vmcloak", line 301, in
main()
File "/usr/local/bin/vmcloak", line 240, in main
sock.bind((s.host_ip, s.host_port))
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address
Ubuntu 14.04 LTS 64-bit
Python 2.7.6
VMCloak 0.2
Both using system Python (standard) installation, as well as installation in a virtualenv, specifying for vmcloak to apply a hardware profile results in an exception as it attempts to load the profile file from the deployed package (e.g. .../data/hwconf/{profile}.json) instead of $HOME/.vmcloak/hwconf/.
# configs/win7-x64.conf
...
hwconfig_profile = laptop
$ vmcloak -s configs/win7-x64.conf --no-register-cuckoo --dependencies silverlight5 cuckoo1
Warning: creating filesystem that does not conform to ISO-9660.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Traceback (most recent call last):
File "/usr/local/bin/vmcloak", line 290, in <module>
main()
File "/usr/local/bin/vmcloak", line 215, in main
initialize_vm(m, s, h, clone=False)
File "/usr/local/lib/python2.7/dist-packages/vmcloak/vm.py", line 213, in initialize_vm
m.init_vm(profile=s.hwconfig_profile)
File "/usr/local/lib/python2.7/dist-packages/vmcloak/abstract.py", line 147, in init_vm
hwconf = load_hwconf(profile=profile)
File "/usr/local/lib/python2.7/dist-packages/vmcloak/conf.py", line 112, in load_hwconf
conf = json.load(open(os.path.join(dirpath, fname), 'rb'))
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/vmcloak/data/hwconf/laptop.json'
Notice updated SHA1 hashes for these files?
$ wget -q http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe
$ wget -q http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe
$ sha1sum vcredist*
8bf41ba9eef02d30635a10433817dbb6886da5a2 vcredist_x64.exe
df7f0a73bfa077e483e51bfb97f5e2eceedfb6a3 vcredist_x86.exe
--- .vmcloak/deps/hashes.txt.bak 2015-03-31 23:58:34.742803852 +0000
+++ .vmcloak/deps/hashes.txt 2015-04-01 04:32:56.267529148 +0000
@@ -16,8 +16,8 @@
vcredist_2012_x86.exe = 7d6f654c16f9ce534bb2c4b1669d7dc039c433c9
vcredist_2012_x64.exe = c4ac45564e801e1bfd87936cac8a76c5754cdbd4
-vcredist_2013_x86.exe = 18f81495bc5e6b293c69c28b0ac088a96debbab2
-vcredist_2013_x64.exe = bef7e7cc1dcc45c0c11682d59c64843727557179
+vcredist_2013_x86.exe = df7f0a73bfa077e483e51bfb97f5e2eceedfb6a3
+vcredist_2013_x64.exe = 8bf41ba9eef02d30635a10433817dbb6886da5a2
FirefoxSetup3.6.20.exe = 1c66e23d9c65e2c8805da9ae033f254f084b16c7
Have a local dependency of Flash I'm looking to send PR for, but wanted to check on approach.
Adobe distributes old Flash versions as a large ZIP archive containing a full suite of files, including Windows and OS X installers, and both debug and standard builds.
120M fp_11.4.402.287_archive.zip
Archive: fp_11.4.402.287_archive.zip
Zip file size: 125520345 bytes, number of entries: 17
fp_11.4.402.287_archive/11_4_r402_287/
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_mac.dmg
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_mac_sa.app.zip
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_win.exe
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_win.msi
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_win_sa.exe
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_winax.exe
fp_11.4.402.287_archive/11_4_r402_287/flashplayer11_4r402_287_winax.msi
fp_11.4.402.287_archive/11_4_r402_287/uninstall_flashplayer11_4r402_287_mac.dmg
fp_11.4.402.287_archive/11_4_r402_287/uninstall_flashplayer11_4r402_287_win.exe
fp_11.4.402.287_archive/11_4_r402_287_debug/
fp_11.4.402.287_archive/11_4_r402_287_debug/flashplayer11_4r402_287_mac_debug.dmg
fp_11.4.402.287_archive/11_4_r402_287_debug/flashplayer11_4r402_287_mac_sa_debug.app.zip
fp_11.4.402.287_archive/11_4_r402_287_debug/flashplayer11_4r402_287_win_debug.exe
fp_11.4.402.287_archive/11_4_r402_287_debug/flashplayer11_4r402_287_win_sa_debug_32bit.exe
fp_11.4.402.287_archive/11_4_r402_287_debug/flashplayer11_4r402_287_winax_debug.exe
fp_11.4.402.287_archive/readme.txt
The way we handled this locally was to extract specific installers of interest (2 of them) from the archive into the .vmcloak/deps/files/
directory, and then configured hashes.txt and repo.ini. This would require the user to do the same and because it requires manual user interaction, would probably need to be accompanied with documentation; it has the advantage of requiring no modifications to VMCloak and means that the large archive only has to be downloaded once.
In theory it could be possible to extend the dependency system to support specifying an archive file and then working from specific paths within the archive; something like this:
Just some ideas, maybe there are better approaches too. How should we handle this?
Currently leading to installation of 32-bit package using cmd*_64 commands which fails the click.exe calls due to unexpected window title.
--- .vmcloak/deps/repo.ini.bak 2015-04-01 04:25:58.197528249 +0000
+++ .vmcloak/deps/repo.ini 2015-04-01 04:26:42.674166695 +0000
@@ -11,6 +11,7 @@
[python27]
filename = python-2.7.6.msi
+filename64 = python-2.7.6-x64.msi
flags = background
description = Python 2.7.6
cmd0 = click.exe "Python 2.7.6 Setup" "Next >"
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.