Skip to content

Commit 166aed0

Browse files
committed
analyzer - build_parent_attribute_list(): remove debug output
1 parent 3566fb5 commit 166aed0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

analyzer/windows/lib/api/process.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,9 @@ def build_parent_attribute_list(self) -> Tuple[LPVOID, Array[c_char], HANDLE]:
576576
if not KERNEL32.InitializeProcThreadAttributeList(attr_list, 1, 0, byref(cb_attribute_list_size)):
577577
log.error("InitializeProcThreadAttributeList(init)")
578578

579-
log.info("Successfully called InitializeProcThreadAttributeList")
580579
hwnd = windll.user32.GetShellWindow()
581580
explorer_pid = DWORD()
582581
windll.user32.GetWindowThreadProcessId(hwnd, byref(explorer_pid))
583-
log.info("Explorer PID: %s", explorer_pid.value)
584582

585583
raw_parent = KERNEL32.OpenProcess(PROCESS_CREATE_PROCESS, False, explorer_pid)
586584
if not raw_parent:
@@ -601,7 +599,6 @@ def build_parent_attribute_list(self) -> Tuple[LPVOID, Array[c_char], HANDLE]:
601599
KERNEL32.DeleteProcThreadAttributeList(attr_list)
602600
log.error("UpdateProcThreadAttribute")
603601

604-
log.info("build_parent_attribute_list returning")
605602
return attr_list, attr_buf, h_parent
606603

607604
def log_process_tree(self, process_name):

0 commit comments

Comments
 (0)