Python interface for YARA, a powerful malware identification and classification tool
Overall
score
85%
Evaluation — 85%
↓ 0.94xAgent success when using this tile
Build a system that downloads pre-compiled pattern matching rules from a remote server and loads them for immediate use without saving to disk.
Your solution should:
@generates
def load_rules_from_url(url: str):
"""
Downloads pre-compiled rules from a URL and loads them from memory.
Args:
url: The URL of the pre-compiled rules file
Returns:
A rules object ready for pattern matching
Raises:
Exception: If the download fails or the rules data is invalid
"""
passProvides pattern matching and rules management support.
Provides file-like object support for in-memory operations.
Provides HTTP request capabilities.
Install with Tessl CLI
npx tessl i tessl/pypi-yara-pythonevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10