Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. #!/bin/bash
  2. # Memeriksa Shell Yang masih Hidup
  3. # @Author : ZeroByte.OD
  4. # @Github : https://github.com/zerobyte-id
  5. for s in $(cat $1);
  6. do
  7. namafile=$(echo "${s}" | rev | cut -d '/' -f 1 | rev)
  8. 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')
  9. if [[ $ceK =~ $( echo "${s}" | rev | cut -d '/' -f 1 | rev) ]]; then
  10. 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)
  11. if [[ $cekcode =~ '200' ]]; then
  12. echo "[LIVE] => ${s}"
  13. echo "${s}" >> shell-live.txt
  14. else
  15. echo "[DIE] => ${s}"
  16. fi
  17. else
  18. echo "[DIE] => ${s}"
  19. echo "${s}" >> shell-die.txt
  20. fi
  21. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement