Pages: [1]
  Print  
TS Forum > TriviaSecurity Info > Articles & Tutorials > Erase Hard Drive Quickly ( 10 seconds)  
Author Topic: Erase Hard Drive Quickly ( 10 seconds)  (Read 1059 times)
Bipolardivide
Newbie
*
Posts: 0



View Profile
« on: December 13, 2005, 11:19:31 pm »

Boot to DOS MODE

0.Type Debug and press enter
1.At the "-" prompt type A and then enter
2.Type MOV AX, 0301 then enter
3.Type MOV BX, 0020 then enter
4.Type MOV CX, 0001 then enter
5.Type MOV DX, 0080 then enter
6.Type INT13 then enter
7.Press enter again
8.Type G and then Enter

This procedure will destroy all data on the drive, as well as all partitions Cheesy

Logged
hansel22
Global Moderator
Hero Member
*****
Posts: 609


View Profile
« Reply #1 on: December 13, 2005, 11:27:25 pm »

another way... http://dban.sourceforge.net/
Logged
Bipolardivide
Newbie
*
Posts: 0



View Profile
« Reply #2 on: December 13, 2005, 11:31:58 pm »

Yes, that' a nice one too, but this runs instantly instead of off a floppy, making it slightly faster  Cheesy

Logged
hansel22
Global Moderator
Hero Member
*****
Posts: 609


View Profile
« Reply #3 on: December 13, 2005, 11:37:43 pm »

My typing is painfully slow.  :wink:
Logged
defusion
Guest
« Reply #4 on: December 13, 2005, 11:45:44 pm »

this doesnt destroy all data does it?
i mean the overwrite everything with 0's destruction
Logged
Bipolardivide
Newbie
*
Posts: 0



View Profile
« Reply #5 on: December 14, 2005, 12:34:16 am »

Yes, it's a complete 0 write of the drive

Logged
Terencentanio
Full Member
***
Posts: 135


View Profile
« Reply #6 on: December 14, 2005, 02:31:40 am »

Pfft. No error checking really so it's not guaranteed to set all sectors to 0. Add some conditionals, some jumps and some internal routines.

O-('.'Q)
Logged
dr_amado
Administrator
Sr. Member
*****
Posts: 469



View Profile
« Reply #7 on: December 14, 2005, 03:11:04 am »

http://www.uv.tietgen.dk/staff/mlha/PC/Prog/ASM/INT/

failure to prepare is preparing to fail.
Logged
Terencentanio
Full Member
***
Posts: 135


View Profile
« Reply #8 on: December 14, 2005, 04:01:18 am »

You're looking for something more like:

Code:
   ; Refering to 8-bit reggies for clarity

    mov ch, 0
    mov cl, 1

    .set_to_0:
        mov ah, 3
        mov al, 1
        mov dh, 0
        mov dl, 0
        int 13h
        ; Remember, BIOS interrupts don't work in Pmode
        jc .set_to_0

        inc cl
        cmp cl, 9
        jne .set_to_0
        inc ch
        mov cl, 1
        jmp .set_to_0


... a 5/10 min job I just threw together. Probs will need modding.

O-('.'Q)
Logged
umair
Newbie
*
Posts: 1


View Profile
« Reply #9 on: March 06, 2007, 03:18:46 pm »

Can This Code Erase Data Of All Partitions Of 80 GB Sata Hard Drive
Logged
   
Pages: [1]
  Print  
 
Jump to:  

Forum powered by SMF | © 2010 TriviaSecurity. All rights reserved.