Jump to content

User:Shivaraj naidu/sandbox

From Wikipedia, the free encyclopedia
Shivaraj naidu/sandbox
Written inC
Operating systemCross-platform
PlatformCLI
TypeData recoveryFile carving
LicenseApache 2.0 (free software)
Website[1]

Scalpel is a free and open source file carver data recovery software tool designed to recover lost files from digital camera memory (CompactFlash, Memory Stick, Secure Digital, SmartMedia, Microdrive, MMC, USB flash drives, etc.), hard disks and CD-ROMs. It recovers most common photo formats, including JPEG, and also recovers audio files including MP3, document formats such as OpenDocument, Microsoft Office, PDF and HTML, and archive formats including ZIP. [1]


PhotoRec is compatible with:[2]


For example, PhotoRec identifies a JPEG file when a block begins with:

  • Start Of Image + APP0: 0xff, 0xd8, 0xff, 0xe0
  • Start Of Image + APP1: 0xff, 0xd8, 0xff, 0xe1
  • or Start Of Image + Comment: 0xff, 0xd8, 0xff, 0xfe

If PhotoRec has already started to recover a file, it stops its recovery, checks the consistency of the file when possible and starts to save the new file (which it determined from the signature it found).

If the data is not fragmented, the recovered file should be either identical; or possibly larger than the original file, in size. In some cases, PhotoRec can learn the original filesize from the file header, so the recovered file is truncated to the correct size. If, however, the recovered file ends up being smaller than its header specifies, it is discarded. Some files, such as *.MP3 types, are data streams. In this case, PhotoRec parses the recovered data, then stops the recovery when the stream ends.

When a file is recovered successfully, PhotoRec checks the previous data blocks to see if a file signature was found but the file was not able to be successfully recovered (i.e., the file was too small), and it tries again. This way, some fragmented files can be successfully recovered.[3]

Distribution

[edit]

PhotoRec and TestDisk are shipped together. They can be downloaded from CGSecurity website. These utilities can be found on various Linux Live CDs:

They are also packaged for numerous Linux based distributions:

See also

[edit]

References

[edit]
  1. ^ File Formats Recovered By PhotoRec
  2. ^ "PhotoRec - CGSecurity". Retrieved March 1, 2013.
  3. ^ How PhotoRec works (Description from the author website)
  4. ^ "GParted -- Live CD/USB/PXE/HD". Retrieved March 1, 2013.
  5. ^ "programs – Parted Magic". Retrieved March 1, 2013.
  6. ^ "Recover file with PhotoRec". Retrieved March 1, 2013.
  7. ^ "System-tools - SystemRescueCd". Retrieved March 1, 2013.
  8. ^ "6. List of all commands". Retrieved March 1, 2013.
  9. ^ "Software Ubuntu Rescue Remix". Retrieved March 1, 2013.
  10. ^ TestDisk on ALT Linux
  11. ^ ArchLinux Extra Repository
  12. ^ TestDisk on Debian
  13. ^ TestDisk in Fedora
  14. ^ "RepoView: "Fedora EPEL 6 - x86_64"". Retrieved 27 July 2013.
  15. ^ TestDisk in FreeBSD ports
  16. ^ TestDisk in Gentoo
  17. ^ TestDisk in Gentoo Portage
  18. ^ TestDisk in Source Mage
  19. ^ TestDisk in Ubuntu
[edit]


Category:1998 software Category:Free data recovery software Category:Portable software Category:Hard disk software