GithubHelp home page GithubHelp logo

Problems using the project about flatcrawler HOT 4 CLOSED

kwsch avatar kwsch commented on July 30, 2024
Problems using the project

from flatcrawler.

Comments (4)

kwsch avatar kwsch commented on July 30, 2024

The program is a command line crawler; once the program is run, you tell it what to do.

At the moment, the commands it supports aren't documented outside of the source code. If you want to see where it is processing commands, see here.

Upon starting the program, we see it ask for us to open a file. So I tell it which file:
image

After entering some commands to try and interpret data at certain nodes, some of the structure becomes apparent:
image

The program does not make guesses as to the data structure. It's up to you to try certain field types and progressively document what each field is.

from flatcrawler.

knowpwr avatar knowpwr commented on July 30, 2024

Thanks a lot for the information and for examining my file. It is much appreciated. It would be really great if you provide a guide on how to use the commands. This project is unique. There is nothing like it out there and the demand for a tool to reverse engineer FlatBuffers binary files is high. Also, if it is not too much to ask, can you explain the representation above. I am not quite sure what I am looking at. Also, is the structure in the image above exact, or it is just prediction? Lastly, I have a suggestion, if it is possible, can you offer the option to generate JSON as output.

from flatcrawler.

kwsch avatar kwsch commented on July 30, 2024

I've added a wiki to describe how the program works, and a basic explanation of each command that can be entered.

https://github.com/kwsch/FlatCrawler/wiki/Commands-How-To

This program does not automatically reverse & validate a schema due to multiple interchangeable field types being valid in certain scenarios (a float is 32bit, same as an integer). It is up to the reverse-engineer to guess & check on their own; it would be a pretty big effort (logically and computationally) to guess (bruteforce) every single possible arrangement and validate the deserialized data serializes back to the input file. Plus there's so many hard-to-handle cases like unions, and inline structs that aren't currently handled by the program.

Once you have transcribed a fbs that you believe represents the serialized data, you can run the flatc compiler to try and dump json (bin+fbs->json) via flatc's command line.

from flatcrawler.

knowpwr avatar knowpwr commented on July 30, 2024

@kwsch Thanks for the wiki. Though, a use case would actually do wonders. You can offer a binary flatbuffers file and use your tool to show the reversing the process. This would actually make your repo very popular. There is not much reverse FB engineering resources out there. Anyway, it is just a thought.

Regards and thanks for your time.

from flatcrawler.

Related Issues (5)

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.