Open ghost opened 9 years ago
Hi Alexander,
yes Im know that fingerprint mechanism have a problem. And when we talking about fingerprints by them self there one thing. The db file is packed with a base64 but the signatures by them self not it
s a entropy that based on base64 mechanism. Currently I work on new web version, after that I will take a close look to python version, and also I'm not so sure about python maybe I will rewrite it to bash that more native for nix systems.
Okay, im interested because I was thinking of utilizing the database for one of my projects but I am unable to do so. :( Can you give more information about how the signatures are encoded?
Hi! I've been looking at your code for the past few days and sorry to tell you this but your fingerprint detection method is most definitely broken. I would fix it but it seems like your database is not properly encoded or something. Look at these lines for proof:
Lines 193 and 194 in particular:
Your _regex here is a base64 string, which would be okay if your signatures were actually all base64 strings found in webshells. But thats not the case. You are never actually decoding these base64 strings. However when we try to do that, we get padding errors all over the place and get junk output, still we can see bits of the actual signatures in there:
Sample Garbage:
How did you generate the database or where did you get it from? Anyway, it most definitely is broken.