Skip to content

This repository created for personal use and added tools from my latest blog post.

Notifications You must be signed in to change notification settings

ehsahil/recon-my-way

Repository files navigation

Recon My Way.

Tools and Scripts setting up guide for personal use.

This repository contains the tools and scripts, I added in my recent blog post "Recon-My way" and I personally use.

Here is my blogpost if you have'nt read it yet. https://medium.com/ehsahil/recon-my-way-82b7e5f62e21

Machine Configuration I use - Debian- 9.4, 4 GB RAM on DigitalOcean (You can use any config but this is recommanded)

Important things to Install before setting up tools (Debian Based OS)

Git Installation

root@recon-my-way:~# sudo apt-get upgrade
root@recon-my-way:~# sudo apt-get update
root@recon-my-way:~# sudo apt-get install git

Curl installation.

root@recon-my-way:~# apt install curl

Go language installation.

root@recon-my-way:~# curl -O https://dl.google.com/go/go1.10.2.linux-amd64.tar.gz
root@recon-my-way:~# sha256sum go1.10.2-linux-amd64.tar.gz
root@recon-my-way:~# tar xvf go1.10.2.linux-amd64.tar.gz
root@recon-my-way:~# sudo chown -R root:root ./go
root@recon-my-way:~# sudo mv go /usr/local
root@recon-my-way:~# vi ~/.profile

and add the following lines in .profile

export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
source ~/.profile

Cleaing Up

root@recon-my-way:~# rm -rf go1.10.1.linux-amd64.tar.gz
root@recon-my-way:~# rm -rf work

Ruby Language installation.

root@recon-my-way:~# apt-get install ruby-full

Pip & pip3 install.

root@recon-my-way:~# apt install python-pip
root@recon-my-way:~# apt install python3-pip	//for python 3

Setting up tools for subdomain.rb & recon.rb.

subdomain.rb

Amass

root@recon-my-way:~# cd /usr/local/go
root@recon-my-way:~# go get -u github.com/caffix/amass
root@recon-my-way:~# amass #test run

Aquatone

root@recon-my-way:~# gem install aquatone

Knockpy

root@recon-my-way:~# cd knock
root@recon-my-way:~# sudo apt-get install python-dnspython
root@recon-my-way:~# vi knockpy/config.json <- set your virustotal API_KEY
root@recon-my-way:~# sudo python setup.py install

Subfinder

root@recon-my-way:~# cd /usr/local/go
root@recon-my-way:~# go get -u github.com/Ice3man543/subfinder
root@recon-my-way:~# subfinder #test run

Sublist3r (Optional)

Setting up recon.rb

host

root@recon-my-way:~# apt-get install dnsutils

Nmap

root@recon-my-way:~# apt-get install nmap

AWS CLI

root@recon-my-way:~# pip install awscli

root@recon-my-way:~# aws configure //Add your AWS keys

Dirsearch

Usage:

root@recon-my-way:~# python dirsearch -u https://url.com -e *(or any file extension)

GoBuster

root@recon-my-way:~# cd /usr/local/go
root@recon-my-way:~# go get -u github.com/OJ/gobuster
root@recon-my-way:~# gobuster #test run

All credits goes to the original developers of the tools listed in this repository. I do not own any of the tool listed in this repository.

Contact me if anyone wants me to update this repository. Twitter