Small quibble - you might want to escape the dot in your file matching pattern. As I'm sure you knew, but I'm telling you to be annoying, . matches any character, whereas you probably meant:
push @files, $File::Find::name if /index\.dat/;
--
my one true love
| [reply] [d/l] [select] |
Ah, yes, valid point. And as crazyinsomniac points out - don't try to run this in Windows - boot to DOS first! (f8 at boot, I think :)
cLive ;-)
--
seek(JOB,$$LA,0);
| [reply] |
first, you must direct the File::find to your current dir (or it will treat the target "Local setting" directory as if it is on c: root
find(\&wanted, "c:\/Documents and Settings\/YourUser\/Local Settings");
second - perl cant unlink the file (locked -> permission denied"). i use overwrite, which also takes care of the undelete problem:
use File::Copy;
copy('c:\empty.txt',$_)||$!;
| [reply] |
This formula is too complicated for me. But I pulled an excellent article from www.nethole.com. I had entered dir/s and dir/s/as, before using a window washer so had idea of all the sites I had visited from day one listed right there. Window washers do some good but did not get all the urlcaches but did delete a good deal from this directory. c:\windows\dir/s
Go to start/run/ type in "Regedit" the "Registry Editor" will pop up, go to "Edit" click on "Find" type in "TypedURLs" then hit "Find Next.” You will be taken to all the places you have typed in URLs manually. Erase any URLs that you find. DO NOT ERASE THE FOLDERS.
Outlook express is another strong hold for these client Urlcaches and HP even had a list of all the sites I had down loaded and printed.
Also go to "Tools" "Internet Options" "Content" "Auto Complete" and un click "Web Address" "Forms" and "User Names And Password On Forms" this will take away the memory of your name and SSN so you will no longer be able to left click and have your name and SSN appear on the form and you will no longer have a history of URLs under your address bar but there are at least two other url that will store this address for you. AL Holdings
| [reply] |
After reading the article, maybe just deleting the files may not
be enough, since MS might wise up and just undelete the file.
So what would be a good wipe routine to run on $_ before
doing the unlink? Split it into characters and replace each
character with 0?
Ideas? | [reply] |
descartes wrote an implementation of the Orange Book's shred program, which is apparently a pretty good way of truly zapping files, if it's the contents of the file you're worried about.
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'
| [reply] |