Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Office window get closed too soon and/or must not be closed automatically in interactive mode. #3083

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cuckoo/data/analyzer/windows/modules/auxiliary/human.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def run(self):
self.do_click_buttons = int(self.options["human.click_buttons"])

while self.do_run:
if seconds and not seconds % 60:
if (self.do_click_buttons or self.do_click_mouse) and seconds and seconds != 0 and not seconds % 60 :
USER32.EnumWindows(EnumWindowsProc(get_office_window), 0)

if self.do_click_mouse:
Expand Down