From ed5b8895bb996115eb1d4d62b3e6a080f7b329d6 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Tue, 28 May 2013 18:45:49 -0500 Subject: [PATCH] Fixes smart_migrate for a TypeError bug Bug is: TypeError can't convert Rex::RuntimeError into String [SeeRM: #7984] --- modules/post/windows/manage/smart_migrate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/windows/manage/smart_migrate.rb b/modules/post/windows/manage/smart_migrate.rb index b40bd5d425..9d6896e580 100644 --- a/modules/post/windows/manage/smart_migrate.rb +++ b/modules/post/windows/manage/smart_migrate.rb @@ -61,7 +61,7 @@ class Metasploit3 < Msf::Post return true rescue ::Exception => e print_error("Could not migrate in to process.") - print_error(e) + print_error(e.to_s) return false end end