Skip to content

Commit 11b3fd9

Browse files
author
Brent Cook
committed
Land rapid7#8468, Update system info after running getsystem
2 parents 59ab73b + 53cbbba commit 11b3fd9

File tree

1 file changed

+1
-0
lines changed
  • lib/rex/post/meterpreter/extensions/priv

1 file changed

+1
-0
lines changed

lib/rex/post/meterpreter/extensions/priv/priv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def getsystem( technique=0 )
6868

6969
if( response.result == 0 and technique != nil )
7070
client.core.use( "stdapi" ) if not client.ext.aliases.include?( "stdapi" )
71+
client.update_session_info
7172
client.sys.config.getprivs
7273
if client.framework.db and client.framework.db.active
7374
client.framework.db.report_note(

0 commit comments

Comments
 (0)