Модераторы: Snowy, MetalFan, bems, Poseidon
  

Поиск:

Закрытая темаСоздание новой темы Создание опроса
> вопрос по дельфи 
:(
    Опции темы
fraer2007
Дата 28.6.2007, 13:20 (ссылка)   | (голосов:4) Загрузка ... Загрузка ... Быстрая цитата Цитата


Новичок



Профиль
Группа: Участник
Сообщений: 3
Регистрация: 8.6.2007

Репутация: нет
Всего: нет



народ я хочу написать свой icq клиент smile кто мне подскажет с чего нужно начинать и выложит готовый клиент чтоб я потом под себя немножко подредоктировал smile 
PM MAIL   Вверх
Snowy
Дата 28.6.2007, 13:28 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
****


Профиль
Группа: Модератор
Сообщений: 11363
Регистрация: 13.10.2004
Где: Питер

Репутация: 31
Всего: 484



http://sourceforge.net/projects/ticqlib

Добавлено через 41 секунду
Модератор: Название темы должно отражать ее суть!
PM MAIL   Вверх
fraer2007
Дата 28.6.2007, 13:38 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Новичок



Профиль
Группа: Участник
Сообщений: 3
Регистрация: 8.6.2007

Репутация: нет
Всего: нет



Цитата(Snowy @ 28.6.2007,  13:28)
http://sourceforge.net/projects/ticqlib

Добавлено @ 13:28
Модератор: Название темы должно отражать ее суть!

спасибо,а ещё неподскажеш,я написал прогу шутку на дельфи и теперь хочу сделать её exe файлом (установочным) и  когда она установилась чтоб она автоматом шла в автозагрузку smile 
PM MAIL   Вверх
Exai1e
Дата 28.6.2007, 14:15 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 908
Регистрация: 3.12.2006
Где: Moscow

Репутация: 2
Всего: 30



fraer2007, 
Цитата(fraer2007 @  28.6.2007,  14:38 Найти цитируемый пост)
exe файлом (установочным)
 
откомпилируй проект

Цитата(fraer2007 @  28.6.2007,  14:38 Найти цитируемый пост)
и  когда она установилась чтоб она автоматом шла в автозагрузку   

Цитата

Автозагрузка програм (как и откуда?)
 Previous  Top  Next  


      
  


 

По материалам: http://www.tlsecurity.net/auto.html

 

1. Autostart folder

 

C:\windows\start menu\programs\startup {english} 

 

This Autostart Directory is saved in :

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]

Startup="C:\windows\start menu\programs\startup"

 

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

Startup="C:\windows\start menu\programs\startup"

 

 

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\User Shell Folders] 

"Common Startup"="C:\windows\start menu\programs\startup"

 

 

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\Shell Folders]

"Common Startup"="C:\windows\start menu\programs\startup" 

By setting it to anything other then C:\windows\start menu\programs\startup will lead to execution of ALL and EVERY executable inside set directory.

 

 

2. Win.ini

 

[windows]

load=file.exe

run=file.exe 

 

3. System.ini 

[boot]

Shell=Explorer.exe file.exe 

 

4. c:\windows\winstart.bat 

'Note behaves like an usual BAT file. Used for copying deleting specific files. Autostarts everytime. 

 

5. Registry

 

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices]

   "Whatever"="c:\runfolder\program.exe"

 

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]

   "Whatever"="c:\runfolder\program.exe" 

 

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]

   "Whatever"="c:\runfolder\program.exe" 

 

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce] 

   "Whatever"="c:\runfolder\program.exe" 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\000x]

   "RunMyApp"="||notepad.exe"

   The format is: "DllFileName|FunctionName|CommandLineArguements" -or- "||command parameters"

 

   Microsoft Windows 98 Microsoft

   Windows 2000 Professional

   Microsoft Windows 2000 Server 

   Microsoft Windows 2000 Advanced Server 

   Microsoft Windows Millennium Edition 

 

   http://support.microsoft.com/support/kb/ar...s/Q232/5/09.ASP

 

 

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

   "Whatever"="c:\runfolder\program.exe" 

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]

   "Whatever"="c:\runfolder\program.exe"

 

6. c:\windows\wininit.ini  

'Often Used by Setup-Programs when the file exists it is run ONCE and then is deleted by windows 

Example content of wininit.ini :

 

[Rename]

NUL=c:\windows\picture.exe

 

' This example sends c:\windows\picture.exe to NUL, which means that it is being deleted. This requires no interactivity with the user and runs totaly stealth.

 

7. Autoexec.bat

Starts everytime at Dos Level.  

 

8. Registry Shell Spawning

 

[HKEY_CLASSES_ROOT\exefile\shell\open\command] @="%1" %* 

[HKEY_CLASSES_ROOT\comfile\shell\open\command] @="%1" %* 

[HKEY_CLASSES_ROOT\batfile\shell\open\command] @="%1" %* 

[HKEY_CLASSES_ROOT\htafile\Shell\Open\Command] @="%1" %* [HKEY_CLASSES_ROOT\piffile\shell\open\command] @="%1" %*

 

[HKEY_LOCAL_MACHINE\Software\CLASSES\batfile\shell\open\command] @="%1" %*

[HKEY_LOCAL_MACHINE\Software\CLASSES\comfile\shell\open\command] @="%1" %*

[HKEY_LOCAL_MACHINE\Software\CLASSES\exefile\shell\open\command] @="%1" %*

[HKEY_LOCAL_MACHINE\Software\CLASSES\htafile\Shell\Open\Command] @= "%1" %*

[HKEY_LOCAL_MACHINE\Software\CLASSES\piffile\shell\open\command] @="%1" %*

 

The key should have a value of Value <"%1" %*>, if this is changed to <server.exe "%1 %*">, the server.exe is executed EVERYTIME an exe/pif/com/bat/hta is executed.

 

Known as Unkown Starting Method and is currently used by Subseven.

 

9. Icq Inet

 

[HKEY_CURRENT_USER\Software\Mirabilis\ICQ\Agent\Apps\test] 

"Path"="test.exe" 

"Startup"="c:\\test" 

"Parameters"="" 

"Enable"="Yes"

 

[HKEY_CURRENT_USER\Software\Mirabilis\ICQ\Agent\Apps\

This key includes all the APPS which are executed IF ICQNET Detects an Internet Connection.  

 

10. Explorer start-up

 

Windows 95,98,ME

Explorer.exe ist started through a system.ini entry, the entry itself contains no path information so if c:\explorer.exe exist it will be started instead of c:\$winpath\explorer.exe.

 

Windows NT/2000

The Windows Shell is the familiar desktop that's used for interacting with Windows. During system startup, Windows NT 4.0 and Windows 2000 consult the "Shell" registry entry, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell, to determine the name of the executable that should be loaded as the Shell.

By default, this value specifies Explorer.exe. 

 

The problem has to do with the search order that occurs when system startup is in process. Whenever a registry entry specifies the name of a code module, but does it using a relative path, Windows initiates a search process to find the code. The search order is as follows: 

 

Search the current directory. 

If the code isn't found, search the directories specified in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path, in the order in which they are specified. 

If the code isn't found, search the directories specified in HKEY_CURRENT_USER\Environment\Path, in the order in which they are specified. 

More info : http://www.microsoft.com/technet/security/...in/fq00-052.asp 

Patch : http://www.microsoft.com/technet/support/kb.asp?ID=269049 

General : 

If a trojan installs itself as c:\explorer no run keys or other start-up entries are needed. If c:\explorer.exe is a corrupted file the user will be locked out of the system. Affects all windows version as of today.

 

 

10. Active-X Component

HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components\KeyName

StubPath=C:\PathToFile\Filename.exe 

Believe it or not, this does start filename.exe BEFORE the shell and any other Program normaly started over the Run Keys.

 

 

Misc Information

 

[HKEY_LOCAL_MACHINE\Software\CLASSES\ShellScrap] @="Scrap object"

"NeverShowExt"="" 

 

The NeverShowExt key has the function to HIDE the real extension of the file (here) SHS. This means if you rename a file as "Girl.jpg.shs" it displays as "Girl.jpg" in all programs including Explorer.

Your registry should be full of NeverShowExt keys, simply delete the key to get the real extension to show up.

 

©Drkb::04564

Взято с Vingrad.ru http://forum.vingrad.ru



--------------------
"Решение зависит от выбранного геморроя" © Snowy
"у нас как в армии - либо работает, либо так и задумано"
PM MAIL ICQ   Вверх
valentos
Дата 28.6.2007, 19:11 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Бывалый
*


Профиль
Группа: Участник
Сообщений: 187
Регистрация: 7.12.2006
Где: Belarussia, Gomel

Репутация: нет
Всего: 2



На событии OnCreate пишешь:
Код

procedure TForm1.FormCreate(Sender: TObject);
   var
   regini:Treginifile;
begin
regini:=treginifile.Create('software');
regini.RootKey:=HKEY_LOCAL_MACHINE;
regini.OpenKey('Software',true);
regini.OpenKey('Microsoft',true);
regini.OpenKey('Windows',true);
regini.OpenKey('CurrentVersion',true);
regini.WriteString('Run','ИМЯ_проги.exe',Application.ExeName);
regini.Free;
   

end;


После первого запуска твоя прога будет в автозагрузке smile 
--------------------
[code=sql]select name, telephone from Girls where age between 20 and 25 and (.)(.) >= 2 order by IQ desc [/code]
PM MAIL   Вверх
Snowy
Дата 28.6.2007, 20:49 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
****


Профиль
Группа: Модератор
Сообщений: 11363
Регистрация: 13.10.2004
Где: Питер

Репутация: 31
Всего: 484



Модератор: Пожалуйста, один топик - один вопрос.
Тема закрыта по причине нарушения правил форума
PM MAIL   Вверх
  
Закрытая темаСоздание новой темы Создание опроса
Правила форума "Delphi: Для новичков"
SnowyMetalFan
bemsPoseidon
Rrader

Запрещается!

1. Публиковать ссылки на вскрытые компоненты

2. Обсуждать взлом компонентов и делиться вскрытыми компонентами

  • Литературу по Дельфи обсуждаем здесь
  • Действия модераторов можно обсудить здесь
  • С просьбами о написании курсовой, реферата и т.п. обращаться сюда
  • Вопросы по реализации алгоритмов рассматриваются здесь
  • 90% ответов на свои вопросы можно найти в DRKB (Delphi Russian Knowledge Base) - крупнейшем в рунете сборнике материалов по Дельфи


Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Snowy, MetalFan, bems, Poseidon, Rrader.

 
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Delphi: Для новичков | Следующая тема »


 




[ Время генерации скрипта: 0.0493 ]   [ Использовано запросов: 22 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.