We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e6465 commit ddb62c8Copy full SHA for ddb62c8
1 file changed
lib/msf/core/rpc/v10/rpc_db.rb
@@ -356,15 +356,6 @@ def rpc_add_workspace(wspace)
356
}
357
end
358
359
- def rpc_add_host(xopts)
360
- ::ActiveRecord::Base.connection_pool.with_connection {
361
- opts, wspace = init_db_opts_workspace(xopts)
362
- host = self.framework.db.add_host(opts)
363
- return { 'result' => 'success' } if(host)
364
- { 'result' => 'failed' }
365
- }
366
- end
367
-
368
def rpc_get_host(xopts)
369
::ActiveRecord::Base.connection_pool.with_connection {
370
opts, wspace = init_db_opts_workspace(xopts)
0 commit comments