korczis / foremost

Foremost is a console program to recover files based on their headers, footers, and internal data structures. This process is commonly referred to as data carving. Foremost can work on image files, such as those generated by dd, Safeback, Encase, etc, or directly on a drive. The headers and footers can be specified by a configuration file or you can use command line switches to specify built-in file types. These built-in types look at the data structures of a given file format allowing for a more reliable and faster recovery. Originally developed by the United States Air Force Office of Special Investigations and The Center for Information Systems Security Studies and Research , foremost has been opened to the general public. We welcome any comments, suggestions, patches, or feedback you have on this program. Please direct all correspondence to namikus@users.sf.net.
316 stars 54 forks source link

Fixed some typos that spoiled the Win32 compilation #1

Closed im-infamou5 closed 8 years ago

im-infamou5 commented 9 years ago

Function fprint not defined so should be replaced for fprintf. Reading and writing to files should be in binary mode or all files would be broken by inserting 0x0D before every 0x0A