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 | cf0ba79fdeca5c007f02c34031a8cba34423a576 (patch) | |
tree | 4676603d3632421eaf0a63e0b4f6c2dd60a79a8b | |
parent | 0101b6e4307771cc24e46381ab20aa059fcea78d (diff) | |
download | sploit-cf0ba79fdeca5c007f02c34031a8cba34423a576.tar.gz sploit-cf0ba79fdeca5c007f02c34031a8cba34423a576.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-- | sploit/comm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sploit/comm.py b/sploit/comm.py index 265ab96..b373762 100644 --- a/sploit/comm.py +++ b/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 |