display who we're sending the stage to, if possible
git-svn-id: file:///home/svn/framework3/trunk@8948 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
900fb250a2
commit
deeb00e4ae
|
@ -100,7 +100,11 @@ module Msf::Payload::Stager
|
|||
p = (self.stage_prefix || '') + p
|
||||
end
|
||||
|
||||
print_status("Sending stage (#{p.length} bytes)")
|
||||
if conn.respond_to? :peerhost
|
||||
print_status("Sending stage (#{p.length} bytes) to #{conn.peerhost}")
|
||||
else
|
||||
print_status("Sending stage (#{p.length} bytes)")
|
||||
end
|
||||
|
||||
# Send the stage
|
||||
conn.put(p)
|
||||
|
@ -164,4 +168,4 @@ module Msf::Payload::Stager
|
|||
#
|
||||
attr_accessor :stage_prefix
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue