Skip to content

Commit

Permalink
Merge pull request #11 from Shahul-Aboobaker/main
Browse files Browse the repository at this point in the history
Added content Discovery
  • Loading branch information
Anon-Artist authored Oct 24, 2020
2 parents a7d91bb + d48f332 commit f182caf
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions src/contentdiscovery.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#!/bin/bash

#colors
red=`tput setaf 1`
green=`tput setaf 2`
yellow=`tput setaf 3`
blue=`tput setaf 4`
magenta=`tput setaf 5`
reset=`tput sgr0`

read -p "Enter domain name : " DOM

if [ -d ~/recon/ ]
then
echo " "
else
mkdir ~/recon

fi

if [ -d ~/recon/$DOM ]
then
echo " "
else
mkdir ~/recon/$DOM

fi

if [ -d ~/recon/$DOM/dirsearch ]
then
echo " "
else
mkdir ~/recon/$DOM/dirsearch

fi


echo "${red}
=================================================
| ____ _____ ____ ___ _ _ _ |
| | _ \|___ / / ___/ _ \| \ | (_)_______ _ __ |
| | |_) | |_ \| | | | | | \| | |_ / _ \ '__| |
| | _ < ___) | |__| |_| | |\ | |/ / __/ | |
| |_| \_\____/ \____\___/|_| \_|_/___\___|_| |
| |
================== Anon-Artist ==================
${reset}"
echo "${blue} [+] Started Content Discovery Scanning ${reset}"
echo " "

#nuclei
echo "${yellow} ---------------------------------- xxxxxxxx ---------------------------------- ${reset}"
echo " "
if [ -d ~/tools/dirsearch/ ]
then
echo "${magenta} [+] Content Discovery ${reset}"
python3 ~/tools/dirsearch/dirsearch.py -e php,asp,aspx,jsp,py,txt,conf,config,bak,backup,swp,old,db,zip,sql -w ~/tools/wordlists/common.txt -x 429,400,503 -f --random-agents -t 300 -L ~/recon/$DOM/Content_discovery/directories.txt --max-retries=3 -b -r
else
echo "${blue} [+] Installing dirsearch ${reset}"
git clone https://github.com/maurosoria/dirsearch ~/tools/dirsearch
wget https://raw.githubusercontent.com/v0re/dirb/master/wordlists/common.txt -P ~/tools/wordlists
echo "${magenta} [+] Running Content Discovery ${reset}"
python3 ~/tools/dirsearch/dirsearch.py -e php,asp,aspx,jsp,py,txt,conf,config,bak,backup,swp,old,db,zip,sql -w ~/tools/wordlists/common.txt -x 429,400,503 -f --random-agents -t 300 -L ~/recon/$DOM/Content_discovery/directories.txt --max-retries=3 -b -r
fi
echo "${yellow} ---------------------------------- xxxxxxxx ---------------------------------- ${reset}"
echo " "
echo "${red} [+] Thank you for using R3C0nizer${reset}"
echo ""
echo "${yellow} ---------------------------------- xxxxxxxx ---------------------------------- ${reset}"

0 comments on commit f182caf

Please sign in to comment.