mirror of
https://github.com/cuckoosandbox/cuckoo.git
synced 2026-10-12 02:12:40 +00:00
version 2.0.7
This commit is contained in:
@@ -710,7 +710,7 @@ def _205_206(c):
|
||||
c["virtualbox"]["controlports"] = "5000-5050"
|
||||
return c
|
||||
|
||||
def _206_210(c):
|
||||
def _206_207(c):
|
||||
c["auxiliary"]["replay"]["certificate"] = "bin/cert.p12"
|
||||
# We'd like to provide a secure default, but let's not inconvenience
|
||||
# upgrading users. TODO Might need to revisited once we write back config.
|
||||
@@ -738,7 +738,7 @@ migrations = {
|
||||
"2.0.3": ("2.0.4", _203_204),
|
||||
"2.0.4": ("2.0.5", _204_205),
|
||||
"2.0.5": ("2.0.6", _205_206),
|
||||
"2.0.6": ("2.1.0", _206_210),
|
||||
"2.0.6": ("2.0.7", _206_207),
|
||||
|
||||
# We're also capable of migrating away from 2.0-dev which basically means
|
||||
# that we might have to a partial migration from either 2.0-rc2 or 2.0-rc1.
|
||||
|
||||
+2
-2
@@ -47,9 +47,9 @@ copyright = u'2010-%s, Cuckoo Foundation' % datetime.now().year
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '2.0.6'
|
||||
version = '2.0.7'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '2.0.6'
|
||||
release = '2.0.7'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (C) 2016-2018 Cuckoo Foundation.
|
||||
# Copyright (C) 2016-2019 Cuckoo Foundation.
|
||||
# This file is part of Cuckoo Sandbox - https://cuckoosandbox.org/.
|
||||
# See the file 'docs/LICENSE' for copying permission.
|
||||
|
||||
@@ -149,7 +149,7 @@ def do_setup(**kwargs):
|
||||
|
||||
do_setup(
|
||||
name="Cuckoo",
|
||||
version="2.0.7a1",
|
||||
version="2.0.7",
|
||||
author="Stichting Cuckoo Foundation",
|
||||
author_email="[email protected]",
|
||||
packages=[
|
||||
|
||||
@@ -1160,7 +1160,7 @@ enabled = yes
|
||||
assert cfg["virtualbox"]["controlports"] == "5000-5050"
|
||||
assert cfg["routing"]["inetsim"]["ports"] is None
|
||||
|
||||
def test_migration_206_210():
|
||||
def test_migration_206_207():
|
||||
set_cwd(tempfile.mkdtemp())
|
||||
Folders.create(cwd(), "conf")
|
||||
|
||||
@@ -1179,7 +1179,7 @@ machines = cuckoo1
|
||||
interface = virbr0
|
||||
""")
|
||||
cfg = Config.from_confdir(cwd("conf"), loose=True)
|
||||
cfg = migrate(cfg, "2.0.6", "2.1.0")
|
||||
cfg = migrate(cfg, "2.0.6", "2.0.7")
|
||||
|
||||
assert cfg["auxiliary"]["replay"]["certificate"] == "bin/cert.p12"
|
||||
assert cfg["cuckoo"]["cuckoo"]["api_token"] is None
|
||||
|
||||
Reference in New Issue
Block a user