GithubHelp home page GithubHelp logo

Comments (4)

parosterbergmedina avatar parosterbergmedina commented on September 3, 2024

This regex is also having negative effects for very short detection name, example md5 43270e8c58d428a17fd0b277483e44d8

Changing this to '},\s"(.{3,20})"....detected...true.{19,32}result....(.{8,40})....update' seems to do the trick.

from tekdefense-automater.

parosterbergmedina avatar parosterbergmedina commented on September 3, 2024

Virus names are getting longer and longer. Pushed the character limit up to 50, use case below.
MD5:9719ce372a59ff370fa5bb93d4ad85ca

Still getting issues with the detection for 'Bkav' though and I'm not sure why. Anyone? Bueler?

from tekdefense-automater.

ignacioj avatar ignacioj commented on September 3, 2024

The problem is that the results for 'Bkav' are the first ones. This is part of the raw answer from VirusTotal:
........{"scans": {"Bkav": {"detected": true, "version": "1.3.0.8021", "result": "W32.HfsAdware.578C", "update": "20160519"}, "TotalDefense": {"detecte........
And the regex starts with: '},........'
I have changed the regex to:
<entry>\"([^"]{1,20})\"....detected...true.{19,32}result....([^"]{8,50})....update[^\}]*\}</entry>
So far it looks like it is working.

from tekdefense-automater.

1aN0rmus avatar 1aN0rmus commented on September 3, 2024

Thanks for reporting! If you want credit for the contribution, feel free to
submit a pull request and I will accept your update into the code.

On Sat, May 28, 2016 at 1:27 PM, ignacioj [email protected] wrote:

The problem is that the results for 'Bkav' are the first ones. This is
part of the raw answer from VirusTotal:
........{"scans": {"Bkav": {"detected": true, "version": "1.3.0.8021",
"result": "W32.HfsAdware.578C", "update": "20160519"}, "TotalDefense":
{"detecte........
And the regex starts with: '},........'
I have changed the regex to:

"([^"]{1,20})"....detected...true.{19,32}result....([^"]{8,50})....update[^}]*}
So far it looks like it is working.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#33 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACfUhjxo-113v9oDr5G1X76TmN3M9GyHks5qGHsGgaJpZM4IOP0p
.

from tekdefense-automater.

Related Issues (20)

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.