Coder Social home page Coder Social logo

protomatcher's Introduction

Proto Matcher

Simple tool for fuzzy matching obfuscated protobuf definitions with existing reference ones.

Usage

  • pip install -r requirements.txt
  • Compile a descriptor file for the protos you want to match (using protoc and the --descriptor_set_out option, see examples in /ref_data)
  • Provide a declaration list for protos (in .json, for sequential matching)
  • Run the script and fill in the necessary file paths (you can modify the generated config.ini later)

Commands

  • search, s <name>

    Search matches for a known proto. Will only show matches that meet the provided threshold in the config (default is 50%).

  • uniques, u <ref|obs, default ref>

    Print a list of protos (from reference or obfuscated) with unique signatures.

  • exact_matches, em

    Print a table of exact signature matches.

  • perfect_mappables, pm

    Print a table of protos that are perfectly re-mappable (unique exact matches with all unique types).

  • sequential_match, sm

    Start a sequential matching session using the provided proto lists. (Not so great for now, console is too limited for this and it's better to visualize it with some kind of frontend)

  • reload, r

    Reload the config from file.

  • quit, q

    Exit the script.

protomatcher's People

Contributors

rainafterdark 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.