Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Система";
Текущий архив: 2002.08.12;
Скачать: [xml.tar.bz2];

Вниз

Как сделать что бы твою прогу не было видно в КОНТР+АЛЬТ+ДЕЛ.   Найти похожие ветки 

 
snoup   (2002-04-29 22:56) [0]

Как сделать что бы твою прогу не было видно в КОНТР+АЛЬТ+ДЕЛ.


 
Vovchik   (2002-04-29 23:21) [1]

NT4, Win2k, WinXP - никак.

А в WinME где-то уже писали, поройся, поищи.


 
Song   (2002-04-29 23:23) [2]

95/98/Me:
SystemParametrsInfo() либо зарегистрировать как сервис.


 
Vovchik   (2002-04-29 23:41) [3]

RegisterServiceProcess - для Win9x


 
Song   (2002-04-30 08:44) [4]

А я как сказал?


 
alas!   (2002-04-30 09:17) [5]

program Project1;

uses
Forms,
Unit1 in "Unit1.pas" {Form1};

{$R *.res}

begin
Application.Initialize;
Application.ShowMainForm := False;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.

unit Unit1;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;

type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
ShowWindow(Handle, SW_SHOWDEFAULT);
end;

end.


 
cdaDmitriy   (2002-04-30 16:11) [6]

Другое решение это убирать само окно( КОНТР+АЛЬТ+ДЕЛ)
что делается очень просто правда другие монитоы процесов все равно увидят программу


 
ZZ   (2002-04-30 17:10) [7]

cdaDmitriy
>что делается очень просто
А поподробнее можно???


 
app   (2002-04-30 17:33) [8]

Последний крик моды
http://delphi.mastak.ru/cgi-bin/forum.pl?look=1&id=1020171206&n=0


 
Digitman   (2002-04-30 17:54) [9]

Самый надежный способ - заставить выполняться свой код в принудительно создаваемом кодовом потоке в АП другого, уже работающего в системе "суррогатного" процесса.



 
Doom   (2002-04-30 18:36) [10]

А где об этом почитать можно?


 
PaRL   (2002-04-30 21:59) [11]

По-моему в FAQ было это.


 
PaRL   (2002-04-30 22:00) [12]

А вот как отрубить показ файла в Ctrl-Alt-Del


function RegisterServiceProcess(dwProcessID, dwType: Integer): Integer; stdcall; external "KERNEL32.DLL";implementationprocedure TForm1.Button1Click(Sender: TObject);begin //Hide if not (csDesigning in ComponentState) then RegisterServiceProcess(GetCurrentProcessID, 1);end;procedure TForm1.Button2Click(Sender: TObject);begin //Show if not (csDesigning in ComponentState) then RegisterServiceProcess(GetCurrentProcessID, 0);end;


 
Doom   (2002-04-30 23:12) [13]


> Digitman © (30.04.02 17:54)
> Самый надежный способ - заставить выполняться свой код в
> принудительно создаваемом кодовом потоке в АП другого, уже
> работающего в системе "суррогатного" процесса.

Где об ЭТОМ почитать можно подробнее?


 
cdaDmitriy   (2002-05-01 09:18) [14]

> PaRL ©

Забыл какой сегодне год - 2002
зачем говорить о : " [Windows "89 :) ]"




 
cdaDmitriy   (2002-05-01 09:22) [15]

A удалить окно можно по названию


Var Han:Thandle;
NameWind:="Windows NT Task Manager";
// смотришь OS и выбираешь имя окна
Han:=findwindow(nil,NameWind);
iF hAN<>0 tHEN POSTMESSAGE(hAN,wM_qUIT,0,0);


 
Керик   (2002-05-02 09:06) [16]

PaRL пишет правильно, но если придётся обратно включить свою прогу с список, то делай так:

...
RegisterServiceProcess(GetCurrentProcessID, 1);
...


Это работает только в Win9x и ME. В WinNT и XP это не только не работает. А в WinXP твоя прога вообще не запустится! Для избежания этого применяй динамическую загрузку KERNEL32.DLL. К сожалению, от WinNT и XP прогу не спрячеш!


 
Doom   (2002-05-02 12:48) [17]


> Керик (02.05.02 09:06)


> сожалению, от WinNT и XP прогу не спрячеш!



В мне понравилось
http://www1.xakep.ru/code/xakep/redirect.asp?url=post/14033/default.asp
вот, сижу разбараюсь.


 
ZZ   (2002-05-02 16:36) [18]

Да уж.. смешной журнальчик - просто мурзилка какая-то.

Doom
Проблема в том, что эту на этом форуме статью приводили уже раз 10.. и все говорили, что они разберутся и скроют процесс от NT, но еще не один не вернулся с решением (готовым примером или чем-нибудь более-менее полезным). Может ты будешь первым?


 
Doom   (2002-05-02 17:44) [19]


> ZZ (02.05.02 16:36)


Не хочу ничего утверждать, исходники большие, к тому же не компилятся чегои следовало ожидать, но попробовать (хотя бы для того чтобы САМОМУ убедиться что НЕЛЬЗЯ скырыть, я думаю все же стоит).

2ZZ (02.05.02 16:36)
Может ты будешь первым?
А даввй кто из нас первее? С++ надеюсь знаешь?


 
Севостьянов Игорь   (2002-05-27 12:08) [20]

Вообще-то говорят переписать gina.dll
Вот из MSDN и пример есть там же

Gina Sample: Graphical Identification and Authentication DLL
Click to open or copy the files for the Gina sample.

The Gina sample demonstrates the Gina-related functions.

To install the Gina DLL, copy it into %systemroot%\SYSTEM32, add a registry value of type REG_SZ named GinaDLL under the key \HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon, and reboot the machine.

WARNING! - It is possible to make your machine unusable if you install a replacement Gina and it fails. To avoid this situation, be sure that you have a method of accessing the %systemroot%\SYSTEM32 directory independent of the Windows NT® installation you are testing on.

If the Gina sample malfunctions, and you are not able to log on to fix the problem, you can recover by doing one of the following:

If the test machine is on the network and you have an account on another machine with Administrative privileges on the test machine, open the test machine registry remotely with regedt32 and delete the GinaDLL value.


If the test machine is on the network, and %systemroot%\SYSTEM32 is available on a network share for that machine (e.g. \\<name>\c$), rename Gina.dll to something else with a command like:
ren \\<name>\c$\winnt351\system32\gina.dll gina.sdk
Reboot the test machine.

Delete the GinaDLL value from the registry.


If the test machine will dual boot to another version of Windows NT or another operating system capable of accessing %systemroot%\system32, boot to that operating system, delete %systemroot%\system32\Gina.dll, reboot, and delete the GinaDLL value from the registry.
For more information see Gina.hlp.

Building SDK Samples

This sample uses the following keywords:

_vsnprintf; allocandcapturetext; attemptlogon; centerwindow; changepassworddlgproc; checkdlgbutton; closehandle; configdlgproc; copysid; createprocessasuser; debuglog; dllmain; dupstring; enablewindow; enddialog; errormessage; fflush; fopen; formatmessage; fprintf; getcurrentprocessid; getcurrentthreadid; getdebugkeyvalue; getdesktopwindow; getdlgitem; getdlgitemtext; getlasterror; getlengthsid; getlocaltime; getparent; getprocaddress; getprofileint; getprofilestring; getprofilestringa; getsystemmetrics; gettokeninformation; getwindowlong; getwindowrect; handlelvnotify; imagelist_addicon; imagelist_create; impersonateloggedonuser; initcommoncontrols; initdebugsupport; initializeaccountlist; initializeimagelists; initoptionsdialog; isdlgbuttonchecked; listview_getitem; listview_getnextitem; listview_insertcolumn; listview_insertitem; listview_setcolumnwidth; listview_setimagelist; listview_setitemtext; loaddebugparameters; loadicon; loadlibrary; loadminiaccounts; loadnetapi; localalloc; localfree; localrealloc; logevent; logondlginit; logondlgproc; logonuser; makeintresource; makelangid; messagebox; netuserchangepasswordfn; newuserdlgproc; openlogfile; optionsdlgproc; outputdebugstringa; populatelistview; postmessage; regclosekey; regcreatekeyex; regenumvalue; regopenkey; regqueryinfokey; regqueryvalueex; regsetvalueex; reverttoself; saveminiaccount; setdlgitemtext; setfocus; setforegroundwindow; setlasterror; setwindowlong; setwindowpos; setwindowtext; showwindow; shutdowndialoginit; shutdowndlgproc; sprintf; strcmpi; strtok; text; trytochangepassword; updateshutdownsettings; va_start; warning; wcscmp; wcscpy; wcslen; wcstok; welcomedlgproc; wlxactivateusershell; wlxdialogboxparam; wlxdisplaylockednotice; wlxdisplaysasnotice; wlxinitialize; wlxislockok; wlxislogoffok; wlxloggedonsas; wlxloggedoutsas; wlxlogoff; wlxnegotiate; wlxsasnotify; wlxshutdown; wlxusectrlaltdel; wlxwkstalockedsas; zeromemory


 
Ascan   (2002-05-28 18:57) [21]

Севостьянов Игорь, и... что?
Не совсем понял, что ты хотел сказать...



Страницы: 1 вся ветка

Форум: "Система";
Текущий архив: 2002.08.12;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.5 MB
Время: 0.007 c
1-35311
DeMoN-777
2002-07-29 09:33
2002.08.12
Разархивация


14-35432
Wild Wizard
2002-07-17 10:49
2002.08.12
Где же старые друзья?


1-35279
^SANYA
2002-07-31 14:36
2002.08.12
В каком модуле объявлен


1-35275
ByteButcher
2002-07-31 12:15
2002.08.12
Disassembler на Delphi


1-35297
Ира
2002-07-29 10:36
2002.08.12
Сообщение по Outlook...





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский