You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Meterpreter sessions on Windows session.sys.config.sysinfo['Computer'] returns the system hostname, whereas on Linux the host IP address is returned instead.
msf6 exploit(multi/handler) >
[*] Sending stage (3045348 bytes) to 192.168.200.202
[*] Meterpreter session 1 opened (192.168.200.130:1337 -> 192.168.200.202:41368) at 2022-11-22 07:28:51 -0500
msf6 exploit(multi/handler) > sessions
Active sessions
===============
Id Name Type Information Connection
-- ---- ---- ----------- ----------
1 meterpreter x64/linux user @ 192.168.200.202 192.168.200.130:1337 -> 192.168.200.202:41368 (192.168.200.202)
msf6 exploit(multi/handler) > sessions -i 1
[*] Starting interaction with 1...
meterpreter > sysinfo
Computer : 192.168.200.202
OS : Ubuntu 22.04 (Linux 5.15.0-53-generic)
Architecture : x64
BuildTuple : x86_64-linux-musl
Meterpreter : x64/linux
meterpreter >
The text was updated successfully, but these errors were encountered:
rapid7/mettle#239
On Meterpreter sessions on Windows
session.sys.config.sysinfo['Computer']
returns the system hostname, whereas on Linux the host IP address is returned instead.The text was updated successfully, but these errors were encountered: