Created
December 31, 2021 05:35
-
-
Save meicookies/cee2f7fe0fdc57ad06f006c5c3217d04 to your computer and use it in GitHub Desktop.
fastest reverse ip unlimited
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# cod3d by ./meicookies | |
scan() { | |
domain=$(basename $1) | |
date=$(date | awk '{print $4}') | |
ip=$(dig +short $domain | head -n 1) | |
if [[ -n $ip ]] | |
then | |
resp=$(curl -m 3 -s http://reverse.fay.gg:18/?ip=$ip | jq -r '.data .domain[]' 2>/dev/null) | |
echo "$resp" >> result.txt | |
if [[ -n $resp ]] | |
then | |
echo -e "\e[93m[$date]\e[0m >> From $domain found \e[92m$(echo "$resp" | wc -l)\e[0m domain" | |
else | |
echo -e "\e[91m[$date] >> $domain is suck\e[0m" | |
fi | |
fi | |
} | |
export -f scan | |
read -p "[+] Input File: " file | |
read -p "[+] Thread: " thread | |
parallel -j $thread scan :::: "$file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment