diff --git a/modules/exploits/windows/smb/ms17_010_eternalblue.rb b/modules/exploits/windows/smb/ms17_010_eternalblue.rb index 8dd3fc49e7..8361040f3d 100644 --- a/modules/exploits/windows/smb/ms17_010_eternalblue.rb +++ b/modules/exploits/windows/smb/ms17_010_eternalblue.rb @@ -101,7 +101,7 @@ class MetasploitModule < Msf::Exploit::Remote # we don't need this sleep, and need to find a way to remove it # problem is session_count won't increment until stage is complete :\ secs = 0 - while !session_created? and sec < 5 + while !session_created? and secs < 5 secs += 1 sleep 1 end