11params.pid = os.getpid()
12params.dotnet_policy = pesieve.t_dotnet_policy.PE_DNET_SKIP_MAPPING
13params.imprec_mode = pesieve.t_imprec_mode.PE_IMPREC_AUTO
15params.out_filter = pesieve.t_output_filter.OUT_FULL
16params.no_hooks =
False
17params.shellcode = pesieve.t_shellc_mode.SHELLC_PATTERNS
18params.obfuscated = pesieve.t_obfusc_mode.OBFUSC_NONE
20params.iat = pesieve.t_iat_scan_mode.PE_IATS_CLEAN_SYS_FILTERED
21params.data = pesieve.t_data_scan_mode.PE_DATA_SCAN_NO_DEP
22params.minidump =
False
23params.dump_mode = pesieve.t_dump_mode.PE_DUMP_AUTO
24params.json_output =
True
25params.make_reflection =
False
26params.use_cache =
False
27params.json_lvl = pesieve.t_json_level.JSON_BASIC
28params.output_dir = b
"/path/to/output/dir"
36print(
"PID: %d" % report.pid)
37print(
"Scanned: %d" % report.scanned)
38print(
"suspicious: %d" % report.suspicious)
39print(
"JSON: %s" % json)
40print(
"out_size: %d" % out_size)
(t_report, str, int) PESieve_scan_ex(t_params params, t_report_type rtype, int buf_size)