Grevious typo causing load_session_info failure
That's the problem with rescue ::Exception, it catches crap like this and it takes a while before anyone notices. =(
This commit is contained in:
parent
4a5d7debd5
commit
f5e2d1c19b
|
@ -334,7 +334,7 @@ class Meterpreter < Rex::Post::Meterpreter::Client
|
||||||
|
|
||||||
# Find the first non-loopback address
|
# Find the first non-loopback address
|
||||||
if not nhost
|
if not nhost
|
||||||
iface = ifaces.select{|i| t.ip != "127.0.0.1" }
|
iface = ifaces.select{|i| i.ip != "127.0.0.1" }
|
||||||
if iface.length > 0
|
if iface.length > 0
|
||||||
nhost = iface.first.ip
|
nhost = iface.first.ip
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue