Join WhatsApp

Join Now

Join Telegram

Join Now

Subscribe YouTube

Subscribe

How To Install theHarvester In Termux | Latest 2026

By Saboor Shawkat

Published on:

install theHarvester in termux
Rate This post

In This Post I Am Going To Show You How To Install theHarvester In Termux. We Will Basically Install theHarvester In Termux So That We Can Perform OSINT And Information Gathering Tasks Like Collecting Emails, Finding Subdomains And Discovering IP Addresses Directly From Our Android Device. We Will Learn It Through A Step By Step Process And We Will Discuss About Each Part Of The Installation And Use Of theHarvester In Termux.

What Is theHarvester?

theHarvester Is A Free And Open Source OSINT And Information Gathering Tool That Is Widely Used By Security Researchers, Penetration Testers And Ethical Hackers All Over The World. This Tool Is Used To Collect Publicly Available Information Like Email Addresses, Subdomains, IP Addresses And Employee Names From Different Online Sources Like Google, Bing, DuckDuckGo And Many More.

theHarvester Works By Searching The Internet For Publicly Available Data Related To A Target Domain And Presents All The Results In A Clean And Easy To Read Format Directly In Your Terminal. theHarvester Is A Command Line Based Tool And Can Be Easily Installed And Used In Termux On Any Android Device Without Root Permission. theHarvester Must Only Be Used For Educational Purposes And On Domains That You Have Full Permission To Investigate.

How To Install theHarvester In Termux?

Installing theHarvester In Termux Is A Very Simple Process. We Just Have To Install A Few Dependencies First And Then Clone theHarvester From GitHub And Install It In Termux. Follow The Below Steps One By One To Install theHarvester In Termux:

Step 1:First Of All You Need To Open Your Termux App And Make Sure That You Are Connected To The Internet.

Step 2:Now Update And Upgrade All The Termux Packages For Better Installation Using pkg update && pkg upgrade -y Command In Termux.

ShellScript
pkg update && pkg upgrade -y

Step 3:Now Install Python, Pip And Git In Termux As These Are Required To Install theHarvester. Use The pkg install python git -y Command In Termux.

ShellScript
pkg install python git -y

Step 4: Now Clone theHarvester Repository From GitHub Using The git clone Command In Termux.

ShellScript
git clone https://github.com/laramies/theHarvester

Step 5: Now Move Into The theHarvester Directory Using The cd theHarvester Command In Termux.

ShellScript
cd theHarvester

Step 6: Now Install theHarvester And All Its Required Dependencies Using The pip install Command In Termux.

ShellScript
pip install .

theHarvester Will Start Installing In Your Termux And The Installation Will Be Completed Shortly Depending On Your Device And Internet Speed. After The Installation Has Been Completed You Can Check If It Is Properly Installed Or Not Using theHarvester -h Command In Termux.

ShellScript
theHarvester -h

If The Installation Was Successful You Will See The theHarvester Help Menu With All The Available Options Printed On Your Termux Screen. Now We Will See How We Can Use theHarvester In Termux For OSINT And Information Gathering.

How To Use theHarvester In Termux?

Once The Installation Has Been Finished You Can Easily Use theHarvester In Termux For Collecting Publicly Available Information From Different Online Sources. theHarvester Has A Lot Of Options And Flags That Can Be Used For Different Types Of OSINT Tasks. Below We Will See Some Of The Most Common And Useful theHarvester Commands That Can Be Used In Termux:

Collect Emails From A Domain Using Google

You Can Collect Publicly Available Email Addresses From Google Search Results Using theHarvester In Termux By Using The -d Flag For The Domain And -b google For The Search Source.

ShellScript
theHarvester -d example.com -b google

Find Subdomains Using Bing

You Can Find Subdomains Of A Target Domain Using Bing As The Search Source With theHarvester In Termux By Using The -b bing Flag In The Command.

ShellScript
theHarvester -d example.com -b bing

Use All Available Search Sources

You Can Perform An OSINT Search Using All The Supported Search Sources At Once With theHarvester In Termux By Using The -b all Flag In The Command.

ShellScript
theHarvester -d example.com -b all

Search Using DuckDuckGo

You Can Also Use DuckDuckGo As The Search Source For Information Gathering With theHarvester In Termux By Using The -b duckduckgo Flag In The Command.

ShellScript
theHarvester -d example.com -b duckduckgo

Save Results To A File

You Can Save All The Scan Results Into An Output File Using The -f Flag Followed By The File Name With theHarvester In Termux.

ShellScript
theHarvester -d example.com -b google -f result

Limit The Number Of Search Results

You Can Limit The Number Of Search Results That theHarvester Returns By Using The -l Flag Followed By The Number Of Results You Want In Termux.

ShellScript
theHarvester -d example.com -b google -l 50

Search With Verbose Output

You Can Get More Detailed Output From theHarvester In Termux By Adding The -v Flag To Your Command For Verbose Mode.

ShellScript
theHarvester -d example.com -b google -v

All These Commands Will Display Their Results Directly In The Termux Terminal With Detailed Information About The Target Domain. Make Sure You Only Perform OSINT On Domains That You Have Full Permission To Investigate.

How To Install theHarvester In A Single Command?

Instead Of Typing These Commands Step By Step We Can Just Type A Single Command To Install All The Required Dependencies And Clone theHarvester In One Go. Type The Below Single Command In Termux To Install theHarvester In One Line.

ShellScript
pkg update && pkg upgrade -y && pkg install python git -y && git clone https://github.com/laramies/theHarvester && cd theHarvester && pip install .

After Running This Single Command theHarvester Will Be Fully Installed In Your Termux. You Can Then Run theHarvester -h To Check If The Installation Was Successful.

Conclusion:

Install theHarvester In Termux Is Now Completed. theHarvester Is A Very Powerful And Useful OSINT And Information Gathering Tool That Can Be Easily Installed And Used In Termux On Any Android Device. This Tool Does Not Require Root Permission And Can Be Installed Directly From GitHub With Just A Few Simple Commands. theHarvester Supports A Large Number Of Search Sources And Can Collect A Lot Of Publicly Available Information Like Emails, Subdomains And IP Addresses From Any Target Domain. theHarvester Must Only Be Used For Educational Purposes And On Domains That You Have Full Permission To Investigate.

Unauthorized Use Of This Tool Is Illegal And Can Lead To Serious Legal Consequences. If You Have Any Query Related To This Post You Can Just Comment Below Or Contact Us Through The Contact Us Page. Thanks For Reading 😊

Frequently Asked Questions:

1. What Is theHarvester Used For?

theHarvester Is Used For OSINT And Information Gathering Tasks Like Collecting Public Email Addresses, Finding Subdomains And Discovering IP Addresses From A Target Domain. It Is Widely Used By Security Researchers And Penetration Testers For Educational Purposes.

2. Does theHarvester Require Root Permission In Termux?

No, theHarvester Does Not Require Root Permission In Termux. You Can Install And Use theHarvester In Termux On Any Android Device Without Rooting It.

3. Is theHarvester Legal To Use?

theHarvester Is A Legal Tool But It Must Only Be Used On Domains That You Have Full Permission To Investigate. Using theHarvester On Unauthorized Domains Is Illegal And Can Get You Into Serious Legal Trouble.

4. What Search Sources Does theHarvester Support In Termux?

theHarvester Supports A Large Number Of Search Sources Including Google, Bing, DuckDuckGo, Yahoo And Many More. You Can Check The Full List Of Supported Sources By Running ==theHarvester -h== In Termux.

5. How Do I Update theHarvester In Termux?

You Can Update theHarvester In Termux By Going Into The theHarvester Directory And Running ==git pull== Command. This Will Pull The Latest Updates From The GitHub Repository And Update theHarvester To Its Latest Version.

Leave a Comment