Giter VIP home page Giter VIP logo

eat's Introduction

Entropy Analyzer Tool (EAT)

Entropy Analyzer Tool is a simple shell script that analyzes file entropy by compressing it using gzip or bzip2 compression algorithms and shows the file size percentage after compression from original file size.

This might be very useful when reverse-engineering some unknown binary files to get a basic understanding of its internal structure and answer some of the questions, like "is it encrypted?" or "is it compressed?".

For example, if you have file some_document.txt which shows 16% - this means that the size of some_document.txt after compression is only 16% from original file size.

Basically, if file can't be compressed much - it has a high entropy and if the compressed size is much smaller than the original - the entropy is pretty low.

Usage

Before running this tool, you need to have gzip and bzip2 archivers installed on your system (usually those two are installed on most Linux distibutions and most Unix'es)

To see all available options, run:

$ ./eat.sh --help

and to analyze some files, pass the script some file path(s):

$ ./eat.sh some_file.bin some_other_file.dat
97% some_file.bin
23% some_other_file.dat

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.