Fixes some msyql issues by forcing read/write timepouts on the
connection object Fixes #6297unstable
parent
86a1a58d2c
commit
680e92968a
|
@ -42,6 +42,8 @@ module Exploit::Remote::MYSQL
|
|||
@mysql_handle = ::RbMysql.connect({
|
||||
:host => rhost,
|
||||
:port => rport,
|
||||
:read_timeout => 300,
|
||||
:write_timeout => 300,
|
||||
:socket => sock,
|
||||
:user => user,
|
||||
:password => pass,
|
||||
|
|
Loading…
Reference in New Issue