Re: Help with (relatively) securely deleting files?
From: Bodo Eggert (7eggert_at_7eggert.dyndns.org)
Date: 04/10/05
- Previous message: Bev A. Kupf: "Re: Help with (relatively) securely deleting files?"
- In reply to: Bev A. Kupf: "Re: Help with (relatively) securely deleting files?"
- Next in thread: jpd: "Re: Help with (relatively) securely deleting files?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 10 Apr 2005 22:42:07 +0200
Bev A. Kupf <bevakupf@myhome.net> wrote:
> On Sun, 10 Apr 2005 21:13:03 +0200,
> Bodo Eggert (7eggert@7eggert.dyndns.org) wrote:
>>
>> see man shred.
>
> Unfortunately GNU shred is not on this system.
Is a C compiler on that system?
If not, maybe you can use a perlscript like
#!/usr/bin/perl -wsT
loop: for my $file (@ARGV) {
if(-f $file) {
for my $pattern
("\xff","\x55","\xaa","\x00","\xdb","\x00") {
if(!sysopen(F, $file, O_RDWR|O_SYNC|O_BINARY) {
warn("open($file): $!");
next loop;
}
print F $pattern x (-s $file);
}
}
close(F); # shouldn't be needed here
}
This is basically shred minus the random data pass.
-- Field experience is something you don't get until just after you need it. Friß, Spammer: evonbMloan-7vdf@fhqyxeq.com si9m@3wZma.7eggert.dyndns.org Alexandria077@tefty.com vita@123hammertime.biz customer@lendersforyou.com
- Previous message: Bev A. Kupf: "Re: Help with (relatively) securely deleting files?"
- In reply to: Bev A. Kupf: "Re: Help with (relatively) securely deleting files?"
- Next in thread: jpd: "Re: Help with (relatively) securely deleting files?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|