Update enum_configs
parent
a30144f9ab
commit
2cbb107bba
|
@ -52,7 +52,7 @@ class Metasploit3 < Msf::Post
|
|||
when /meterpreter/
|
||||
host = sysinfo["Computer"]
|
||||
when /shell/
|
||||
host = session.shell_command_token("hostname").chomp
|
||||
host = cmd_exec("hostname").chomp
|
||||
end
|
||||
|
||||
return host
|
||||
|
|
Loading…
Reference in New Issue