libmwemu 0.24.3

x86 32/64bits and system internals emulator, for securely emulating malware and other stuff.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import re
import os
import sys

def check_file(file_path):
    with open(file_path, 'r') as f:
        c = f.read()

    if re.search(rf'{sys.argv[1]}', c):
        print(f'match {file_path}')



for root, dirs, files in os.walk('.'):
    for file in files:
        if file.endswith(".rs"):
            check_file(os.path.join(root, file))