Comments (13)
Hello. Sure, office.txt
var stopwatch = new Stopwatch(); stopwatch.Start(); try{ List<ScanResult> scanResults = QuickScan.Memory(buffer, rulesPath, ScanFlags.Fast ); stopwatch.Stop(); if (scanResults.Any()) return true; return false; }
from libyara.net.
Thanks for sharing this, it's really helpful @admiralbenbou
from libyara.net.
@admiralbenbou could you please share sample code and a Yara rule that demonstrates this issue? Thanks!
from libyara.net.
may be important. this method is used in a multi-threaded application - a transport agent for exchange. and an exception does not occur immediately - only after processing several emails (several method calls)
from libyara.net.
@swannman I'm experiencing the same issue, is there any update?
from libyara.net.
@swannman I'm experiencing the same issue, is there any update?
i asked my colleagues - c developers to make for me fixed version and i use it now https://github.com/k-sec-tools/ExchangeFilter/tree/main/libyaranet. but our version is few commits behind the official repo
from libyara.net.
@admiralbenbou That's fantastic! Could you tell me which version of Yara was used? Current version is 4.1.3 please check this link for reference.
from libyara.net.
@shaheeraliwrg not sure, it was 3.8.0 or 3.8.1. Be careful cause in yarav4.* API has been changed
from libyara.net.
@admiralbenbou would you be open to creating a pull request so we can merge your changes into this repro?
from libyara.net.
@swannman dont think it will make sense. my colleagues just fixed libyara v3.7.x code(bcause the main bug was in this librara) and rebuilt libyaraNET with it. and because libyara v3 is not actual version, i dont think we have to pull this changes to main libyara repo
from libyara.net.
@swannman How can we upgrade libyara.net's YARA version? Does there exist any documentation or guideline to do this? I would like to upgrade the YARA version to the latest, as it may solve the issues listed above. Can you please help me upgrade the version?
from libyara.net.
@shaheeraliwrg libyara.NET ships with YARA 4.0.2 today. We consume YARA from this nuget which we build from the vcpkg project here.
It looks like the latest version of YARA in vcpkg is 4.1.1. Is there a fix between 4.0.2 and 4.1.1 for the issue that you were seeing?
from libyara.net.
@swannman I'm not sure if this issue has been fixed in the latest Yara version. But if possible we should go with the latest version (there are tons of fixes in the latest version). I tried upgrading the libyara.Net with the latest yara version, but I wasn't able to finish due to the lack of documentation.
from libyara.net.
Related Issues (14)
- Unhandled Exception: System.IO.FileNotFoundException HOT 7
- Unhandled Exception: System.IO.FileNotFoundException HOT 1
- How to use modules HOT 1
- Strong name validation failed HOT 2
- Compiler error message is incorrect when calling AddString
- Working with .NET Core HOT 1
- Add Linux Support HOT 10
- This repo is missing important files
- Change in underlying library is causing our tests to fail HOT 2
- Could not load file or assembly 'libyara.NET, Version=3.5.0.2 HOT 5
- Scanner.h scanned file is still in use pr #30 HOT 1
- libyara v4.5.0
- Bug - Assertion Failure in Exception.h
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 libyara.net.