Giter Club home page Giter Club logo

Comments (3)

salsifis avatar salsifis commented on July 17, 2024

Hello

In this first answer I will focus on the reg to hive conversion.

There are three problems that are encountered here:

  1. There are two empty lines after the preamble (there should be a single empty line)
  2. There are multiple roots in the hive (machine and user). Try to edit the registry file and to replace [] with [ROOT], all instances of [machine with [ROOT\machine, and all instances of [user by [ROOT\user
  3. Hexadecimal representations are not indented by two leading spaces in the continuation lines. The exported .reg file is not conformant to what reg.exe produces itself, and HiveSwarming is not really lax about that.

The following image shows what you can modify in your reg file for it to work with the current version of HiveSwarming.

image

I will try to fix those problems by Accepting an empty root name and relaxing parsing of the reg file.

from hiveswarming.

salsifis avatar salsifis commented on July 17, 2024

In the second answer, I focus on the first problem: exporting a hive to a reg file.

The problem here is that you have the key user\current\software\classes that is a symbolic link (the registry key has a special flag, and there is a special value named SymbolicLinkValue). Registry symbolic links are not currently supported by this version of Hiveswarming. There is probably no โ€œcorrectโ€ way to support them, but at least we could try to not fail when encountering a symlink.

I will also try to fix this soon.

from hiveswarming.

salsifis avatar salsifis commented on July 17, 2024

Hello.

Version 1.2 should fix the problem with symbolic links.

You can use HiveSwarming as a unique tool to convert from hive to .reg back and forth.

Please note that during the testing of this fix, I identified a bug in RegFileExport, which is that backslashes (\) in value names are not properly escaped while generating the .reg output.

from hiveswarming.

Related Issues (4)

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.