Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Kali Linux (Tutorial 1 ) (TheHarvester)

Hi, I'am IT Security and Programming student , in my counter a mate of mine is working about Project to Kali Linux, so i decided to be Posting his tutorial so that People can have some idea about tool on Kali lot of time i saw People posting thread about How to use Kali tool .

Collect Domain, E-mail address & Document Metadata information from the Target

The Kali Linux tools grouped in this category can be used to collect domain, e-mail address, and document metadata information from the target. These tools use a search engine to do their actions. The advantage of these tools is that they use search engine sites. So, you don't access the target website yourself, instead the search engine site will do that for you. As a result, the target website will not know about your action.

Let us explore several of these tools.
theharvester
The theharvester tool is an e-mail accounts, username, and hostname/subdomains gathering tool. It collects information from various public sources. As of Version 2.2, the public sources that are supported are as follows:

• Google
• Google profiles
• Bing
• PGP
• LinkedIn
• Yandex
• People123
• Jigsaw
• Shodan


To access theharvester in Kali Linux, you can use the console and type the following command:
# theharvester
This will display the usage information and example on your screen as shown bellow.

[img]http://2.bp.blogspot.com/-RiFCl5famSY/U-tfkZFxA1I/AAAAAAAAAkM/gzJXpJ0u8ts/s1600/1.jpg[/img]

If we want to find the e-mail addresses and hostnames for a target domain using Google and limit the result to 100, the following is the appropriate command:
# theharvester -d google.com -l 100 -b google

The following e-mail addresses and hostnames are found:

[img]http://4.bp.blogspot.com/-6trl0GreNBI/U-tgt_fPK7I/AAAAAAAAAkU/HDdHONEjI9U/s1600/2.jpg[/img]

From the preceding result, we notice that we are able to get several e-mail addresses and hostnames from the Google search engine.

If we want to gather more information, let's say we want to collect the username from the target, we can use linkedin.com to do this. The following is the command for that:
# theharvester -d google.com -l 100 -b linkedin

The following is the result:
[img]http://1.bp.blogspot.com/-2lF_7FXGRNk/U-thpKSOUWI/AAAAAAAAAkc/WtR3uRohZm0/s1600/3.jpg[/img]

The preceding list of usernames collected from LinkedIn will be useful in a penetration testing step later if we want to do an attack, such as a social engineering attack

Tutorial created by : Mr Tandel :)
Nice tutorial. You will have your work cut out for you even covering half of the tools on Kali though. Well done anyway and I hope to see more tutorials!
This isn't much of a tutorial. You're only showing the output of two simple commands on one tool.
(Oct 6, 2014 07:13 PM)DrDinosaur Wrote:  This isn't much of a tutorial. You're only showing the output of two simple commands on one tool.

exactly my thoughts, I was hoping for a more detailed tutorial that explains the principle of how the tool work and what possible modifications for the tool for better results.
Have a cool signature? hit me up and I might use it.
very good thanks for this nice informative tutorial ,i hope you will make it even better
theHarvester hardly needs to have a lengthy tutorial. That said, often results used on targets seem arbitrary. You can add -f filename.txt to store output in a file
nice tutorial but i am facing one problem i.e domain abc.com now in this domain 100 emails are created but harvester shows only 10 emails only whereas this domain abc.com emails are also can access from gmail.com because domain abc.com server emails are on google clouds
(Nov 15, 2014 06:58 AM)kane2026 Wrote:  theHarvester hardly needs to have a lengthy tutorial. That said, often results used on targets seem arbitrary. You can add -f filename.txt to store output in a file

Really? It can be a lengthy tutorial if OP knew what happens behind the scenes.

And you're not going to find shit with Google (unless of course you search "google.com"), Google has a nice algorithm that blocks that shit, mostly. PGP and Bing is where you'll find the good shit.
(Nov 18, 2014 01:27 AM)techme1 Wrote:  nice tutorial but i am facing one problem i.e domain abc.com now in this domain 100 emails are created but harvester shows only 10 emails only whereas this domain abc.com emails are also can access from gmail.com because domain abc.com server emails are on google clouds

reply my above post i really need help
dose this still work in kali linux? when i try i get no lluck
May i ask if this is still working or is there any update on this TUT? Thanks mate.
(Sep 5, 2016 10:32 AM)ryxzen Wrote:  May i ask if this is still working or is there any update on this TUT? Thanks mate.

Yes, this is still a working tool.
[Image: Btc2oyr.gif]



Possibly Related Threads...
Thread / Author Replies Views Last Post
by TheBakedBallerJan 21, 2020 09:33 PM 0 136 Jan 21, 2020 09:33 PM
Last Post: TheBakedBaller
by sabrexMay 2, 2017 10:23 AM 3 430 May 2, 2017 10:23 AM
Last Post: heinrich695
by Zer0GravityApr 29, 2017 04:46 PM 6 549 Apr 29, 2017 04:46 PM
Last Post: llama77