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:
James Lee 2012-02-29 08:14:02 -07:00
parent 4a5d7debd5
commit f5e2d1c19b
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ class Meterpreter < Rex::Post::Meterpreter::Client
# Find the first non-loopback address
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
nhost = iface.first.ip
end