Advertisement
LittleJok3r

shell

May 17th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.31 KB | None | 0 0
  1. #!/usr/bin/bash
  2. if [[ -z $1 ]];
  3. then
  4.   echo "Usage ./shell.sh list.txt"
  5.   exit
  6. else
  7.      sed -i 's/\r//' $0 && sed -i 's/\r//' $1
  8. fi
  9. ewe=20 #multitread u can change this
  10. cms(){
  11.     waktu=1
  12.        if [[ $(curl --max-time ${waktu} -s "$site") =~ 'Upload' ]];
  13.    then
  14.       printf "$site\n" | tee -a shellok.txt
  15.    elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'NewFile' ]];
  16.       then
  17.          printf "$site\n" | tee -a shellok.txt
  18.       elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Linux' ]];
  19.        then
  20.          printf "$site\n" | tee -a shellok.txt
  21.       elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Windows' ]];
  22.        then
  23.       printf "$site\n" | tee -a shellok.txt
  24.       elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'name=file' ]];
  25.        then
  26.          printf "$site\n" | tee -a shellok.txt
  27.          elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Tatsumi' ]];
  28.           then
  29.             printf "$site\n" | tee -a shellok.txt
  30.           elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Password' ]];
  31.            then
  32.             printf "$site \n" | tee -a shellok.txt
  33.             else
  34.             printf "$site GA ADA SHELLNYA  \n"
  35.             fi
  36. }
  37. for site in `cat $1`; do
  38. ((chtread=chtread%ewe)); ((chtread++==0)) &&
  39.                 cms $site &
  40.             done
  41.                 wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement