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-b9f4589650daunstable
parent
2c73f47046
commit
e87fb830ec
|
@ -185,6 +185,12 @@ class RPC_Session < RPC_Base
|
||||||
rpc_meterpreter_run_single( sid, "run #{data}")
|
rpc_meterpreter_run_single( sid, "run #{data}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def rpc_meterpreter_directory_separator(sid)
|
||||||
|
s = _valid_session(sid,"meterpreter")
|
||||||
|
|
||||||
|
{ "separator" => s.fs.file.separator }
|
||||||
|
end
|
||||||
|
|
||||||
def rpc_compatible_modules( sid)
|
def rpc_compatible_modules( sid)
|
||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue