Code Monkey home page Code Monkey logo

packet_decryptor's Introduction

Usage

Open a console and run:โ€‹

decryptor <path/to/file>

Output is a newline delimited json file saved on the input file path, using the same name but with _d before extension. E.g. 20180808T175623_d.ndjson for an input file 20180808T175623.ndjson. Each json structure contains packets received at that time.

{
  "server":"192.170.58.126:26505",
  "packets":["48494A4B4C4D4E4F","..."],
  "source":"Client",
  "timestamp":"2018-Oct-15 14:50:37"
}

For more information about file format visit http://ndjson.org.

Compilation

To build this project from sources, the following is required:

  • Microsoft Visual C++ (15.0)
  • CMake (3.8)
  • Boost (1.68)
  • Nlohmann/Json (3.3.0)
  • LZO (2.10)

Using Visual Studio 2017

  1. Open the project in Visual Studio using File -> Open -> CMake.
  2. Select build config (Debug/Release).
  3. Configure CMake Settings CMake -> Change CMake Settings -> packet_decryptor. Add the path to Boost, Nlohmann/Json and LZO as CMAKE_PREFIX_PATH in cmakeCommandArgs.
  4. Build using CMake -> Build All.

Using console

Inside project folder run:

mkdir build && cd build
cmake -G "Visual Studio 15 2017" -DCMAKE_PREFIX_PATH="/path/to/boost;/path/to/nlohmann_json;path/to/lzo" ../
cmake --build .

packet_decryptor's People

Contributors

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