Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/bash
- if [[ -z $1 ]];
- then
- echo "Usage ./shell.sh list.txt"
- exit
- else
- sed -i 's/\r//' $0 && sed -i 's/\r//' $1
- fi
- ewe=20 #multitread u can change this
- cms(){
- waktu=1
- if [[ $(curl --max-time ${waktu} -s "$site") =~ 'Upload' ]];
- then
- printf "$site\n" | tee -a shellok.txt
- elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'NewFile' ]];
- then
- printf "$site\n" | tee -a shellok.txt
- elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Linux' ]];
- then
- printf "$site\n" | tee -a shellok.txt
- elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Windows' ]];
- then
- printf "$site\n" | tee -a shellok.txt
- elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'name=file' ]];
- then
- printf "$site\n" | tee -a shellok.txt
- elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Tatsumi' ]];
- then
- printf "$site\n" | tee -a shellok.txt
- elif [[ $(curl -s --max-time ${waktu} "$site") =~ 'Password' ]];
- then
- printf "$site \n" | tee -a shellok.txt
- else
- printf "$site GA ADA SHELLNYA \n"
- fi
- }
- for site in `cat $1`; do
- ((chtread=chtread%ewe)); ((chtread++==0)) &&
- cms $site &
- done
- wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement