Fixing bug spotted by troulouliou in ipv6_neighbor
Just check for nilness, not the :symbol.unstable
parent
ab269ac4ec
commit
7b0ee58d9f
|
@ -145,7 +145,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
while (::Time.now.to_f < etime)
|
||||
while(adv = getadvertisement())
|
||||
next if not adv[:icmpv6]
|
||||
next if not adv
|
||||
|
||||
addr = map_neighbor(neighs, adv)
|
||||
next if not addr
|
||||
|
|
Loading…
Reference in New Issue