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
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo "usage: $0 <install|update> " | |
echo "Author: Matias Pablo Brutti" | |
echo "Bye :)" | |
exit | |
fi | |
echo "This might not compile because it is download straight from" | |
echo "the svn repository. If it does not work either wait and try" |
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
class UserAgent | |
@USER_AGENTS=[ | |
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Acoo Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", | |
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)", | |
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Acoo Browser; InfoPath.2; .NET CLR 2.0.50727; Alexa Toolbar)", | |
"amaya/9.52 libwww/5.4.0", | |
"amaya/11.1 libwww/5.4.0", | |
"Amiga-AWeb/3.5.07 beta", | |
"AmigaVoyager/3.4.4 (MorphOS/PPC native)", | |
"AmigaVoyager/2.95 (compatible; MC680x0; AmigaOS)", |
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 "Colorize" | |
class Klass | |
include Colors | |
def initialize | |
system("echo #{red("hola")} This is a #{blue("test")}") | |
system("echo #{red on_white("Hola1")}") | |
puts "#{red on_blue("Hola2")}" | |
end | |
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
require "Colorize" | |
class Klass | |
include Colors | |
def initialize | |
system("echo #{red("hola")} This is a #{blue("test")}") | |
system("echo #{red on_white("Hola1")}") | |
puts "#{red on_blue("Hola2")}" | |
end | |
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 |
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
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
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 '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
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" |
OlderNewer