Advertisement
widhisec

[Bash] unshortlink

Mar 29th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.31 KB | None | 0 0
  1. #!/bin/bash
  2. # widhisec | jangan di recode hargai pembuatnya!
  3. clear
  4. # waRna
  5. RED="\033[0;31m"
  6. GREEN='\033[0;32m'
  7. YELLOW='\033[1;33m'
  8. CYAN='\e[96m'
  9. NC='\033[0m' # No Color
  10. # mULai
  11. function check(){
  12. if [ -z $(command -v grep) ]; then
  13.     printf "grep belom di install"
  14. fi
  15. }
  16. check
  17. function banner(){
  18. bANNe3R="$RED
  19. \t  ig -> @widhisec $CYAN
  20. \t _________  _____ ____
  21. \t|__  / ___|| ____/ ___| [ unSHortlink ]
  22. \t  / /\___ \|  _|| |[fb.me/widhisec]
  23. \t / /_ ___) | |__| |---
  24. \t/____|____/|_____\____|
  25. \t[ CREATE BY ~ WIDHISEC ] $NC
  26. "
  27. printf "$bANNe3R"  
  28. }
  29. banner
  30. function g3ts(){
  31.              cURL="curl -s https://unshorten.me/json/$link"
  32.              par=$(${cURL} | jq -r .resolved_url)
  33.              echo -e "SUCCES : $par"
  34. }
  35. printf "1.google | 2.bit.ly | 3.info | 00.exit\n"
  36. read -p "=>" plih
  37. case $plih in
  38. 1)
  39.              echo -n "masukkan urlnya : "; read link
  40.              g3ts $link
  41.              ;;
  42. 2)
  43.              printf "masukkan urlnya : "; read links
  44.              O0o0o0o0o0o00o0o0o0o0o0o0o00o0o0o=$(curl -s https://unshorten.me/s/$links)
  45.              printf "SUCCES => $O0o0o0o0o0o00o0o0o0o0o0o0o00o0o0o \n"
  46.              ;;
  47. 3)
  48.          printf "terima kasih sudah memakai tools saia\n"
  49.          printf "ingin bergabung group termux\n"
  50.          printf "https://t.me/termuxid\n"
  51.  
  52.          
  53. esac
  54. # EnD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement