add an rpc call to grab the host's directory separator, see #4892

git-svn-id: file:///home/svn/framework3/trunk@13385 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-07-27 23:49:29 +00:00
parent 2c73f47046
commit e87fb830ec
1 changed files with 6 additions and 0 deletions

View File

@ -185,6 +185,12 @@ class RPC_Session < RPC_Base
rpc_meterpreter_run_single( sid, "run #{data}")
end
def rpc_meterpreter_directory_separator(sid)
s = _valid_session(sid,"meterpreter")
{ "separator" => s.fs.file.separator }
end
def rpc_compatible_modules( sid)
ret = []