From fdc19b5e4a1dcfd4a1780a3f42c645bb49cf5f73 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Tue, 3 May 2011 03:09:20 +0000 Subject: [PATCH] Add the second required argument to write() git-svn-id: file:///home/svn/framework3/trunk@12518 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/handler/passivex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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