-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathxmlrpc_db.diff
More file actions
25 lines (23 loc) · 784 Bytes
/
xmlrpc_db.diff
File metadata and controls
25 lines (23 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: plugins/xmlrpc.rb
===================================================================
--- plugins/xmlrpc.rb (revision 9168)
+++ plugins/xmlrpc.rb (working copy)
@@ -116,6 +116,10 @@
self.server.add_handler(::XMLRPC::iPIMethods("module"),
::Msf::RPC::Module.new(*args)
)
+
+ self.server.add_handler(::XMLRPC::iPIMethods("db"),
+ ::Msf::RPC::Db.new(*args)
+ )
# Set the default/catch-all handler
self.server.set_default_handler do |name, *args|
Index: lib/msf/core/rpc.rb
===================================================================
--- lib/msf/core/rpc.rb (revision 9168)
+++ lib/msf/core/rpc.rb (working copy)
@@ -8,4 +8,5 @@
require "msf/core/rpc/module"
require "msf/core/rpc/job"
require "msf/core/rpc/console"
+require "msf/core/rpc/db"