Giter VIP home page Giter VIP logo

fengjixuchui / hivex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libguestfs/hivex

0.0 0.0 0.0 1.25 MB

windows registry hive extraction library. PLEASE DO NOT USE GITHUB FOR ISSUES OR PULL REQUESTS. See the website for how to file a bug or contact us. http://libguestfs.org

Home Page: http://libguestfs.org/hivex.3.html

License: Other

Shell 3.28% Makefile 5.02% Perl 9.78% OCaml 33.89% CSS 0.09% C 38.44% Python 2.12% HTML 0.03% Ruby 2.66% M4 4.69%

hivex's Introduction

hivex - a library for reading and writing Windows Registry "hive" files

Written by Richard W.M. Jones, [email protected] Copyright (C) 2009-2022 Red Hat Inc.

This is a self-contained library for reading and writing Windows Registry "hive" binary files.

Unlike many other tools in this area, it doesn't use the textual .REG format for output, because parsing that is as much trouble as parsing the original binary format. Instead it makes the file available through a C API, or there is a separate program to export the hive as XML.

This library was derived from several sources:

Like NTREG, this library only attempts to read Windows NT registry files (ie. not Windows 3.1 or Windows 95/98/ME). See the link above for documentation on the older formats if you wish to read them.

Unlike NTREG, this code is much more careful about handling error cases, corrupt and malicious registry files, and endianness.

License

The license for this library is LGPL v2.1, but not later versions. For full details, see the file LICENSE in this directory.

Dependencies

To just build the library, the dependencies are quite minimal. You only need the following:

  • An ISO C compiler.
  • Perl tools 'pod2man' and 'pod2text'.
  • OCaml interpreter (/usr/bin/ocaml), only for building from git.

These dependencies are needed for the tools:

  • Readline library (optional, to add command-line editing to hivexsh).
  • libxml2 (optional, for hivexml).

To build the language bindings, you will need various extra packages. See the configure output for more details.

Building

autoreconf -i
./generator/generator.ml
./configure
make
make check

Directories and tools

extra-tests/

Extra tests which need external test data. See hivex-test-data on http://git.annexia.org

generator/

Generator used to write a lot of boilerplate code for header files, documentation, language bindings etc. The API for hivex is specified in the generator.

images/

Test hive files. See images/README.

lib/

The C library.

ocaml/ perl/ python/ ruby/

OCaml, Perl, Python or Ruby bindings and tests. The bindings are generated by 'generator/generator.ml'.

Python 2 or 3 is supported. To select between them, set PYTHON to point to the Python interpreter you want to use, eg:

./configure PYTHON=/usr/bin/python3

regedit/

Regedit-like registry merging tool.

sh/

Interactive shell. This also contains the old 'hivexget' tool (originally written in C, now replaced by a hivexsh shell script).

xml/

hivexml program which converts hive files to XML.

hivex's People

Contributors

ajnelson avatar cemeyer avatar cybershadow avatar ehespinosa avatar fengjixuchui avatar hillu avatar iammattcoleman avatar jibec avatar josprachi avatar julroy67 avatar kit-ty-kate avatar kupiakos avatar lekensteyn avatar lersek avatar logan5 avatar maners avatar mdbooth avatar meyering avatar norwayfun avatar piotrdrag avatar ptoscano avatar rbuj avatar rffontenelle avatar rwmjones avatar weblate avatar ypoyarko avatar yurchor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.