diff options
| author | 2019-07-28 18:30:34 +0100 | |
|---|---|---|
| committer | 2019-07-28 18:30:34 +0100 | |
| commit | a0efd7c0c7397ceeb1f869edec2a34cf4a46197b (patch) | |
| tree | 2394ab0453e5351844c4e38fd816be3f7fa23b43 /modules | |
| parent | add proxy.py (diff) | |
| signature | ||
Use _make_socket provided timeout
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy.py b/modules/proxy.py index ccbda4ab..744afae1 100644 --- a/modules/proxy.py +++ b/modules/proxy.py @@ -36,5 +36,5 @@ class Module(ModuleManager.BaseModule): return lambda host, port, bind, timeout: self._make_socket( ptype, phost, pport, host, port, bind, timeout) def _make_socket(self, ptype, phost, pport, host, port, bind, timeout): - return socks.create_connection((host, port), 20, bind, + return socks.create_connection((host, port), timeout, bind, ptype, phost, pport) |
