Skip to content

Commit c89fee8

Browse files
David MaloneyDavid Maloney
authored andcommitted
Land rapid7#8529, RPC Session Arch
Lands pr adding Session arch to info returned by rpc
2 parents 56fbf4c + c3b2476 commit c89fee8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def rpc_list
4646
'username' => s.username.to_s,
4747
'uuid' => s.uuid.to_s,
4848
'exploit_uuid' => s.exploit_uuid.to_s,
49-
'routes' => s.routes.join(",")
49+
'routes' => s.routes.join(","),
50+
'arch' => s.arch.to_s
5051
}
5152
if(s.type.to_s == "meterpreter")
5253
res[s.sid]['platform'] = s.platform.to_s

0 commit comments

Comments
 (0)