Sign inSign up

l34r00t/mainrecon

By l34r00t

•Updated about 6 years ago

Reconnaissance setup for bug bounty hunters.

Image
1

1.6K

l34r00t/mainrecon repository overview


mainRecon for bugbounty hunter ⁠

⁠mainRecon

GitHub code size in bytes GitHub repo size GitHub last commit GitHub issues Docker Cloud Build Status Docker Automated build Docker Pulls Docker Image Size (latest by date) Docker Image Version (latest by date) Docker Stars

mainRecon for bugbounty hunter is an image with a bash script with some of the tools used at recon workflow.

⁠Table of Contents

⁠About mainRecon

mainRecon is an automated reconnaissance docker image for bug bounty hunter write in bash script. This image has the basic tools used in the recon workflow. The purpose is to simplify the recon workflow in a simple way.

You can run the docker image in your PC o VPS⁠.

⁠Features

  • Subdomain Enumeration
  • Checks alive subdomain
  • Finds URLs at Wayback Machine
  • Screenshots of the subdomains
  • Headers responses files
  • Finds js files
  • Search tokes in js files
  • Search endpoints in js files
  • Finds parameters
  • Finds directories
  • Telegram notifications

⁠Flow

⁠

⁠mainRecon.sh

⁠Usage

⁠Prerequisites

You can use the docker image by the next two options:

⁠Option 1 - Use the github repository

If you want to build the container yourself manually, git clone the repo, then build and run the following commands

git clone --depth 1 https://github.com/l34r00t/mainRecon.git
cd mainRecon

If you want Telegram Alert, you must modify the telegram bot_token and telegram chat_ID in mainRecon.sh

Also, you can configure access token for run findomain. You must configure the Dockerfile ("ENTER_TOKEN_HERE").

Build your docker container

docker build -t mainrecon .

After building the container using either way, run the following:

docker run --rm -it -v /path/to/local/directory:/mainData mainrecon -p [--program] <hackerone> -f [--file] targets.txt 
⁠Option 2 - Use the image from docker hub

Use image from docker hub: l34r00t/mainrecon⁠

docker pull l34r00t/mainrecon
docker run --rm -it --env chat_ID="your_chat_ID" --env token="your_token" \
--env findomain_fb_token="fb_token" \
--env findomain_spyse_token="spyse_token" \
--env findomain_virustotal="virustotal_token" \
--env findomain_securitytrails_token="securitytrails_token" \
-v /path/to/local/directory:/mainData --name mainrecon l34r00t/mainrecon -p [--program] <hackerone> -f [--file] targets.txt
⁠Considerations to run the container

There are differents use cases for use the image and you should know how to run the container properly.

Share information from your local directory to container directory and save information on your local directory. You should save information under /mainData directory.

    docker run --rm -it -v /path/to/local/directory:/mainData --name mainrecon l34r00t/mainrecon -p [--program] <hackerone> -f [--file] targets.txt 
⁠targets.txt

Your targets.txt should include a list of domains you're checking and should look something like:

    hackerone.com
    hackerone-ext-content.com
    hackerone-user-content.com
⁠Create telegram webhook

Thank you Edu4rdSHL⁠ for you telegram webhook write-up.

⁠mainRecon scan results

⁠h1-Recon

In the following repository you will obtain all h1 recon results⁠

mainRecon for bugbounty hunter

⁠mainRecon Alert

mainRecon for bugbounty hunter

⁠Environment tested

The image was tested in the following environments:

  • Docker service for Mac: Docker version 19.02.7, build afacb8b

  • Docker service for Ubuntu 19.20 in Digital Ocean VPS⁠: Docker version 18.09.7, build build 2d0083d

⁠Coffee Time

If you like my content, please consider inviting me to a coffee. Thank you for your support!

Buy me a coffee

⁠Contributing

Contributing⁠

⁠Stargazers over time

Stargazers over time

⁠Credits

mainRecon has been possible thank you to the following projects.

⁠Disclaimer

  • mainRecon was written for education purposes only.

⁠License

MIT⁠ Copyright (c) 2020, L34r00t

Tag summary

Content type

Image

Digest

Size

762.4 MB

Last updated

about 6 years ago

docker pull l34r00t/mainrecon