Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2. # https://github.com/sc0rp1us/Good-scripts.sh
  3. #
  4. # Script syntaxis "./smsend ENTER YOU MESSANGE"
  5. #
  6.  
  7.  
  8. _LOGIN=YouLOGIN # Write here you login
  9. _PASS=YouPASS # Write here you password
  10. _MD5_PASS=$(echo -n ${_PASS} | md5sum | awk '{ print $1 }') #
  11. _CEL=( 79000000001 79000000002 ) # Write here you cell number, or numbers for send
  12. _MSG=${@}
  13.  
  14. for i in ${_CEL[@]}
  15.     do
  16. _SMS=$(wget -qO- "https://smsc.ru/sys/send.php?login=${_LOGIN}&psw=${_MD5_PASS}&phones=${i}&mes=${_MSG}")
  17. echo -e '\n#############################' >> /var/log/sms.log
  18. date >> /var/log/sms.log
  19. echo ${_SMS} >> /var/log/sms.log
  20. done