NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

# !/bin/bash
# author : LazyBoy

# color(bold)
red='e[1;31m'
green='e[1;32m'
yellow='e[1;33m'
blue='e[1;34m'
magenta='e[1;35m'
cyan='e[1;36m'
white='e[1;37m'

# create file
touch list_url.tmp list_rev.tmp list_failed.tmp list_reverse.txt

# banner
echo -e '''
Hackertarget Unlimited Reverse IPs e[1;31m<3e[1;37m
Created by e[1;31m:e[1;37m LazyBoy e[1;31m-e[1;37m JavaGhost Team
Fiture e[1;31m: e[1;32mAuto delete subdo e[1;31m- e[1;32mMulti PORT tor e[1;31m- e[1;32mMulti threadinge[1;37m
'''

# create create multi port tor
echo -e "${white}[ ${green}? ${white}] Prepare tor"
array_port=("9050" "9060" "9070" "9080")
if [[ ! -d multi_port ]]; then
mkdir multi_port
for port in ${array_port[@]}; do
echo -e "SocksPort ${port}nControlPort $(echo $port | head -c3)1nDataDirectory $(pwd)/multi_port/tor_${port}" > multi_port/torcc.$port
done
else
rm -rf multi_port
fi

# setup port tor
for port in ${array_port[@]}; do
tor -f multi_port/torcc.$port > /dev/null &
sleep 10
done

# try connect to all port
for port in ${array_port[@]}; do
check_tor=$(curl --socks5-hostname localhost:${port} -s "https://google.com" > /dev/null; echo $?)
if [[ $check_tor =~ "0" ]]; then
echo -e "${white}[ ${green}+ ${white}] Tor connection in port ${cyan}${port} ${red}: ${green}TRUE${white}"
sleep 5
else
echo -e "${white}[ ${green}! ${white}] Tor connection in port ${cyan}${port} ${red}: FALSE${white}"
fi
done

# asking
echo ""
read -p $'e[1;37m[ e[1;32m? e[1;37m] Input list url e[1;31m:e[1;32m ' ask_url
if [[ ! -e $ask_url ]]; then
echo -e "${white}[ ${red}! ${white}] Error list ${green}${ask_url}${white} not found in your directory"
exit
else
cat $ask_url | cut -d "/" -f3 > list_url.tmp
echo -e "${white}[ ${green}+ ${white}] Starting reverse Ips from ${red}: ${green}$(< list_url.tmp wc -l) ${white}list"
fi

# start reverse IPs
function rev_ip(){
start=$(curl --socks5-hostname localhost:$port_tor -s "https://api.hackertarget.com/reverseiplookup/?q=${list_url}")
if [[ $start =~ "API count exceeded - Increase Quota with Membership" || $start =~ "429 Too Many Requests" ]]; then
echo -e " ${white}[ ${red}- ${white}] ${yellow}${list_url} ${blue}->${red} Failed reverse IPs${white}"
echo $list_url >> list_failed.tmp
elif [[ $start =~ "No DNS A records found for" ]]; then
echo -e " ${white}[ ${red}- ${white}] ${yellow}${list_url} ${blue}->${red} No DNS A records found${white}"
elif [[ $start =~ "error check your search parameter" ]]; then
echo -e " ${white}[ ${red}! ${white}] ${yellow}${list_url} ${blue}->${red} Error reverse IPs - Try manual for show whats wrong${white}"
else
echo -e " ${white}[ ${green}+ ${white}] ${yellow}${list_url} ${blue}->${green} Success reverse IPs${white}"
echo $start | tr " " "n" | awk '{print "33[1;34m - 33[0m"$0}'
echo $start | tr " " "n" >> list_rev.tmp
fi
}


# multi thread
(
for port_tor in $(echo -e "9050n9060n9070n9080" | shuf -n1); do
for list_url in $(cat list_url.tmp); do
((thread=thread%20)); ((thread++==0)) && wait
rev_ip "$port_tor" "$list_url" &
sleep 1s
killall -HUP tor
done
wait
done
)

# removing all subdomain
cat list_rev.tmp | sed 's/.*.(.*..*)/1/' | sort -u > list_reverse.txt
echo -e "${white}[ ${green}DONE ${white}] Total results without subdomain : $(< list_reverse.txt wc -l)"
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.