Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8795163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:20:59+00:00 2026-06-13T23:20:59+00:00

I’ve inherited a project that’s using a legacy file format to store its data,

  • 0

I’ve inherited a project that’s using a legacy file format to store its data, I have access to the data going into that file format, and the resulting file, but I don’t have access to the template, and I need to recreate it.

Whats the best way to go about reverse engineering the binary file? How do I figure out what language/encryption is used, or do I even need to? Once I do, whats the best program (free, preferred) to get the information out? This is on a Windows system, but I run an OpenSUSE linux box that I’m not opposed to using for help with the issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:21:00+00:00Added an answer on June 13, 2026 at 11:21 pm

    The comment from about a year ago is the core of what I’d do, which is to reverse engineer the format behaviorally. Treat the legacy program as a black box. I’m assuming you can still run the legacy system somehow. The very first thing is to turn the whole legacy program into a subroutine that can be called somehow. That may mean scripting, running it inside a VM, simulated and/or mocked devices, etc.; whatever works. Ask a separate question for your particular situation if you don’t know how to do this already. The goal, though, is to automate the use of the legacy software so that you can run probe and test suites against it.

    You mention encryption may be used. Deal with this first. Strongs ciphers have what’s called the avalanche property: changing a single bit of the input changes 50% of the bits of the output, in what’s tantamount to a pseudorandom bit-flip. You want to use the avalanche property to (1) test for the existence of encryption, and (2) find out the encryption structure. For example, if a database encrypted a row-at-a-time, then changing one bit of the stored row anywhere would change average-half of the bits of the encrypted row. Clearly, if changing one bit alters the whole file, you have a different kind of problem than if only a few bits change (e.g. checksums, etc.). If you have encryption in any form, you might need to run the legacy under a debugger and figure out the algorithm that way; this might not be worth it.

    As you can see, all this means lots of invocations of the legacy to probe its behavior. You don’t want to do this by hand; see first paragraph. To address another concern, it’s unlikely you’re going to find off-the-shelf code to extract the data; it’s a custom code job. So now that your automation is working, you want to set up unit testing, calling the legacy code to see what should be expected.

    This isn’t a quick process, nor easy. Always compare the anticipated cost of succeeding at this with the cost of acquiring the data in some other way, including paying for manual data entry.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I have a small JavaScript validation script that validates inputs based on Regex. I
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.