widhisec

revser.sh

Sep 7th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.19 KB | None | 0 0
  1. #!/bin/bash
  2. #reverseip
  3. clear
  4. GREEN=$(tput setaf 2) #HIJAU
  5. WHITE=$(tput setaf 7) #PUTIH
  6. CYAN=$(tput setaf 6) #CYAN
  7. RED=$(tput setaf 1) #MERAH
  8. #ping "google.com" | grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" | head -1
  9. function bener(){
  10. shuf -e "
  11. ${RED}  _____  ________      ___      
  12. ${RED} |  __ \|  ____\ \    / (_)      
  13. ${RED} | |__) | |__   \ \  / / _ _ __  
  14. ${GREEN} |  _  /|  __|   \ \/ / | | '_ \
  15. | | \ \| |____   \  /  | | |_) |
  16. |_|  \_\______|   \/   |_| .__/
  17.                  ______  | |    
  18.                 |______| |_|   ${WHITE}c0ded: by widhisec
  19. "
  20. }
  21. bener
  22. function gass(){
  23.             yagitu=$(lynx --source -accept_all_cookies "https://viewdns.info/reverseip/?host=$ip&t=1" -dump | grep -Po '<td>(\S+)</td><td')
  24.             ohgitu=$(echo -e "$yagitu" | sed 's/<[^>]\+>/ /g')
  25.             masasih=$(echo -e "$ohgitu" | gawk '{print $1}')
  26.             echo -n "[?] save file (Y/n):"; read f
  27.             echo "$masasih"
  28.         if [[ $f == "Y" ]]; then
  29.           echo -n "${WHITE}[*]name file :"; read sz
  30.           printf "$masasih \n" >> $sz
  31.           printf "${RED}[!] Succes saved file ...."
  32.         fi
  33.            
  34. }
  35. echo -n "[input url or ip] :"; read ip
  36. gass
Add Comment
Please, Sign In to add comment