Prefer keyword args after all
SINCE we've been using only the first two params, we're fine!GSoC/Meterpreter_Web_Console
parent
a453760aa4
commit
1e1950c83d
|
@ -38,7 +38,7 @@ class CommandStream
|
|||
self.channel = channel
|
||||
end
|
||||
|
||||
def initialize(ssh, cmd = nil, pty = false, cleanup = false)
|
||||
def initialize(ssh, cmd = nil, pty: false, cleanup: false)
|
||||
self.lsock, self.rsock = Rex::Socket.tcp_socket_pair()
|
||||
self.lsock.extend(Rex::IO::Stream)
|
||||
self.lsock.extend(PeerInfo)
|
||||
|
|
Loading…
Reference in New Issue