This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gocard | |
import ( | |
"fmt" | |
"io" | |
"crypto/md5" | |
"crypto/sha1" | |
"crypto/sha256" | |
"crypto/sha512" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'cgi' | |
class Amazon | |
GOOGLE = "www.google.com" | |
AMAZON = "www.amazon.com" | |
PORT = 80 | |
QUERY = "/cse?q=site:http://www.amazon.com/gp/pdp/profile/&hl=en&cof=&num=100&filter=0&safe=off&start=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subject>EMaily Test Email</subject> | |
<html> | |
<body> | |
<h1> Hello %%name%% </h1> | |
I'm testing this email: %%email%% | |
Regards, | |
EMaily |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'cgi' | |
class Github | |
GOOGLE = "www.google.com" | |
GITHUB = "www.github.com" | |
PORT = 80 | |
QUERY = "/cse?q=site:github.com++intitle:Profile&hl=en&cof=&num=100&filter=0&safe=off&start=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
search = ESearchy::Search.new(:query => "@pirulo.com", | |
:company => "Pirulo Company", | |
:website => "https://www.pirulo.com", | |
:maxhits => 1000, | |
:log => true ) | |
search.start do |s| | |
s.Emails(:Google,:Altavista,:Yahoo,:Bing,:Spider) do |e| | |
e.Yahoo.appid= "aaaaaaaaaaaaaaaaaaaaaaaaa" | |
e.Bing.appid= "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'base64' | |
class BMN | |
def self.decode(input, offset) | |
# thanks tlrobinson @ github | |
input.unpack("m*")[0][4..-1].unpack("C*").map{|c| c - offset }.pack("C*") | |
end | |
def self.fetch_users(domain,size=nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
domain = Esearchy.new :query => "domain.com", | |
:maxhits => 500, | |
:engines => [:Google,:Yahoo] | |
domain.search | |
domain.save_to_file "~/emails.txt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'esearchy' | |
ESearchy::LOG.level = ESearchy::APP | |
ESearchy.create "domain.com" do |d| | |
d.yahoo_key = "dsdsdsdsdsdsdsd" | |
d.bing_key = "dsdsdsdsdsdsdsdsd" | |
d.company_name = "Domain Corp" | |
d.linkedin_credentials = "[email protected]", "12345" # or use the constant ESearch::BUGMENOT | |
d.maxhits = 500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ESearchy.create "domain.com" do |d| | |
d.engines = { "LinkedIn" => LinkedIn.new} | |
d.company_name "Domain Corp" | |
d.linkedin_credentials "[email protected]", "12345" | |
d.maxhits = 100 | |
d.search | |
d.save_to_file "linkedin_emails.txt"</pre> | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Esearchy.create "domain.com" do |domain| | |
domain.maxhits = 500 | |
domain.search | |
domain.clean {|e| e =~ /<|>/ } | |
domain.save_to_file "~/emails.txt" | |
end |