Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Memeriksa Shell Yang masih Hidup
- # @Author : ZeroByte.OD
- # @Github : https://github.com/zerobyte-id
- for s in $(cat $1);
- do
- namafile=$(echo "${s}" | rev | cut -d '/' -f 1 | rev)
- ceK=$(curl -s -m 3 -A "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0" "${s}" | tr -d '\0')
- if [[ $ceK =~ $( echo "${s}" | rev | cut -d '/' -f 1 | rev) ]]; then
- cekcode=$(curl -s -m 3 -A "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0" "${s}" -w %{http_code} -o /dev/null)
- if [[ $cekcode =~ '200' ]]; then
- echo "[LIVE] => ${s}"
- echo "${s}" >> shell-live.txt
- else
- echo "[DIE] => ${s}"
- fi
- else
- echo "[DIE] => ${s}"
- echo "${s}" >> shell-die.txt
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement