Advertisement
Guest User

Untitled

a guest
Dec 11th, 2015
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. cat <<EOF | nc smtp.server.com 25
  4. HELO $(hostname)
  5. AUTH LOGIN
  6. loginBase64
  7. passwordBase64
  8. MAIL FROM: <user@server.com>
  9. RCPT TO: <user@server.com>
  10. DATA
  11. From: no-reply <user@server.com>
  12. To: Thiago <user@server.com>
  13. Subject: Assunto da mensagem
  14. Content-Type: text/plain; charset=UTF-8
  15.  
  16. Corpo da mensagem
  17.  
  18. .
  19. QUIT
  20. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement