Giter VIP home page Giter VIP logo

impfuzzy's People

Contributors

garanews avatar rafiot avatar re-fox avatar shu-tom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

impfuzzy's Issues

Prevent add of same sample in DB when parsing folder

Launching the command:
python impfuzzy_for_neo4j.py -d /myfolder/
If in myfolder are present 2 samples with different names but same hash, the script will add in DB both samples and not only one, going to create cluster with itself.

Labeling/Tag the clusters

Is it possible to add labels or tags to the clusters in Neo4j?
Looking at this example and focusing to the cluster with 4 elements:
image

:123 cluster: 64 id: 108 impfuzzy: 12:KOFlAJqEccHwu9DK+j7oV4W8IAGAVV4W8xJcD8uw5vn:TTsqEzwu9DK+j0V4WjAVV4WccD8uwBn md5: 4c1017de62ea4788c7c8058a8f825a2d
:139 cluster: 64 id: 124 impfuzzy: 12:KOFlAJqEccHwu9DK+j7oV4W8IAGAVV4W8xJcD8uw5vn:TTsqEzwu9DK+j0V4WjAVV4WccD8uwBn md5: 43e896ede6fe025ee90f7f27c6d376a4
:128 cluster: 64 id: 113 impfuzzy: 12:zJFxJqEccHwu9DK+j7oV4W8IAGAKV4W8xJcDvuw5vn:t1qEzwu9DK+j0V4WjAKV4WccDvuwBn md5: 1fb407a20373f3970f08d3f3c086841d
:122 cluster: 64 id: 107 impfuzzy: 12:zJFxJqEccHwu9DK+j7oV4W8IAGAKV4W8xJcDvuw5vn:t1qEzwu9DK+j0V4WjAKV4WccDvuwBn md5: 91a5594343b47462ebd6266a9c40abbe

image

I would like to have the possibility to tag the cluster nĀ°64 with "Turla", making the tag also searchable.

What do you think?

[Bug] - Python 3.10.5 - PY_SSIZE_T_CLEAN macro must be defined for '#' formats

To reproduce, using Python 3.10.5

$ docker run -ti --rm fedora:latest bash
# dnf install -y python3-pip gcc python3-devel ssdeep-devel
# pip3 install pyimpfuzzy

Simple test case

# python3
Python 3.10.5 (main, Jun  9 2022, 00:00:00)
>>> import pyimpfuzzy
>>> contents = open('helloworld.exe','rb').read()
>>> pyimpfuzzy.get_impfuzzy_data(contents)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib64/python3.10/site-packages/pyimpfuzzy.py", line 19, in get_impfuzzy_data
    return impfuzzyutil.hash_data(apilist)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Using 3.8.10 it works as expected

# python3
Python 3.8.10 (default, Mar 15 2022, 12:22:08) 
>>> import pyimpfuzzy
>>> contents = open('helloworld.exe','rb').read()
>>> pyimpfuzzy.get_impfuzzy_data(contents)
'24:wyWPWyWNwUxQSySPXQDMLaocAzAZhDbBSy29fJLhJCBAihTK4Tg9kBb+u5Fi119p:gCNhQSVXQwLwAYunPuBS1119L9'

No license

There is no license file in this repository.
What is the license that impfuzzy is adopting?
I have trouble when referring to the source code.

use uuid instead incremetal id for nodes

We are playing with data contained in Neo4j deleting and insertimg nodes.
We are having issue with numerical id because the creation node statement uses the len of db as value for id.
Example: inserting 3 nodes (id=1,id=2,id=3) and delete one of them (id=2), when you add a new node it tries to use id=3 that is already present.
Can the use of uuid be a possible solution?
We will play with it tomorrow.

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.