Skip to content

Commit

Permalink
Restore vprint_error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jvazquez-r7 committed Dec 12, 2013
1 parent 5c1ca97 commit 83e448f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/msf/core/post/windows/process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def execute_shellcode(shellcode, base_addr=nil, pid=nil)
vprint_status("Creating the thread to execute in 0x#{shell_addr.to_s(16)} (pid=#{pid.to_s})")
thread = host.thread.create(shell_addr,0)
unless thread.instance_of?(Rex::Post::Meterpreter::Extensions::Stdapi::Sys::Thread)
vprint_error("Unable to create thread")
return false
end

Expand Down

0 comments on commit 83e448f

Please sign in to comment.