Skip to content

Commit 18ca617

Browse files
committed
Land rapid7#5649, Fix undefined sysinfo method error in meterpreter.rb
2 parents f6cdbb6 + c4875a8 commit 18ca617

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/msf/base/sessions/meterpreter.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,9 @@ def load_session_info
375375
:host => self,
376376
:workspace => wspace,
377377
:data => {
378-
:name => sysinfo["Computer"],
379-
:os => sysinfo["OS"],
380-
:arch => sysinfo["Architecture"],
378+
:name => sys.config.sysinfo["Computer"],
379+
:os => sys.config.sysinfo["OS"],
380+
:arch => sys.config.sysinfo["Architecture"],
381381
}
382382
})
383383

0 commit comments

Comments
 (0)