diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index 8f9ca5da..efbd3b9e 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -696,6 +696,8 @@ class Lookyloo(): with open(all_paths[0], 'rb') as f: return BytesIO(f.read()) to_return = BytesIO() + # Add uuid file to the export, allows to keep the same UUID across platforms. + all_paths.append(capture_dir / 'uuid') with ZipFile(to_return, 'w') as myzip: for path in all_paths: if path.name.endswith('pickle'): diff --git a/poetry.lock b/poetry.lock index f8c3af30..712ec292 100644 --- a/poetry.lock +++ b/poetry.lock @@ -361,7 +361,7 @@ hyperframe = ">=5.2.0,<6" [[package]] name = "har2tree" -version = "1.8.3" +version = "1.8.4" description = "HTTP Archive (HAR) to ETE Toolkit generator" category = "main" optional = false @@ -1300,7 +1300,7 @@ misp = ["python-magic", "pydeep"] [metadata] lock-version = "1.1" python-versions = "^3.8" -content-hash = "dbaf93dd4f05bdd9bfd602cf0e37855a08cccf816c33dcbcad7e4d864ac05d1c" +content-hash = "65128f4aa0b3fb1da0a83d35de3b77fd4033146be25ee0caeecd1f984f18db6d" [metadata.files] aiohttp = [ @@ -1540,8 +1540,8 @@ h2 = [ {file = "h2-3.2.0.tar.gz", hash = "sha256:875f41ebd6f2c44781259005b157faed1a5031df3ae5aa7bcb4628a6c0782f14"}, ] har2tree = [ - {file = "har2tree-1.8.3-py3-none-any.whl", hash = "sha256:0adc8dbc0a4a0eabacc250c0501fe18fc9a4a98785b298d5adc3399d4e22cee8"}, - {file = "har2tree-1.8.3.tar.gz", hash = "sha256:94dc41fb389acadfa14e5b4587de20505713085bb93f5f8c219880ade2d99c39"}, + {file = "har2tree-1.8.4-py3-none-any.whl", hash = "sha256:449ffe7a5149a8bbfcf9056a7018504d51eff32a9819a8272790443ad3f68676"}, + {file = "har2tree-1.8.4.tar.gz", hash = "sha256:5df81366acd99b4937d83d357f9099dabc22915fb40567bdab3d941498b9bcaa"}, ] hiredis = [ {file = "hiredis-2.0.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b4c8b0bc5841e578d5fb32a16e0c305359b987b850a06964bd5a62739d688048"}, diff --git a/pyproject.toml b/pyproject.toml index 24ad3342..2e43d872 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ vt-py = "^0.7.2" pyeupi = "^1.1" scrapysplashwrapper = "^1.8" pysanejs = "^1.5" -har2tree = "^1.8.3" +har2tree = "^1.8.4" pylookyloo = "^1.8" dnspython = "^2.1.0" pytaxonomies = "^1.4.1"