Skip to content

Commit 3870b59

Browse files
David MaloneyDavid Maloney
authored andcommitted
remove rpg_get_auth_info
this is an rpc call that calls a method that does not even exist... WAT?!
1 parent c9d231b commit 3870b59

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

lib/msf/core/rpc/v10/rpc_db.rb

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -542,24 +542,6 @@ def rpc_notes(xopts)
542542
}
543543
end
544544

545-
def rpc_get_auth_info(xopts)
546-
::ActiveRecord::Base.connection_pool.with_connection {
547-
opts, wspace = init_db_opts_workspace(xopts)
548-
ret = {}
549-
ret[:auth_info] = []
550-
# XXX: This method doesn't exist...
551-
ai = self.framework.db.get_auth_info(opts)
552-
ai.each do |i|
553-
info = {}
554-
i.each do |k,v|
555-
info[k.to_sym] = v
556-
end
557-
ret[:auth_info] << info
558-
end
559-
ret
560-
}
561-
end
562-
563545
def rpc_get_ref(name)
564546
::ActiveRecord::Base.connection_pool.with_connection {
565547
db_check

0 commit comments

Comments
 (0)