Feb 26, 2012

Undelete files in Ubuntu 11.10 with foremost

Foremost được phát triển bởi United States Air Force Office of Special
Investigations và The Center for Information Systems Security Studies
and Research, về sau foremost được mở mã.
Đây là phần mềm hiếm có thể undelete tệp trên ext3, ext4.
Kết quả chạy thử: Undelete thành công một số tệp nhỏ trên Ubuntu 11.10
Chạy thử trên: Ubuntu 11.10
Foremost: Được cài mặc định bằng sudo apt-get install foremost
Lệnh chạy: sudo foremost -t rar -i /dev/sda8 -o foremost/
Ổ cứng: SATA, 300GB
Filesystem: ext4
Thời gian chạy: Khoảng 2.5h
vuhung@lnv:~/tmp/foremost/rar$ ls -l
tổng 2392
-rw-r--r-- 1 vuhung vuhung 146791 Th02 26 21:00 142346150.rar
-rw-r--r-- 1 vuhung vuhung 362192 Th02 26 21:00 143931690.rar
-rw-r--r-- 1 vuhung vuhung 388616 Th02 26 21:00 143933334.rar
-rw-r--r-- 1 vuhung vuhung 177328 Th02 26 21:01 146035208.rar
-rw-r--r-- 1 vuhung vuhung 300885 Th02 26 21:01 146038198.rar
-rw-rw-r-- 1 vuhung vuhung 1012416 Th12 22 2006
AC4_speechless_vs_Yaga_DK_FR.mgx
vuhung@lnv:~/tmp/foremost/rar$ cat ../audit.txt
Foremost version 1.5.7 by Jesse Kornblum, Kris Kendall, and Nick Mikus
Audit File
Foremost started at Sun Feb 26 20:43:05 2012
Invocation: foremost -t rar -i /dev/sda8 -o foremost/
Output directory: /home/vuhung/tmp/foremost
Configuration file: /etc/foremost.conf
------------------------------------------------------------------
File: /dev/sda8
Start: Sun Feb 26 20:43:05 2012
Length: 277 GB (298180411392 bytes)
Num Name (bs=512) Size File Offset Comment
0: 142346150.rar 143 KB 72881228800
1: 143931690.rar 353 KB 73693025280
2: 143933334.rar 379 KB 73693867008
3: 146035208.rar 173 KB 74770026496
4: 146038198.rar 293 KB 74771557376
Finish: Sun Feb 26 22:23:02 2012
5 FILES EXTRACTED

rar:= 5
------------------------------------------------------------------
Foremost finished at Sun Feb 26 22:23:02 2012

Một tệp recovery hỏng:
vuhung@lnv:~/tmp/foremost/rar$ unrar x 143933334.rar

UNRAR 4.00 beta 3 freeware      Copyright (c) 1993-2010 Alexander Roshal


Extracting from 143933334.rar

Extracting  WCL5 R6 ThuG vs Tsu A BR.mgx                              16%
WCL5 R6 ThuG vs Tsu A BR.mgx - CRC failed
Unexpected end of archive
Total errors: 2


Tham khảo:
http://www.ubuntu-unleashed.com/2008/04/howtorecover-and-undelete-text-file-in.html

No comments: