Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

low similarity of short ssdeeps #24

Open
CaldurG opened this issue May 15, 2020 · 0 comments
Open

low similarity of short ssdeeps #24

CaldurG opened this issue May 15, 2020 · 0 comments

Comments

@CaldurG
Copy link

CaldurG commented May 15, 2020

Similarity of these ssdeeps is 36 but as you can see they are nearly identical.

char s0[] = "3:FEROlMk3/DXO2EXhIWAlvgulM4jIL2Q:FEROik3guWe9i4jIL2Q";
char s1[] = "3:FEROlMk3/DXO2EXhIWAlvgulM4jILdMQ:FEROik3guWe9i4jI2Q";
s01 = fuzzy_compare(s0, s1); // 36

Problem is in fuzzy.c in score_strings function. At the end of function there is code that can adjust the score.

 if (score > block_size/MIN_BLOCKSIZE * MIN(s1len, s2len))
  {
    score = block_size/MIN_BLOCKSIZE * MIN(s1len, s2len);
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant