-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTM_Nuke.sh
More file actions
21 lines (17 loc) · 801 Bytes
/
Copy pathTM_Nuke.sh
File metadata and controls
21 lines (17 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
customer=$( \
zenity --entry \
--title="Techmore Nuke Me" \
--text="Who are your preforming the wipe for?" \
--width=300 \
--entry-text="Customer Name" \
)
if zenity --question --cancel-label="DOD Triple Pass" --ok-label="Single Pass" --text="
Please select which level nuke you would like.
Single Pass : using /dev/zero we overwrite 0 to the first detected hard disk.
DOD Triple Pass : first /dev/urandom, then yes \"1\"| dd=of/dev/sda, then /dev/null.
Hard drives are overwritten with 0 last so a fresh install and image can be as compressed as possible."; then
. ~/Downloads/TM_Nuke/Single_Pass.sh | zenity --text-info --width=900 --height=800
else
. ~/Downloads/TM_Nuke/Triple_Pass.sh | zenity --text-info --width=900 --height=800
fi