Fix EOL space warnings from msftidy
commit
184ec08160
|
@ -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
|
||||||
|
|
|
@ -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*')
|
||||||
|
|
Loading…
Reference in New Issue