Coder Social home page Coder Social logo

reverseame / similarity-unrelocated-module Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 105 KB

Volatility plugin to yield and compare similarity digest of modules on execution.

Home Page: https://doi.org/10.1016/j.cose.2020.102119

License: GNU General Public License v3.0

Python 98.77% Shell 1.23%
python similarity-digest volatility volatility-plugins sum fuzzy-hash approximate-matching memory-forensics

similarity-unrelocated-module's People

Contributors

miguelmartinperez avatar ricardojrdez avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

similarity-unrelocated-module's Issues

Bug found in SUM constructor when it's called with more than 1 algorithm

Text description

Constructor of the SUM class doesn't initialize correctly when there is present more than 1 algorithm in the arguments to calculate hashes

Actual behavior

If you create an object with more than one algorithm as an argument and then call calculate() it won't take into account the first algorithm of the list passed as argument to the constructor

Expected behavior

It should calculate all the algorithms asked

Steps to reproduce the behavior:

Create a Python file and import sum.py, then create a SUM object and pass a list of all the algorithms without repeating any of them. Finally, call calculate() to see the result

Fix

Check the constructor line

        if len(self.config.algorithms) > 1:
            self.config.algorithms = list(set(self.config.algorithms[1:]))

and replace

    self.config.algorithms = list(set(self.config.algorithms[1:]))

with

    self.config.algorithms = list(set(self.config.algorithms[0:]))

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.