While programming Esearchy I had to create a simple class to retrieve random user agents. You may say but why you would want something like this, and the answer is simple:
“Try to trick the search engines, so they would not block me”.
Yeah, I know this might not even works, but it’s still cool. =D
Well here it goes
Use it at your own discretion and listen to your ghost …
Well, hello again, long time since the last post. I went on vacations, work a lot and did some programming. Let’s talk abount the programming part, since it is the most interesting one.
I created a small library called “Esearchy” capable of searching the internet for email addresses. Currently, we the supported search methods are engines such as Google, Bing, Yahoo, PGP servers, GoogleGroups, etc , but I intend to add many more.
Also, the library searches inside .pdf and .txt files for emails addresses and adds them to the list of found accounts.
For now, there are two main ways of performing a search, “the ruby way”
Esearchy.create "domain.com" do |domain|
domain.maxhits = 500
domain.search
domain.clean {|e| e =~ /<|>/ }
domain.save_to_file "~/emails.txt"
end
and the more classic way in which users can create an Esearchy objetc and work on it
domain = Esearchy.new :query => "domain.com", :maxhits => 500
domain.search
domain.save_to_file "~/emails.txt"
For now , that’s it for now , but keep on tuned for more shitty code ajjajaa
