Use [-] instead of [*] for error messages
git-svn-id: file:///home/svn/framework3/trunk@6332 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user