Quantcast
Channel: LeakedIn
Viewing all articles
Browse latest Browse all 5503

Potential leak of data: Amazon Access Key

$
0
0
Detected 2 occurrence(s) of ‘(access_key_id|secret_access_key)’: s3.buckets do |bucket| bucket.creation_date end require 'aws-sdk-core' Aws.config = { :access_key_id => "YOUR_ACCESS_KEY", :secret_access_key => "YOUR_SECRET_KEY", :region => 'YOUR_REGION' } s3 = Aws::S3.new s3.list_buckets.each do |resp| resp.buckets.each do |bucket| puts "#{bucket.name} ----> #{bucket.creation_date}" end end MyBucket1 ----> 2014-01-22 16:25:18 UTC MyBucket2 --- Source: http://pastebin.com/raw.php?i=1ALmsk8U

Viewing all articles
Browse latest Browse all 5503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>