Потребителски вход

Запомни ме | Регистрация
Постинг
24.07.2014 19:30 - Сигурно изтриване на файлове под Windows, Linux и FreeBSD
Автор: ricochet Категория: Технологии   
Прочетен: 1304 Коментари: 1 Гласове:
1

Последна промяна: 21.09.2014 15:23


 Вероятно понякога сте се питали как да изтриете файл от файловата система без да остават от него никакви следи ? Сега ще ви покажа начини pod Windows, Linux и FreeBSD операционни ситеми.

За Windows - sDelete: Изтриване на файлове завинаги

За тази цел може да използвате sDelete  technet.microsoft.com/en-us/sysinternals/bb897443.aspx , който е с големина (81 Kb).
Може да бъде използван под Windows XP, Windows Server 2003 или по високи версии като няма нужда от инсталиране.

Един път свален на локалния компютър примерно в c:downloads 
следва да натиснете бутона START --> RUN --> CMD 
и в новопоявилия се прозорец напишете cd c:downloads

За изтриване на съдържание на файл примерно :


sdelete -p 10 -z d:docsproba.doc

За изтирване на съдържанието в цяла директория примерно :

sdelete -p 10 -z d:docsproba

sDelete кратко съдържание на командите :


Usage: sdelete [-p passes] [-s] [-q]   

      sdelete [-p passes] [-z|-c] [drive letter]  

-c Zero free space (good for virtual disk optimization).  

-p passes Specifies number of overwrite passes.  

-s Recurse subdirectories.  -q Don"t print errors (quiet).  

-z Cleanse free space


За Linux дистрибуции ползвайте - shred: Изтриване на файлове завинаги

Отворете терминал, и за да използвате shred трябва да имате права на root :

$ shred -n 200 -z -u probenfile.doc

 

Mandatory arguments to long options are mandatory for short options too.

  -f, --force    change permissions to allow writing if necessary

  -n, --iterations=N  overwrite N times instead of the default (3)

      --random-source=FILE  get random bytes from FILE

  -s, --size=N   shred this many bytes (suffixes like K, M, G accepted)

  -u, --remove[=HOW]  truncate and remove file after overwriting; See below

  -v, --verbose  show progress

  -x, --exact    do not round file sizes up to the next full block;

                   this is the default for non-regular files

  -z, --zero     add a final overwrite with zeros to hide shredding

      --help     display this help and exit

      --version  output version information and exit  

 -f, --force    change permissions to allow writing if necessary

  -n, --iterations=N  overwrite N times instead of the default (3)

      --random-source=FILE  get random bytes from FILE

  -s, --size=N   shred this many bytes (suffixes like K, M, G accepted)

  -u, --remove[=HOW]  truncate and remove file after overwriting; See below

  -v, --verbose  show progress

  -x, --exact    do not round file sizes up to the next full block;

                   this is the default for non-regular files

  -z, --zero     add a final overwrite with zeros to hide shredding

      --help     display this help and exit

      --version  output version information and exit

За FreeBSD ползвайте - gshred: Изтриване на файлове завинаги

Първо трябва да се инсталира port ситемата по следния начин :

# portsnap fetch update

Инсталиране на coreutils използвайте следните команди :

# cd /usr/ports/sysutils/coreutils
# make install clean
# rehash

Как се изтрива файл завинаги ?

Примерно със следната команда :

# gshred -f -v -z -u /home/user/proba.doc


Mandatory arguments to long options are mandatory for short options too.

  -f, --force    change permissions to allow writing if necessary

  -n, --iterations=N  overwrite N times instead of the default (3)

      --random-source=FILE  get random bytes from FILE

  -s, --size=N   shred this many bytes (suffixes like K, M, G accepted)

  -u, --remove[=HOW]  truncate and remove file after overwriting; See below

  -v, --verbose  show progress

  -x, --exact    do not round file sizes up to the next full block;

                   this is the default for non-regular files

  -z, --zero     add a final overwrite with zeros to hide shredding

      --help     display this help and exit

      --version  output version information and exit








 









Тагове:   Windows,   сигурно,   файлове,   изтриване,   под,   Linux,   freebsd,


Гласувай:
1



1. havefun - Добре дошла/дошъл в блога! Желая ти много успех! :))))
25.07.2014 22:09
Добре дошла/дошъл в блога! Желая ти много успех! :))))
цитирай
Търсене

За този блог
Автор: ricochet
Категория: Технологии
Прочетен: 50049
Постинги: 35
Коментари: 5
Гласове: 10
Архив
Календар
«  Април, 2024  
ПВСЧПСН
1234567
891011121314
15161718192021
22232425262728
2930