diff --git a/modules/post/windows/manage/migrate.rb b/modules/post/windows/manage/migrate.rb index 7352717219..b2d1c960f0 100644 --- a/modules/post/windows/manage/migrate.rb +++ b/modules/post/windows/manage/migrate.rb @@ -53,7 +53,7 @@ class Metasploit3 < Msf::Post elsif datastore['NAME'] target_pid = session.sys.process[datstore['NAME']] end - + if not target_pid print_error("Process or PID not found") return