mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-05 16:01:52 +07:00
skip ram wipe inside VMs
https://forums.whonix.org/t/is-ram-wipe-possible-inside-whonix-cold-boot-attack-defense/5596/40
This commit is contained in:
@ -13,6 +13,11 @@ ram_wipe() {
|
|||||||
## check_quiet should show info in console.
|
## check_quiet should show info in console.
|
||||||
DRACUT_QUIET='no'
|
DRACUT_QUIET='no'
|
||||||
|
|
||||||
|
if systemd-detect-virt &>/dev/null ; then
|
||||||
|
info "wipe-ram.sh: Skip, because VM detected, OK."
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
info "wipe-ram.sh: START: COLD BOOT ATTACK DEFENSE - RAM WIPE ON SHUTDOWN"
|
info "wipe-ram.sh: START: COLD BOOT ATTACK DEFENSE - RAM WIPE ON SHUTDOWN"
|
||||||
info "wipe-ram.sh: Checking if there are still mounted encrypted disks..."
|
info "wipe-ram.sh: Checking if there are still mounted encrypted disks..."
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user