Skip to content

OCEANOFANYTHINGOFFICIAL/MailGrab

Repository files navigation

Made with Python GitHub code size in bytes GitHub Repo Version OS - Linux OS - macOS OS - Windows Hosted with GH Pages maintained - yes
view - Documentation

Just Provide Urls, And It Will Harvest Emails From Those Urls. Not Only One Url , It Will Automatically Find _SubUrls_ From Given Url. It Can Also Find Emails From Thousands Of Urls At One Time. Dont Have Time To Copy All Emails? No Worry! It Will Save All Emails And Harvested Urls In Saperate Text Files. Emails Will Be Saved In *`_emails.txt`* And Scrapped Urls Will Be Saved In *`_scrappedUrls.txt`*. You Can Provide A Huge List Of Urls To Be Scanned

requirements

  • Python 3.9 (keep Scrawling To See Installation Tutorial)

  • Windows/Linux/Mac

  • Pip3

  • Internet Connection (Obviously😜)

Installation

Clone The Repo From Official Page Of OCEAN OF ANYTHING And Change Directory To MailGrab

git clone https://github.com/oceanofanythingofficial/MailGrab

cd MailGrab

Windows

Just Run The install.bat File And Wait For The Installation To Complete.

install.bat

or

python -u install.py

Linux

Its Just Simple As That 😎. Just Run The Following Command And Wait For The Installation To Complete🙂.

sudo python -u install.py

ProTip! It's Necessary To Run Tis In Root Or Sudo

Mac

Install Python 3.9 (For Kids Who Dont Know How To Install Python 3.9)

Go And Visit The Official Page Of Python. Then Install Python On Your System. Make Sure To Install Python Version 3.9.0. To Prevent Any Mistake Please Use Link Bellow

You Can Also Install From This Link

For Linux Or Ubuntu

Install Python 3.9 In Linux.

  1. Step1- Install supporting additional packages
sudo apt install software-properties-common

enter image description here

  1. Step2- Add Deadsnakes Ppa Repository To Install Latest Python 3.9

Open Terminal And Enter The Following Command

sudo add-apt-repository ppa:deadsnakes/ppa

add-deadsnakes-ppa

  1. Step3- Update Ubuntu/Kali Repository
sudo apt update

sudo-apt-update

  1. Step4- Install latest Python 3 (Version 3.9.0)
sudo apt install python3.9

How-to-install-Python-in-Linux

  1. Step5- Check python version
python --version
Installing Pip (Only For Linux Or Ubuntu)

By-default python3-pip is not installed in Ubuntu 20.04 and installing it from apt will install old pip package. So let's see step by step installation of latest python3-pip version (20.3.3). It will be a two-step process, first, we will install pip 20.0.2 using the apt repository. Then, download and install the latest pip package i.e. 20.3.3 version.

  1. Step1- Install python3-pip package using apt command
sudo apt install python3-pip

How-to-install-Python3-pip

  1. Step2- Check python3-pip version

Here pip version 20.0.2 got installed and we need to upgrade it to version 20.3.3. Installing package 3.8 from apt will help to meet all dependent packages and libraries which will be required for pip 20.3.3. If you will skip this step, you may get dependent modules error.

check-latest-pip-version

  1. Step3- Install curl command first.

If curl is already installed your system, you can skip this step. Most of the Ubuntu 20.04 don't have curl installed by default. So use apt install command to install it. Curl is required to execute step 4.

sudo apt install curl

install-curl

  1. Step4- Download pip from bootstrap.pypa.io website

Now you need to download get pip from bootstrap.pypa.io website using curl command as shown in image.

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

download-pip-script

  1. Step5- Upgrade python3-pip version to pip-20.3.3

Run python3.9 command to execute "get-pip.py" package file you downloaded. It will automatically download and install the latest pip in your Ubuntu/Kali Linux.

sudo python3.9 get-pip.py

Install-python3-pip-ubuntu-20.04

  1. Step6 (optional)- Add pip3.9 directory to PATH.

This can be achieved by editing /etc/environment file using your favourite editor. Otherwise, exporting and appending "PATH" variable for the local user profile will also do the trick. Make sure you add ~/.local/bin/ in PATH variable.

export PATH=~/.local/bin/:$PATH

add-pip-path-variable

  1. Step7- Check pip version
pip3.9 --version

check-pip3.9-version

Congrats!! till this point you have installed latest Python 3.9.0 and pip 20.3.3 successfully.

Install Required Modules

pip install -r requirements.txt
For Windows

If You Are On Windows Machine, You Can Just Run windows.bat FileTo Start The Program Directly.

You Can Also Do It Manually-

Just Open Powershell Or Command Prompt And Then Type Following Command

python -m MailGrab.py
For Linux

For Linux Users, You Just Have To Type The Same Thing To Terminal.

Just Open Terminal And Type The Following Command

python -m MailGrab.py

Usage

MailGrab Is An Easy To Use, User Friendly, Cross Platform And Reliable Tool

After Launching MailGrab Just Input Url And It Will Automatically Do It's

Work.

It Will List All Emails And SubUrls In Terminal. It Will Save Them Also In A Text File For Future

!ProTip

You Can Provide A Huge List Of Urls In A File Named _inputUrls.txt

. It Will Automatically Detect The File In Current Directory And Will Harvest From The Emails One By One!

This Is A Sicret Please Dont Tell It To Anyone!

Attribute

This Tool Mail Grab Is Made By OCEAN OF ANYTHING (Nakshatra Ranjan Saha)