Skip to content

Commit 83e448f

Browse files
committed
Restore vprint_error message
1 parent 5c1ca97 commit 83e448f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/msf/core/post/windows/process.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def execute_shellcode(shellcode, base_addr=nil, pid=nil)
3434
vprint_status("Creating the thread to execute in 0x#{shell_addr.to_s(16)} (pid=#{pid.to_s})")
3535
thread = host.thread.create(shell_addr,0)
3636
unless thread.instance_of?(Rex::Post::Meterpreter::Extensions::Stdapi::Sys::Thread)
37+
vprint_error("Unable to create thread")
3738
return false
3839
end
3940

0 commit comments

Comments
 (0)