Tabla de Contenidos

Recuperar datos borrados con rm

Advertencia

Este documento es privado y es de uso exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra le ley de derechos de autor y de propiedad intelectual, y será motivo de una acción legal.

 


 

 

 

Descripción

 

Si usted,


Este tutorial es para usted.

Requerimientos

  1. Es recomendable que no apague el computador, luego de evidenciar la perdida de los datos
  2. Identifique cuales son los nombres de las carpetas que necesita
  3. Se tiene que mirar el archivo generado con vim vi o editor que pueda con binarios



Procedimiento

Procedure

Siga los siguientes pasos para recuperar los archivos de texto

Primero avise a los usuarios del sistema que los va a sacar
# wall

Output:

System is going down to .... please save your work.

Press CTRL+D to send message.

Ahora lo siguiente es arrancar en modo simple:
# init 1

Use grep (traditional UNIX way) para recobrar los archivos

Use la siguiente sintaxis de grep:
grep -b ’search-text’ /dev/partition > file.txt
OR
grep -a -B[size before] -A[size after] ‘text’ /dev/[your_partition] > file.txt
Where,

Suponiendo que la partición a buscar sea /dev/sda1 
Cada que usted haga una busqueda ingrese  como parametro de busqueda el nombre del archivo o el contenido del archivo que usted aspira adquirir.
# grep -i -a -B10 -A100 'nixCraft' /dev/sda1 > file.txt

 

 

 

 

 


Problemas

  1. En caso de que tenga archivos binarios y codificados en otros formatos fuera de archivo, plano es posible que este tutorial no le funcione.
  2.  



Referencias

Definitivo  http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html

 

<HTML><ul></HTML> <HTML><li></HTML>http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html<HTML></li></HTML> <HTML><li></HTML><HTML><p></HTML>http://freshmeat.net/projects/unrm/<HTML></p></HTML>

 

<HTML><p></HTML>http://e2undel.sourceforge.net/<HTML></p></HTML><HTML></li></HTML> <HTML><li></HTML>Definitivo  http://www.cyberciti.biz/tips/linux-recover-deleted-files-with-lsof-command.html<HTML></li></HTML> <HTML><li></HTML>http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html<HTML></li></HTML> <HTML><li></HTML>http://recover.sourceforge.net/linux/recover/<HTML></li></HTML> <HTML><li></HTML>===== undelete, recuperate data after rm, recuperar datos despues de un rm =====

<HTML><p></HTML>
<HTML></p></HTML>

#
# http://www.Linux-Sec.net/Txt/erase.txt
# http://www.Linux-Sec.net/Txt/undelete.txt
 #
#
# 06-Jan-05 amo Split off undelete.txt from erase.txt
#
#
#
# Restoring Deleted files
# -----------------------
#
http://listman.redhat.com/archives/ext3-users/2002-June/msg00031.html
 #
http://freshmeat.net/projects/unrm/
#
http://recover.sourceforge.net/linux/recover/
#
# restoring with debugfs
 http://www.linuxexposed.com/internal.php?op=modload&name=Sections&file=index&req=viewarticle&artid=24
 #
http://www.linuxdoc.org/HOWTO/HOWTO-INDEX/admin.html#ADMRECOVERY
http://www.linuxdoc.org/HOWTO/mini/Ext2fs-Undeletion-Dir-Struct
 http://www.linuxdoc.org/HOWTO/mini/Ext2fs-Undeletion.html
http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/other-formats/html_single/Ext2fs-Undeletion-Dir-Struct.html
 http://amadeus.uprm.edu/~undelete 
http://www.praeclarus.demon.co.uk/tech/e2-undel\t\text2 undelete
http://sourceforge.net/projects/e2undel/ e2undel
 ftp://metalab.unc.edu/pub/Linux/utils/file/e2recover-1.0.lsm 
http://www.billjonas.com/papers/undeletion.html
 http://project.terminus.sk/e2salvage/
e2recover
#
http://sourceforge.net/projects/lde Linux Disk Editor
http://www.diskwarez.com/diskbug.htm\tDisk Debug
 #
#
http://www.it.fht-esslingen.de/~zimmerma/software/ltools.htm Read ext2 from dos/windows
#
#
midnight commander ( mc )
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html
 #
#
/usr/share/doc/HOWTO/en-txt/mini/Ext2fs-Undeletion.txt.gz
#
e2image -- save ext2 metadata to undelete to it
#
http://xbox.plug.org.au/~steve/mbr.html
 #
#
#
# apt-cache search undelete
# --------------------------
#\te2undel - Undelete utility for the ext2 file system
#\tendeavour2 - File manager with builtin file previewer
#\tgtkrecover - GUI for recover
 #\trecover - Undelete files on ext2 partitions
#\tgmc - Midnight Commander - A powerful file manager. - Gnome version
#
#
# Undelete FAT
http://prdownloads.sourceforge.net/biatchux/fatback-1.3.tar.gz
 #
#
# Defragmenter
# ------------
http://www.netspace.net.au/~reiter/e2compr/defrag.html
#
#
#
# Windows
# --------
http://www.accessdata.com/Product05_Overview.htm ( CleanDrive, WipeDrive )
 http://www.cftco.com/utilities.htm ComputerForensicsTraining Co
http://www.east-tec.com 
http://www.symantec.com/nu/nu_9x/features.html Norton Utilities
 http://www.execsoft.com/undelete/about/undelete.asp
ftp://eBible.org/pub/del210.zip
ftp://ftp.demon.co.uk/pub/ibmpc/security/realdeal.zip
 #
#
# end of file

<HTML></li></HTML><HTML></ul></HTML>

01-Febrero-2008 D.Arenas v1.0 Primera version