widhisec

[Bash] As00PaRt5

Dec 2nd, 2020 (edited)
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.35 KB | None | 0 0
  1. #!/bin/bash
  2. # Dorker made by widhi4ec
  3. #_2D-_x-__X-
  4.     #COLORR
  5.         hijau=$(tput setaf 2)
  6.     normal=$(tput sgr0)
  7.             cyan=$(tput setaf 6)
  8.                 yellow=$(tput setaf 3)
  9. if [[ -z $(command -v gawk) ]]; then
  10.     printf "please install package..\n";exit
  11.             sleep 1
  12.                     elif [[ -z $(command -v python3) ]]; then
  13.         printf "please install package..\n";exit
  14.                 sleep 1.3
  15. fi
  16. bnere(){
  17. shuf -e "
  18. ********* ${yellow}Dorker ********* ${normal}
  19.        [By widhisec]
  20. "
  21. }
  22. bnere
  23. seArCh(){
  24.             p=$(curl --silent "http://www.search-results.com/web?q=${kerakk}&hl=en&page=$page&src=hmp" --user-agent "$random_agent"|
  25.                                         grep -Po '(?<=href=")(.*?)(?=")' |
  26.                         grep -Eo "(http(s)?://){1}[^'\"]+" |  
  27.                                 sed 's,amp;,,g' |
  28.                                     grep -Ev "google|search" |
  29.                             grep -v "facebook")
  30. }
  31.  
  32. g00gl3(){
  33. dorking=$(echo "$put" | sed 's/ /+/g' | sed 's/inurl://g' | sed 's/intext://g' | sed 's/site://g')
  34. random_agent=$(python3 -c "
  35. from fake_useragent import UserAgent
  36. ua = UserAgent()
  37. a = ua.random
  38. user_agent = ua.random
  39. print(user_agent)")
  40. echo -e "${normal}LOOKING USING: ${hijau}google..."
  41.                 kerakk=$(echo "$put" | sed 's/ /+/g')
  42.                 oo=$(curl --silent "https://www.google.com/search?q=$dorking&start=$x" --user-agent "$random_agent" -L)
  43.             captcha=$(echo "$oo" | grep "CAPTCHA" | cut -d "<" -f3 | cut -d ">" -f2)
  44.     jjojo=$(echo "$oo"|
  45.     grep -Po '<a href="\K.*?(?=".*)' |
  46.             grep -Eo "(http(s)?://){1}[^'\"]+"|
  47.                         gawk '!/google/ && !/youtube/' |
  48.                                 gawk '!/facebook/ && !/twitter/' |
  49.                                         sed 's,amp;,,g')
  50.                       printf "detect. $captcha\n"
  51.                            printf "${cyan}%s\n" "${jjojo}"
  52.                             seArCh;
  53.                                 echo -e "${normal}LOOKING USING: ${hijau}search-results..."            
  54.                     if [[ $p == "" ]]; then
  55.                         echo -e "- not foundd\n"
  56.                 else
  57.                         printf "${cyan}%s\n" "${p}"
  58.                     fi
  59. }
  60. echo -n "whutt ?? >= "; read put
  61. echo -n "page ?? >= "; read page
  62.                             g00gl3
Add Comment
Please, Sign In to add comment