Comments (4)
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.
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.
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.
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)
- Look up IP in local DNS server HOT 5
- Inclusion of SANS API HOT 3
- Add ThreatRecon
- Automater does not work when called from external directory HOT 2
- Virustotal requests no longer work HOT 1
- ipvoid POST for unscanned domains doesn't work
- Tagged release? HOT 1
- Bad regex for fortinet_classify
- AttributeError: 'module' object has no attribute 'packages' HOT 2
- Fortinet classification HOT 1
- Error in packages HOT 7
- Update Delay option from Int to Float
- Script doesn't run HOT 1
- regex broken for totalhash_md5
- InsecureRequestWarning HOT 1
- Unable to scan IPs contained in .txt file
- ImportError: No module named outputs HOT 1
- AttributeError - urllib3 issue HOT 1
- Still Developing on this project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tekdefense-automater.