diff --git a/lib/msf/core/handler/passivex.rb b/lib/msf/core/handler/passivex.rb index b6d0c40744..54e5323c3d 100644 --- a/lib/msf/core/handler/passivex.rb +++ b/lib/msf/core/handler/passivex.rb @@ -130,7 +130,7 @@ module PassiveX # # The write function for Rex::IO::StreamAbstraction.monitor_rsock # - def write(buf) + def write(buf, opts={}) write_remote(buf) return buf.length end