From 2faa983da606f3f0e3e8eaf0b41cbad6537d06af Mon Sep 17 00:00:00 2001 From: kris <> Date: Wed, 11 Mar 2009 00:10:27 +0000 Subject: [PATCH] Use [-] instead of [*] for error messages git-svn-id: file:///home/svn/framework3/trunk@6332 4d416f70-5f16-0410-b530-b9f4589650da --- msfd | 2 +- msfgui | 4 ++-- msfrpc | 4 ++-- msfrpcd | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/msfd b/msfd index 9624b638ce..c2d21c1648 100755 --- a/msfd +++ b/msfd @@ -80,7 +80,7 @@ begin exit(0) if Process.fork() end rescue ::NotImplementedError - $stderr.puts "[*] Background mode is not available on this platform" + $stderr.puts "[-] Background mode is not available on this platform" end # Run the plugin instance in the foreground. diff --git a/msfgui b/msfgui index e209005e64..84edc4d95f 100755 --- a/msfgui +++ b/msfgui @@ -22,7 +22,7 @@ begin rescue ::Exception => e $stderr.puts "[*] The msfgui interface requires the ruby-gtk2 and ruby-libglade2 packages" $stderr.puts "[*] Dependencies include ruby-pango, ruby-glib2, ruby-gdkpixbuf2, and ruby-atk" - $stderr.puts "[*] Error: #{e.class} #{e}" + $stderr.puts "[-] Error: #{e.class} #{e}" exit(0) end @@ -74,7 +74,7 @@ begin exit(0) if Process.fork() end rescue ::NotImplementedError - $stderr.puts "[*] Background mode is not available on this platform" + $stderr.puts "[-] Background mode is not available on this platform" end class FakeOut diff --git a/msfrpc b/msfrpc index 8cc323944e..950ecb4f2c 100755 --- a/msfrpc +++ b/msfrpc @@ -52,13 +52,13 @@ arguments.parse(ARGV) { |opt, idx, val| if(not opts['ServerHost']) - $stderr.puts "[*] Error: a server IP must be specified (-a)" + $stderr.puts "[-] Error: a server IP must be specified (-a)" $stderr.puts arguments.usage exit(0) end if(not opts['Pass']) - $stderr.puts "[*] Error: a password must be specified (-P)" + $stderr.puts "[-] Error: a password must be specified (-P)" $stderr.puts arguments.usage exit(0) end diff --git a/msfrpcd b/msfrpcd index e22a36b6f0..ac1b49bab6 100755 --- a/msfrpcd +++ b/msfrpcd @@ -57,7 +57,7 @@ arguments.parse(ARGV) { |opt, idx, val| } if(not opts['Pass']) - $stderr.puts "[*] Error: a password must be specified (-P)" + $stderr.puts "[-] Error: a password must be specified (-P)" exit(0) end @@ -78,7 +78,7 @@ begin exit(0) if Process.fork() end rescue ::NotImplementedError - $stderr.puts "[*] Background mode is not available on this platform" + $stderr.puts "[-] Background mode is not available on this platform" end # Run the plugin instance in the foreground.