sekant-intercept-js 1.0.1 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/sekant-intercept.browser.mjs +15 -9
- package/dist/sekant-intercept.node.mjs +15 -9
- package/package.json +1 -1
- package/src/ahocorasickEngine.mjs +209 -104
- package/src/interceptScanner.mjs +487 -18
- package/src/yaraConditionParser.mjs +307 -142
- package/src/yaraConditionsMatch.mjs +72 -16
- package/src/yaraRuleCompiler.mjs +326 -9
- package/src/yaraStringMatch.mjs +419 -79
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ Intercept.js avoids native bindings and instead leverages V8’s optimized RegEx
|
|
|
56
56
|
### Installation
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
git clone https://github.com/sekantsec/sekant-intercept-js.git
|
|
59
|
+
git clone https://github.com/rishi-sekantsec/sekant-intercept-js.git
|
|
60
60
|
cd sekant-intercept-js
|
|
61
61
|
npm install
|
|
62
62
|
npm run build
|
|
@@ -171,6 +171,7 @@ We provide detailed documentation for different audiences:
|
|
|
171
171
|
|
|
172
172
|
### General Usage
|
|
173
173
|
* **[YARA Grammar Support](docs/general/YARA_GRAMMAR_SUPPORT.md)**: What features (hex, loops, regex) are supported.
|
|
174
|
+
* **[Intercept Extensions](docs/general/INTERCEPT_EXTENSIONS.md)**: Constructs beyond standard YARA (filter rules, `reject`, `rejectRECapture`, `$_`, `includeCaptures`).
|
|
174
175
|
* **[Engine Differences](docs/general/ENGINE_DIFFERENCES.md)**: Critical differences between this JS engine and C-based libyara.
|
|
175
176
|
|
|
176
177
|
### Developer & Architecture
|
|
@@ -182,7 +183,7 @@ We provide detailed documentation for different audiences:
|
|
|
182
183
|
### Module Reference
|
|
183
184
|
* **[Standard Modules](docs/modules/STANDARD_MODULES.md)**: API reference for built-in modules.
|
|
184
185
|
* **[PE Module Details](docs/modules/PE_MODULE.md)**: Specifics of the PE parser.
|
|
185
|
-
* **[Custom Module Details](docs/
|
|
186
|
+
* **[Custom Module Details](docs/developer/CUSTOM_MODULE_OVERVIEW.md)**: Overview of Custom Modules.
|
|
186
187
|
|
|
187
188
|
---
|
|
188
189
|
|
|
@@ -300,7 +301,7 @@ Yes. Rule evaluation is deterministic and side-effect free. Custom modules expos
|
|
|
300
301
|
|
|
301
302
|
## Contributing
|
|
302
303
|
|
|
303
|
-
We welcome contributions! Please see [
|
|
304
|
+
We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTIING.md) for details on how to get started.
|
|
304
305
|
|
|
305
306
|
1. Fork the repository.
|
|
306
307
|
2. Create your feature branch (`git checkout -b feature/amazing-feature`).
|