From a78a58b9d0e35b5e7d982cf4389b2ca52056784c Mon Sep 17 00:00:00 2001 From: HD Moore Date: Sat, 28 May 2011 05:17:34 +0000 Subject: [PATCH] More RPC cleanup work git-svn-id: file:///home/svn/framework3/trunk@12757 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/rpc/v10/rpc_auth.rb | 2 +- lib/msf/core/rpc/v10/rpc_session.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/rpc/v10/rpc_auth.rb b/lib/msf/core/rpc/v10/rpc_auth.rb index d9b9c5b73d..4b3ee59af4 100644 --- a/lib/msf/core/rpc/v10/rpc_auth.rb +++ b/lib/msf/core/rpc/v10/rpc_auth.rb @@ -60,7 +60,7 @@ class RPC_Auth < RPC_Base { "result" => "success" } end - + def rpc_token_generate token = Rex::Text.rand_text_alphanumeric(32) db = false diff --git a/lib/msf/core/rpc/v10/rpc_session.rb b/lib/msf/core/rpc/v10/rpc_session.rb index 0830e8a823..9c0ce0638c 100644 --- a/lib/msf/core/rpc/v10/rpc_session.rb +++ b/lib/msf/core/rpc/v10/rpc_session.rb @@ -182,7 +182,7 @@ class RPC_Session < RPC_Base end def rpc_meterpreter_script( sid, data) - meterpreter_run_single( sid, "run #{data}") + rpc_meterpreter_run_single( sid, "run #{data}") end def rpc_compatible_modules( sid)