Advertisement
Guest User

Untitled

a guest
Feb 17th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 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. Input = InputBox("Enter e-mail of victim:")
  11. Input3 = InputBox("Enter message:")
  12. EmailSubject = (""& Input2)
  13. EmailBody = (""& Input3)
  14. Dim max,min
  15. max = 1000
  16. min = 1
  17.  
  18. 'Const EmailFrom = ""
  19. 'Const EmailFromName = ""
  20.  
  21. Const SMTPServer = "smtp.gmail.com"
  22. 'Const SMTPLogon = ""
  23. 'Const SMTPPassword = ""
  24. Const SMTPSSL = True
  25. Const SMTPPort = 465
  26.  
  27. Const cdoSendUsingPickup = 1 'Send message using local SMTP service pickup directory.
  28. Const cdoSendUsingPort = 2 'Send the message using SMTP over TCP/IP networking.
  29.  
  30. Const cdoAnonymous = 0 ' No authentication
  31. Const cdoBasic = 1 ' BASIC clear text authentication
  32. Const cdoNTLM = 2 ' NTLM, Microsoft proprietary authentication
  33.  
  34. ' First, create the message
  35.  
  36. Set objMessage = CreateObject("CDO.Message")
  37. objMessage.From = "<" & User & Name & ">"
  38. objMessage.To = "<" & Input & ">"
  39.  
  40. ' Second, configure the server
  41.  
  42. objMessage.Configuration.Fields.Item _
  43. ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
  44.  
  45. objMessage.Configuration.Fields.Item _
  46. ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPServer
  47.  
  48. objMessage.Configuration.Fields.Item _
  49. ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
  50.  
  51. objMessage.Configuration.Fields.Item _
  52. ("http://schemas.microsoft.com/cdo/configuration/sendusername") = User
  53.  
  54. objMessage.Configuration.Fields.Item _
  55. ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = Pass
  56.  
  57. objMessage.Configuration.Fields.Item _
  58. ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = SMTPPort
  59.  
  60. objMessage.Configuration.Fields.Item _
  61. ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = SMTPSSL
  62.  
  63. objMessage.Configuration.Fields.Item _
  64. ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
  65.  
  66. objMessage.Configuration.Fields.Update
  67.  
  68. do
  69. Randomize
  70. objMessage.TextBody = EmailBody
  71. objMessage.Subject = (int((max-min+1)*Rnd+min))
  72. objMessage.Send
  73. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement