The Wayback Machine - https://web.archive.org/web/20120306034505/http://hachoir.org:80/

Welcome!

Photo of a mincer Hachoir is a Python library that allows to view and edit a binary stream field by field. In other words, Hachoir allows you to "browse" any binary stream just like you browse directories and files куда инвестировать деньги . A file is split in a tree of fields, where the smallest field is just one bit. There are other fields types: integers, strings, bits, padding types, floats, etc. Hachoir is the French word for a meat grinder (meat mincer), which is used by butchers to divide meat into long tubes; Hachoir is used by computer butchers to divide binary files into fields.

Hachoir is composed of the parser core (hachoir-core), various file format parsers (hachoir-parser), and other peripheral programs. For example, you can use hachoir-metadata to extract information from your favourite photos or videos. Hachoir also allows you to edit files (of supported formats) without the original (often proprietary) program that was used to create them.

LATEST VERSIONS: hachoir-core 1.2.1, hachoir-parser 1.2.1, hachoir-metadata 1.2.1, hachoir-regex 1.0.3, hachoir-urwid 1.1, hachoir-subfile 0.5.3, hachoir-wx 0.3

Hachoir projects

Screenshot of hachoir-metadata-gtk version 1.1 on MP3 music with ID3 tags Programs:

Modules:

Experimental programs:

Install and download or see status of the project.

Hachoir pages

News

  • October 2008: Release of hachoir-core 1.2.1, hachoir-parser 1.2.1, hachoir-metadata 1.2.1
  • September 2008: Release of hachoir-core 1.2, hachoir-parser 1.2, hachoir-metadata 1.2, hachoir-wx 0.3, hachoir-urwid 1.1
  • May 2008: Creation of project FileSull, fuzzer based on Sulley and Hachoir
  • 1st April 2008
    • Release of hachoir-core 1.1, hachoir-parser 1.1, hachoir-metadata 1.1, hachoir-subfile 0.5.3, hachoir-wx 0.2, hachoir-regex 1.0.3
    • Changes:
      • Create hachoir-metadata-gtk (basic Gtk+ GUI for hachoir-metadata)
      • Create "EFI Platform Initialization Firmware Volume" (PIFV) and "Microsoft Windows Help" (HLP) parsers
      • Metadata extractors are more stable and fault tolerant
      • String value is always Unicode (guess charset if needed); many bugfixes and minor improvments
  • 24 August 2007
    • Server migration: Julien's server (81.56.123.123) to haypo's server (88.160.66.91). So ask haypo if you would like an account.
  • 25 July 2007
    • Most hachoir components are now available in version 1.0 for Debian, Mandriva, Gentoo, Arch and FreeBSD!
  • 22 July 2007
    • hachoir-metadata is now able to read:
      • GPS metadata (latitude, longitude, altitude, timestamp)
      • MOV video size
  • 12 July 2007
  • 11 July 2007
  • 10 July 2007
  • 28 June 2007
  • 15 April 2007
    • Release of hachoir-core 0.9, hachoir-parser 0.10, hachoir-metadata 0.10, hachoir-urwid 0.9
  • 31 March 2007
    • hachoir-metadata:
      • Write new API to be able to read raw value or formatted value
      • Support PCF font and Microsoft Office documents
      • Compute image and sound compression rate, and bit rate for many multimedia file formats
    • hachoir-parser:
      • Add new parser: ANI file format (based on RIFF format)
      • JPEG: support all sort of start of frame (baseline, progressive, etc.)
  • 15 March 2007
    • Add LNK (Microsoft Windows Shortcut) parser
    • Add PCF (X11 Portable Compiled Font) parser
  • 13 March 2007
    • Mathieu Stumpf wrote a small Gtk+ interface (working with latest version of Hachoir)
    • Jean-Marc Libs and Pierre THIERRY wrote Konqueror plugin for hachoir-metadata
    • Thomas PABST wrote Nautilus plugin for hachoir-metadata
  • 5 March 2007
    • Add Microsoft Archive (MAR) parser
    • Add Microsoft's HTML Help (CHM) parser (InfoTech Storage Format, ITSF)
  • 3 March 2007
    • Release of hachoir-core 0.8, hachoir-parser 0.9, hachoir-metadata 0.9 and hachoir-urwid 0.8
    • Creation of hachoir-regex project
  • 12 February 2007
    • Add ScreamTracker 3.0 module (.s3m) parser
    • Add FastTracker II Extended Module (XM) parser (version 1.4)
    • Add TrueType Font (TTF) parser (using Hachoir 0.1 code)
  • 31 January 2007
    • Add Portable Document Format (PDF) parser
    • Add Microsoft Cabinet archive (CAB) parser
    • Julien worked on lazy decompression: it's now possible to read bzip2, gzip and zip archive contents, but also to read PNG pixels :-)
  • 25 January 2007
  • 19 January 2007
    • Fix many bugs found with fuzzing thanks to Krunch ;-)
    • Add RAR parser written by GISQUET Christophe
    • Add ACE parser written by GISQUET Christophe
    • Add Torrent parser written by GISQUET Christophe
    • Stronger metadata extractor: set arbitrary limits for each integer value (skip sample rate of 2 THz for example)
    • Use regular expression to speed up hachoir-subfile
    • Use unique (short string) identifier instead MIME type to identify a parser and add category to each parser. So hachoir-subfile can only extract one category of file (eg. images)
    • Add MPEG-2 TS parser
    • hachoir-urwid allows write field content into a file
    • Catch more errors to be fault tolerant (e.g. NameError and LookupError)
  • 8 January 2007
  • (read old news)

Attachments