Woops, add the missing support files

git-svn-id: file:///home/svn/framework3/trunk@8400 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore
2010-02-08 00:59:29 +00:00
parent 7870638481
commit 5f76353e8e
2 changed files with 8 additions and 2 deletions
+6 -1
View File
@@ -82,7 +82,7 @@ module Exploit::Remote::SunRPC
progname = progresolv(rpcobj.program)
err = "SunRPC call for program #{rpcobj.program} [#{progname}], procedure #{proc}, failed: "
if (arr[1] != MSG_ACCEPTED)
err << 'Message not accepted'
err << 'Message not accepted'
elsif (arr[4] and arr[4] != SUCCESS)
case arr[4]
when PROG_UMAVAIL then err << "Program Unavailable"
@@ -99,6 +99,10 @@ module Exploit::Remote::SunRPC
return ret
end
def sunrpc_callsock
self.rpcobj.call_sock
end
def sunrpc_destroy
rpcobj.destroy
rpcobj = nil
@@ -151,3 +155,4 @@ module Exploit::Remote::SunRPC
end
end
+2 -1
View File
@@ -27,7 +27,7 @@ class Client
CALL = 0
attr_reader :rhost, :rport, :proto, :program, :version
attr_accessor :pport
attr_accessor :pport. :call_sock
attr_accessor :should_fragment
@@ -176,3 +176,4 @@ end
end
end
end