module PWN::AWS::Redshift
def self.authors
def self.authors rt@0dayinc.com>
def self.connect(opts = {})
def self.connect(opts = {}) ion].to_s.scrub.chomp.strip ts[:access_key_id].to_s.scrub.chomp.strip = opts[:secret_access_key].to_s.scrub.chomp.strip = opts[:sts_session_token].to_s.scrub.chomp.strip necting to AWS Redshift...') en == '' ws::Redshift::Client.new( , access_key_id, key: secret_access_key ws::Redshift::Client.new( , access_key_id, key: secret_access_key, sts_session_token plete.\n") => e
def self.disconnect(opts = {})
def self.disconnect(opts = {}) s[:redshift_obj] connecting...') plete.\n") => e
def self.help
def self.help {self}.connect( red - region name to connect (eu-west-1, ap-southeast-1, ap-southeast-2, eu-central-1, ap-northeast-2, ap-northeast-1, us-east-1, sa-east-1, us-west-1, us-west-2)', 'required - Use AWS STS for best privacy (i.e. temporary access key id)', key: 'required - Use AWS STS for best privacy (i.e. temporary secret access key', ken: 'optional - Temporary token returned by STS client for best privacy' j.public_methods ct( 'required - redshift_obj returned from #connect method'