├── 1.png ├── 2.png ├── README.md └── revip.sh /1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsec7/Reverse-IP-And-Dtect-CMS/master/1.png -------------------------------------------------------------------------------- /2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vsec7/Reverse-IP-And-Dtect-CMS/master/2.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Simple Reverse IP and Detect CMS 2 | 3 | Create by Versailles 4 | Grabbing From http://viewdns.com 5 | 6 | 7 |
8 | 9 | 10 | chmod +x revip.sh 11 | 12 | ./revip.sh 13 | 14 | :) 15 | -------------------------------------------------------------------------------- /revip.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Simple Reverse IP and CMS Checker 3 | # Coded by Versailles 4 | # Sec7or Team ~ Surabaya Hacker Link 5 | # Special Thanks For Cans21 6 | 7 | R='\033[0;31m' 8 | C='\033[0;36m' 9 | Y='\033[1;33m' 10 | O='\033[0;33m' 11 | B='\033[1;34m' 12 | P='\033[0;35m' 13 | G="\e[32m" 14 | W="\e[37m" 15 | N='\033[0m' 16 | 17 | cms(){ 18 | get=$(curl -sL "http://$1" -H 'User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Mobile Safari/537.36') 19 | if [[ $get =~ "/sites/default/files/" ]];then 20 | printf "[$n][ ${Y}Drupal${N} ] ${P}$1${N}\n" 21 | echo $1 >> $2/drupal.txt 22 | elif [[ $get =~ "wp-content" ]];then 23 | printf "[$n][ ${B}WordPress${N} ] ${P}$1${N}\n" 24 | echo $1 >> $2/wordpress.txt 25 | elif [[ $get =~ "com_content" ]];then 26 | printf "[$n][ ${G}Joomla${N} ] ${P}$1${N}\n" 27 | echo $1 >> $2/joomla.txt 28 | elif [[ $get =~ "/skin/frontend" ]];then 29 | printf "[$n][ ${O}Magento${N} ] ${P}$1${N}\n" 30 | echo $1 >> $2/magento.txt 31 | elif [[ $get =~ "" ]];then 32 | printf "[$n][ ${R}Balitbang${N} ] ${P}$1${N}\n" 33 | echo $1 >> $2/balitbang.txt 34 | elif [[ $get =~ "foto_banner" ]];then 35 | printf "[$n][ ${C}Lokomedia${N} ] ${P}$1${N}\n" 36 | echo $1 >> $2/lokomedia.txt 37 | else 38 | printf "[$n][ ${W}Unknown${N} ] ${P}$1${N}\n" 39 | echo $1 >> $2/unknown.txt 40 | fi 41 | } 42 | 43 | figlet -f small "Simple Reverse Ip" 44 | echo "Made With Love By Versailles <3 Cans21" 45 | read -p '[?] Host/IP : ' host 46 | read -p '[?] Folder Result : ' f 47 | printf "[!] Creating Folder : ${Y}$f${N}\n" 48 | mkdir $f 49 | 50 | if [[ $host =~ "http" ]];then 51 | echo 52 | echo "Input Without http:// or https://" 53 | exit 1 54 | else 55 | get=$(curl -s 'https://viewdns.info/reverseip/?host='$host'&t=1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Mobile Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' -H 'Referer: https://viewdns.info/reverseip/' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.9,id;q=0.8,ru;q=0.7' -H 'Cookie: PHPSESSID=5cf5scn0nuda2jau5m7fdlveg0; __utma=126298514.590573564.1536148295.1536148295.1536148295.1; __utmc=126298514; __utmz=126298514.1536148295.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utmb=126298514.2.10.1536148295' --compressed ) 56 | ip=$(echo $get | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b") 57 | echo $get | grep -Po '(?<=)[^<]*' | sed '/Domain/d' | sed '/Last/d' | sed -e 's/\s/\n/g' | sed '/^$/d' > domains; 58 | total=$(wc -l domains) 59 | echo 60 | printf "[!] IP Address : ${Y}$ip${N}\n" 61 | printf "[!] Found : ${Y}$total${N}\n" 62 | echo 63 | no=1 64 | for i in $(cat domains);do 65 | n=$((no++)) 66 | cms $i $f 67 | sleep 0.5 68 | done 69 | echo "" 70 | printf "[!] All Sites Saved On ${O}domains${N}\n" 71 | printf "[!] Filtered Sites by CMS Saved On Folder : ${O}$f${N}\n" 72 | echo "===========[ Done ~ Have A Nice Day ]=================" 73 | fi --------------------------------------------------------------------------------