1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

add arch to rpc session details

This commit is contained in:
TheNaterz 2017-06-08 16:26:13 -06:00
parent 99fa52e660
commit c3b2476a51

View File

@ -46,7 +46,8 @@ class RPC_Session < RPC_Base
'username' => s.username.to_s,
'uuid' => s.uuid.to_s,
'exploit_uuid' => s.exploit_uuid.to_s,
'routes' => s.routes.join(",")
'routes' => s.routes.join(","),
'arch' => s.arch.to_s
}
if(s.type.to_s == "meterpreter")
res[s.sid]['platform'] = s.platform.to_s