Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump raw guest VM memory feature #621

Merged
merged 29 commits into from
Sep 3, 2021
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9d73ce1
added pre/post sample RAM dump
desecnd Aug 5, 2021
cb69ac3
moved code to _memory_dump function, added config dump path
desecnd Aug 11, 2021
123e364
added native outdir destination for dumps & config boolean option raw…
desecnd Aug 13, 2021
403429d
removed unnecessary format string syntax
desecnd Aug 16, 2021
0fa0de9
added raw_memory_dump option to drakrun config
desecnd Aug 16, 2021
34e952d
added pre/post sample RAM dump
desecnd Aug 5, 2021
271b772
moved code to _memory_dump function, added config dump path
desecnd Aug 11, 2021
c72ddbd
added native outdir destination for dumps & config boolean option raw…
desecnd Aug 13, 2021
a94f833
removed unnecessary format string syntax
desecnd Aug 16, 2021
86ac6e6
added raw_memory_dump option to drakrun config
desecnd Aug 16, 2021
5847e13
fixed bad formating with black
desecnd Aug 19, 2021
dd6a6f3
added snapshot hash information to metadata.json
desecnd Aug 30, 2021
d0ef7f5
added gzip compression and tempfile usage to _memory_dump function
desecnd Aug 30, 2021
17cd968
changed file_sha256 method to private
desecnd Aug 30, 2021
8cd3faa
fixed log format to uppercase
desecnd Aug 30, 2021
acaa119
merged metadata snapshot-hash and gzip compression
desecnd Aug 30, 2021
a10bbf1
format - fix no empty line after shebang
desecnd Aug 31, 2021
ada9395
Merge branch 'master' into dump-memory
desecnd Aug 31, 2021
655af70
Fixed formatting with black
desecnd Aug 31, 2021
c2a75b2
moved memory_dump to VirtualMachine class
desecnd Sep 1, 2021
f87f8de
moved snapshot hash functionality to init_drakrun
desecnd Sep 1, 2021
6a849fe
updated drakrun config.ini raw_memory_dump option description
desecnd Sep 1, 2021
526cded
added explicit .gz extension to function parameter
desecnd Sep 3, 2021
c26e477
Added draksetup memdump export functionality
desecnd Sep 3, 2021
8b10e43
removed bare except
desecnd Sep 3, 2021
174a2a4
fixed string format
desecnd Sep 3, 2021
514a0e1
added pause to vm.restore
desecnd Sep 3, 2021
7f28ac1
moved file-hashing code to auxiliary function file_sha256 in util.py
desecnd Sep 3, 2021
71a02d5
fixed typo's and misleading names in file_sha256 function
desecnd Sep 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed formatting with black
  • Loading branch information
desecnd committed Aug 31, 2021
commit 655af70d0722ccca63ce3126221e806015d17131
8 changes: 7 additions & 1 deletion drakrun/drakrun/main.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,13 @@

from drakrun.version import __version__ as DRAKRUN_VERSION
from drakrun.drakpdb import dll_file_list
from drakrun.config import InstallInfo, ETC_DIR, PROFILE_DIR, APISCOUT_PROFILE_DIR, VOLUME_DIR
from drakrun.config import (
InstallInfo,
ETC_DIR,
PROFILE_DIR,
APISCOUT_PROFILE_DIR,
VOLUME_DIR,
)
from drakrun.storage import get_storage_backend
from drakrun.networking import start_tcpdump_collector, start_dnsmasq, setup_vm_network
from drakrun.util import (