Fixes #526. Correct socket name and call to super in the socket output io

git-svn-id: file:///home/svn/framework3/trunk@7548 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-11-16 23:35:34 +00:00
parent 9b1935eb2a
commit a92fbb1ff4
2 changed files with 7 additions and 4 deletions

View File

@ -13,6 +13,7 @@ class Output::Socket < Rex::Ui::Text::Output
def initialize(sock) def initialize(sock)
@sock = sock @sock = sock
super()
end end
def supports_color? def supports_color?
@ -39,3 +40,4 @@ end
end end
end end
end end

View File

@ -110,7 +110,7 @@ class Plugin::Msfd < Msf::Plugin
client.close client.close
next next
end end
msg = "Msfd: New connection from #{cli.peerhost}" msg = "Msfd: New connection from #{client.peerhost}"
ilog(msg, 'core') ilog(msg, 'core')
print_status(msg) print_status(msg)
@ -158,3 +158,4 @@ protected
end end
end end