Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 15:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Ist der Code O.K.?

Discussion on Ist der Code O.K.? within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2011
Posts: 428
Received Thanks: 285
Ist der Code O.K.?

Ich habe das Script von einem bekannten, aber ich weiß nicht wie ich es in c++ verwenden soll. Es soll glaube ich als Komandozeile (wie CMD) erscheinen, ich hoffe ihr könnt mir helfen...



Code:
#include <windows.h>
#include <iostream>
using namespace std;

    HWND hwnd;
    hwnd = FindWindow(0,L"4Story");
    HANDLE hStdOut;
    hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
    DWORD Id;
    HANDLE ProcessHandle;


int main()
{
    
    if(!hwnd)//Nach dem 4Story Fenster suchen.
    {
        SetConsoleTextAttribute(hStdOut, FOREGROUND_RED | FOREGROUND_INTENSITY);

        cout << "4Story wurde nicht gefunden!!" << endl;

        

    }
    else
    {
        SetConsoleTextAttribute(hStdOut, FOREGROUND_GREEN | FOREGROUND_INTENSITY);

        cout << "4Story gefunden!!" << endl;
        cout << "Fensterhandle: " << hwnd << endl;

        GetWindowThreadProcessId(hwnd,&Id);
        cout << "ProcessID: " << Id << endl;

        ProcessHandle = OpenProcess(PROCESS_VM_WRITE |PROCESS_VM_OPERATION ,false, Id);
        cout << "ProcessHandle: " << ProcessHandle << endl;
		address2 = 0x2AEB5748;
        value = 1;
        WriteProcessMemory(ProcessHandle,(LPVOID)address2,&value,sizeof(int),NULL);
JixhE is offline  
Old 09/24/2011, 19:23   #2
 
elite*gold: 0
Join Date: Jul 2010
Posts: 388
Received Thanks: 196
Dein Bekannter ist ein Stümper.

1. Da fehlt was am Ende. Ist dir nicht aufgefallen?
2. Viel Glück beim Ausführen von Funktionen im global scope.
SmackJew is offline  
Thanks
1 User
Old 09/27/2011, 15:44   #3
 
elite*gold: 0
Join Date: Sep 2011
Posts: 428
Received Thanks: 285
Kennst du ein besseres Script für einen Hack?
JixhE is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Biete AW50F Code + Javelin Code + Kamazaki Code an
08/18/2011 - WarRock Trading - 6 Replies
Biete AW50F Code + Javelin Code + Kamazaki Code an Was biete Ich _________________________________________________ _ _________________ ----- AW50F CODE ----- Javelin Code
Waffen Code´s - Premium Code´s - Dinar Code´s [VERKAUFBAR] ! ! !
03/10/2011 - WarRock Trading - 3 Replies
Hallo Leute , ich verkaufe Code´s . Die Code´s werde ich jetzt darunter hinschreiben und ihr könnt euch bei mir melden 50 % Günstiger Als WarRock Marketplace . 1.Waffen Code´s >>> G36 Code Xm8 Code Javelin Code Mp7a1 Code Famas Retail Code G36 Retail Code
Waffen Code´s - Premium Code´s - Dinar Code´s [VERKAUFBAR] ! ! !
03/10/2011 - WarRock Trading - 9 Replies
Waffen Code´s - Premium Code´s - Dinar Code´s ! ! ! Hallo Leute , ich verkaufe Code´s . Die Code´s werde ich jetzt darunter hinschreiben und ihr könnt euch bei mir melden 50 % Günstiger Als WarRock Marketplace . 1.Waffen Code´s >>> G36 Code Xm8 Code Javelin Code



All times are GMT +1. The time now is 15:29.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.