Fix EOL space warnings from msftidy

bug/bundler_fix
William Vu 2014-05-09 18:34:57 -05:00
commit 184ec08160
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class Metasploit3 < Msf::Auxiliary
register_options( register_options(
[ [
OptString.new('TARGET_URI', [ false, "Single target URI", nil]), OptString.new('TARGET_URI', [ false, "Single target URI", nil]),
OptPath.new('TARGET_URIS_FILE', [ false, "Path to list of URIs to request", OptPath.new('TARGET_URIS_FILE', [ false, "Path to list of URIs to request",
File.join(Msf::Config.data_directory, "wordlists", "http_owa_common.txt")]), File.join(Msf::Config.data_directory, "wordlists", "http_owa_common.txt")]),
], self.class) ], self.class)
end end

View File

@ -228,7 +228,7 @@ class Metasploit3 < Msf::Auxiliary
# postgresql TLS - works with all modern pgsql versions - 8.0 - 9.3 # postgresql TLS - works with all modern pgsql versions - 8.0 - 9.3
# http://www.postgresql.org/docs/9.3/static/protocol-message-formats.html # http://www.postgresql.org/docs/9.3/static/protocol-message-formats.html
sock.get_once sock.get_once
# the postgres SSLRequest packet is a int32(8) followed by a int16(1234), # the postgres SSLRequest packet is a int32(8) followed by a int16(1234),
# int16(5679) in network format # int16(5679) in network format
psql_sslrequest = [8].pack('N') psql_sslrequest = [8].pack('N')
psql_sslrequest << [1234, 5679].pack('n*') psql_sslrequest << [1234, 5679].pack('n*')