Jump to content
d4rkm4nx99

executabil

Recommended Posts

ai putea face ca programul sa ruleze doar daca ai un anumit registru in PC.

Imports Microsoft.Win32
...
Dim s As String = ""
Dim reg As RegistryKey

reg =Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True)
s = reg.GetValue("RtHDVCpl", "")
MsgBox(s)
reg.Close()

asta e cod Vb.net

Link to comment
Share on other sites

Sau doar daca ai un anumit HDD-ID, processor-ID, placa de baza-ID etc.

Idea e sa opresti executia programului daca mediul nu este cel asteptat.

Registrii ofera o securitate redusa intrucat oricine poate scrie/citi in registrii.

In functie de nevoile tale (pentru ce vrei sa folosesti programul) poti folosi o referinta la un ID (unic) al acelui PC.

Sau la o structura din care acel calculator face parte (IP, ISP, etc.)

Sau cum a facut stuxnet: la structura piramidala in care erau organizate centralele nucleare

Cum sa gasesti ID-ul componentelor / scrii in registrii gasesti tutoriale pe Internet.

Ideile sunt pentru oameni, codul pentru masini.

Edited by yoyois
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...