Skip to content

andylytical/autonuke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

autonuke

Script to shred all disks found on a host

Simple usage on a single host

Assume logged in as root (usually default for SystemRescueCD)

  1. git clone
  2. ./autonuke

Wipe multiple machines all on same network

Nodes must all be connected to a common network. One node will act as master and serve DHCP and PXE boot requests.

Boot one host as master host

See also: http://www.sysresccd.org/Sysresccd-manual-en_PXE_network_booting

  1. Boot systemrescuecd from cd
  2. Configure network settings:
    • /etc/cond.f/network
    ifconfig_eth0=”192.168.0.5 netmask 255.255.255.0”
    defaultroute=”gw 192.168.0.254”
    
  3. If more than 50 hosts:
    1. Change PXEBOOTSRV_DHCPRANGE in /etc/conf.d/pxebootsrv
  4. /etc/init.d/pxebootsrv start

Boot additional hosts to have their hard drives 'shred'ed

  1. Edit /tftpboot/pxelinux.cfg/default
    append …  ar_source=http://192.168.1.5 setkmap=us
    
  2. Copy contents of autonuke to /tftpboot/autorun
  3. Any node that PXEboots on this network will automatically shred all hard drives without prompting.

About

Script to shred all disks found on a host

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages