-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added request timeouts #885
Conversation
@@ -9,6 +9,9 @@ | |||
|
|||
import infection_monkey.monkeyfs as monkeyfs | |||
import infection_monkey.tunnel as tunnel | |||
from common.common_consts.timeouts import (LONG_REQUEST_TIMEOUT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is default isort style
import logging | ||
import subprocess | ||
|
||
import nmb.NetBIOS | ||
from impacket.dcerpc.v5 import epm, nrpc, transport | ||
|
||
import infection_monkey.config | ||
from infection_monkey.network.HostFinger import HostFinger | ||
from infection_monkey.utils.environment import is_windows_os | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this part of the same commit/PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making new PR's for small cleanups like this would be annoying. It's on a separate, descriptive commit though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nits, LGTM
What does this PR do?
Fixes requests not having timeouts, which causes a delay in monkey executions or make it hang.
Also removed unused imports in one of the fingerprinters
Add any further explanations here.
PR Checklist
Testing Checklist