diff options
author | Malfurious <m@lfurio.us> | 2022-03-23 06:45:02 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2022-04-08 23:41:32 -0400 |
commit | 3dbb44a7568ab28e2e6502f2f75e62aba7744ded (patch) | |
tree | 511e25c0955d5e18f50067720e329b88ff0092ac | |
parent | 9b91175045c4dc6e2c3d1d83433f9569495fcb9f (diff) | |
download | lib-des-gnux-3dbb44a7568ab28e2e6502f2f75e62aba7744ded.tar.gz lib-des-gnux-3dbb44a7568ab28e2e6502f2f75e62aba7744ded.zip |
sploit: Fix units for Comm.timeout
select's poll.poll() function expects its timeout argument to be in
milliseconds. This is an artifact from earlier developent where we were
using the higher-level 'selectors' API, which never got merged.
Signed-off-by: Malfurious <m@lfurio.us>
Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
-rw-r--r-- | tools/sploit/sploit/comm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sploit/sploit/comm.py b/tools/sploit/sploit/comm.py index 265ab96..b373762 100644 --- a/tools/sploit/sploit/comm.py +++ b/tools/sploit/sploit/comm.py @@ -12,7 +12,7 @@ class Comm: logonwrite = False flushonwrite = True readonwrite = False - timeout = 0.25 # seconds + timeout = 250 # milliseconds def __init__(self, backend): self.back = backend |