Skip to content

Instantly share code, notes, and snippets.

@nenodias
Last active May 10, 2017 00:07
Show Gist options
  • Select an option

  • Save nenodias/c78c9786948fa5650ed966383ed314bb to your computer and use it in GitHub Desktop.

Select an option

Save nenodias/c78c9786948fa5650ed966383ed314bb to your computer and use it in GitHub Desktop.
Aula 09/05/2017

Apagar dados permanentemente

dd if=/dev/zero of=/dev/hdb
dd if=/dev/zero of=/dev/sdb

Identificar offset da imagem

mmls -o <imagem>

verificar arquivos e inodes/blocos

fls -o <offset> <imagem>

descobrir os blocos que o arquivo foi escrito istat

istat -o <offset> <imagem> <bloco_arquivo>

icat salvar o arquivo

icat <imagem> <bloco_arquivo> > <destino>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment