refactor WASM signature

This commit is contained in:
Benjamin Funke 2025-10-03 22:26:56 +02:00
commit 2eb0c73f98

View file

@ -1,10 +1,11 @@
// Detect It Easy: detection rule file
// Author: BJNFNE <bjnfne@web.de>
// https://en.wikipedia.org/wiki/WebAssembly
meta("format", "WebAssembly (.WASM)");
function detect() {
if (Binary.compare("00 61 73 6d")) {
if (Binary.compare("00'asm'010000000")) {
bDetected = true;
}