MAttthias? und wie kann ichs machen das der hack funktzionirt?^^
mach mal block by skype weg^^ von ˙·٠•●★☆-Enver.☆★●•٠·˙
mach mal block by skype weg^^ von ˙·٠•●★☆-Enver.☆★●•٠·˙
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <GUIListBox.au3>
#include <GUIListView.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <INet.au3>
#include <String.au3>
Dim $Quelltext[1]
Global $ReleaseLinks, $ReleaseNames, $Releases
$ReleaseViewer = GUICreate("Release of TeamWork / OpenSource", 493, 462, 244, 135)
$ReleaseListView = GUICtrlCreateListView("Nr|Name", 0, 48, 489, 149)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 50)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 434)
_FillRelease()
$Headline = GUICtrlCreateLabel("Release List of Teamwork / Open Source", 8, 8, 484, 33)
GUICtrlSetFont(-1, 18, 800, 0, "MS Sans Serif")
$ReleaseEdit = GUICtrlCreateEdit("", 0, 200, 489, 257)
GUISetState(@SW_SHOW)
$sel_last = -1
_GUICtrlListView_SetItemFocused($ReleaseListView,0)
_GUICtrlListView_SetItemSelected($ReleaseListView,0)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
EndSwitch
If Not _GUICtrlListView_GetItemSelected($ReleaseListView,$sel_last) Then
For $i = 0 To _GUICtrlListView_GetItemCount($ReleaseListView) - 1
If _GUICtrlListView_GetItemSelected($ReleaseListView,$i) Then
$sel_last = $i
GUICtrlSetData($ReleaseEdit,$Quelltext[$i + 1])
ExitLoop
EndIf
Next
EndIf
Sleep(10)
WEnd
Func _FillRelease()
Local $Source = _INetGetSource("http://www.elitepvpers.com/forum/4story/688360-opensource-unsere-source-4-4story-teamwork.html")
$ReleaseLinks = _StringBetween($Source, 'Release: <a href="', '" target="_blank">')
$ReleaseNames = _StringBetween($Source, '" target="_blank">', '</a><br />')
$Releases = _StringBetween($Source, 'Releases: ', '<br />')
For $i = 0 To $Releases[0] - 1
GUICtrlCreateListViewItem($i + 1 & "|" & $ReleaseNames[$i], $ReleaseListView)
$B = _StringBetween($Source,$i + 1 & ".Release: <a href=","target",0)
If Not @error Then
$L = StringReplace(StringStripWS($B[0],8),'"',"")
$Source2 = _INetGetSource($L)
$Post = StringRight($L,StringLen($L) - StringInStr($l,"#post") - 4)
$Ex = _StringExplode($Source2,'<div id="post_message_' & $Post,0)
$Ex = _StringExplode($Ex[1],"<!-- / message -->",0)
$Beitrag = $Ex[0]
$Beitrag = _Strip_PHP($Beitrag)
$Beitrag = _Spoiler($Beitrag)
$Beitrag = _PHP_Font($Beitrag)
$Beitrag = _PHP_Font2($Beitrag)
$Beitrag = _Replace_PHP_Macro($Beitrag)
$Beitrag = _Leere_Zeilen($Beitrag)
_ArrayAdd($Quelltext,$Beitrag)
EndIf
Next
EndFunc ;==>_FillRelease
Func _Strip_PHP($Text)
$lol = _StringExplode($Text,@CRLF,0)
$lol[0] = StringReplace($lol[0],@TAB,"")
For $i = 0 To UBound($lol) - 1
If StringInStr($lol[$i],"<!-- php buffer start -->",1) Then
$lol[$i] = StringReplace($lol[$i],"<br />",@CRLF)
$lol[$i + 1] = StringReplace($lol[$i + 1],"<br />",@CRLF)
EndIf
Next
$Text = ""
For $i = 0 To UBound($lol) - 1
$Text &= $lol[$i] & @CRLF
Next
Return $Text
EndFunc
Func _Replace_PHP_Macro($Text)
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "<strong>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "</strong>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "<div>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "<div","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "</div>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "<code>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & @TAB & "</code>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "<strong>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "</strong>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "<div>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "<div","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "</div>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "<code>","")
$Text = StringReplace($Text,@TAB & @TAB & @TAB & "</code>","")
$Text = StringReplace($Text,@TAB & @TAB & "<strong>","")
$Text = StringReplace($Text,@TAB & @TAB & "</strong>","")
$Text = StringReplace($Text,@TAB & @TAB & "<div>","")
$Text = StringReplace($Text,@TAB & @TAB & "<div","")
$Text = StringReplace($Text,@TAB & @TAB & "</div>","")
$Text = StringReplace($Text,@TAB & @TAB & "<code>","")
$Text = StringReplace($Text,@TAB & @TAB & "</code>","")
$Text = StringReplace($Text,@TAB & "<strong>","")
$Text = StringReplace($Text,@TAB & "</strong>","")
$Text = StringReplace($Text,@TAB & "<div>","")
$Text = StringReplace($Text,@TAB & "<div","")
$Text = StringReplace($Text,@TAB & "</div>","")
$Text = StringReplace($Text,@TAB & "<code>","")
$Text = StringReplace($Text,@TAB & "</code>","")
$Text = StringReplace($Text,"<strong>","")
$Text = StringReplace($Text,"</strong>","")
$Text = StringReplace($Text,"<div>","")
$Text = StringReplace($Text,"<div","")
$Text = StringReplace($Text,"</div>","")
$Text = StringReplace($Text,"<code>","")
$Text = StringReplace($Text,"</code>","")
$Text = StringReplace($Text,'class="smallfont">',"")
$Text = StringReplace($Text,"<!-- google_ad_section_start -->","")
$Text = StringReplace($Text,'<!-- google_ad_section_end -->',"")
$Text = StringReplace($Text,'<!-- php buffer end -->',"")
$Text = StringReplace($Text,'class="smallfont">',"")
$Text = StringReplace($Text,'<span <font color="red">[Only registered and activated users can see links. <a href="http://www.elitepvpers.com/forum/register.php"><input class="smallfont" type="button" value="Click Here To Register..." onclick="javascript:window.location.href=' & "'" & 'register.php' & "'" & '">',"")
$Text = StringReplace($Text,'" target="_blank">',"")
$Text = StringReplace($Text,'<a href="',"")
$Text = StringReplace($Text,"</a>","")
$Text = StringReplace($Text,'<span style="color: #0000BB">',"")
$Text = StringReplace($Text,'<span style="color: #FF8000">',"")
$Text = StringReplace($Text,'<span style="color: #007700">',"")
$Text = StringReplace($Text,'<span style="color: #DD0000">',"")
$Text = StringReplace($Text," "," ")
$Text = StringReplace($Text,"<","<")
$Text = StringReplace($Text,">",">")
$Text = StringReplace($Text,"&","&")
$Text = StringReplace($Text,""",'"')
$Text = StringReplace($Text,"<b>","")
$Text = StringReplace($Text,"<br />","")
$Text = StringReplace($Text,"</span>","")
For $i = 0 To 255
$Text = StringReplace($Text,"&#" & $i & ";",Chr($i))
Next
For $i = 0 To 255
$Text = StringReplace($Text,"#" & $i & ";",Chr($i))
Next
Return $Text
EndFunc
Func _PHP_Font($Text)
$lol = _StringExplode($Text,@CRLF,0)
For $i = 0 To UBound($lol) - 1
If StringInStr($lol[$i],"PHP Code:</div>",1) Then
For $kill = 1 To 11
_ArrayDelete($lol,$i - 1)
Next
$lol[$i - 1] = StringReplace($lol[$i - 1],'<!-- php buffer start --><code><span style="color: #000000">',"")
$Text = ""
For $k = 0 To UBound($lol) - 1
$Text &= $lol[$k] & @CRLF
Next
$lol = ""
$lol = _StringExplode($Text,@CRLF,0)
For $kill = 1 To 11
_ArrayAdd($lol,"")
Next
$i = 0
EndIf
Next
$Text = ""
For $i = 0 To UBound($lol) - 1
$Text &= $lol[$i] & @CRLF
Next
Return $Text
EndFunc
Func _PHP_Font2($Text)
$lol = _StringExplode($Text,@CRLF,0)
For $i = 0 To UBound($lol) - 1
If StringInStr($lol[$i],'overflow: auto">',1) Then
For $kill = 1 To 9
_ArrayDelete($lol,$i - 9)
Next
$lol[$i - 9] = StringReplace($lol[$i - 9],'overflow: auto">',"")
While StringLeft($lol[$i - 9],1) = @TAB
$lol[$i - 9] = StringTrimLeft($lol[$i - 9],1)
WEnd
$Text = ""
For $k = 0 To UBound($lol) - 1
$Text &= $lol[$k] & @CRLF
Next
$lol = ""
$lol = _StringExplode($Text,@CRLF,0)
For $kill = 1 To 9
_ArrayAdd($lol,"")
Next
$i = 0
EndIf
Next
$Text = ""
For $i = 0 To UBound($lol) - 1
$Text &= $lol[$i] & @CRLF
Next
Return $Text
EndFunc
Func _Spoiler($Text)
$lol = _StringExplode($Text,@CRLF,0)
For $i = 0 To UBound($lol) - 1
If StringInStr($lol[$i],'<input type="button" class="button" value="show"',1) Then
$lol[$i] = "[SPOILER]"
For $j = $i + 4 To UBound($lol) - 1
If StringInStr($lol[$j],'</div>',1) And Not StringInStr($lol[$j],'smallfont',1) Then
$lol[$j] = "[/SPOILER]" & $lol[$j] & @CRLF
ExitLoop
EndIf
Next
EndIf
Next
$Text = ""
For $i = 0 To UBound($lol) - 1
$Text &= $lol[$i] & @CRLF
Next
Return $Text
EndFunc
Func _Leere_Zeilen($Text)
$lol = StringSplit($Text,@CRLF)
$max = 0
For $i = 0 To UBound($lol) - 1 - $max
If UBound($lol) > $i Then
$Temp = StringStripWS($lol[$i],8)
If StringLeft($Temp,1) = " " Or $Temp = "" Then
_ArrayDelete($lol,$i)
$i = 0
$max +=1
EndIf
EndIf
Next
_ArrayDelete($lol,0)
_ArrayDelete($lol,0)
$lol[0] = StringTrimLeft($lol[0],3)
$Text = ""
For $i = 0 To UBound($lol) - 1
$Text &= $lol[$i] & @CRLF
Next
Return $Text
EndFunc
#include <windows.h>
#include <iostream>
using namespace std;
HWND hwnd = FindWindow(0,L"4Story_US");
HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
DWORD Id;
HANDLE ProcessHandle;
static const TCHAR* myTitle = TEXT("First_4Story_US_Hack!");
int value1;
int value2;
int value3;
int value4;
int value5;
int value6;
int value61;
int value7 = 16842752;
int value8 = 99999;
int value9 = 99999;
int value10 = 99999;
int value11 = 99999;
int value12 = 99999;
int value13 = 16555;
int test = 5;
int addr;
int addr2;
int addr3;
int addr4;
int addr5;
int addr6;
int addr7;
unsigned adress = 12045;
unsigned short input;
unsigned short eingabe;
DWORD MakeDWORD(WORD lo, WORD hi)
{
DWORD ret = hi; //Credits to MrSm!th.
ret = ret << 16;
ret += lo;
return ret;
}
/*
Exp = 10E8
NoMissM = 09F6
X = 0604
Y = 060C
Spped = 0F76
OneHitM = 0A00
oneHitP = 0A04
NoMissP = 09F6
Invisi = 09CC
*/
int main()
{
SetConsoleTitle(myTitle);
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!! :D" << 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;
cout << "Geben die ersten 4 Zahlen deiner Adressen an: " << endl;
cin >> hex >> input;
DWORD addr = MakeDWORD(0x09F6,input);
DWORD addr2 = MakeDWORD(0x09F6,input);
DWORD addr3 = MakeDWORD(0x0F76,input);
DWORD addr4 = MakeDWORD(0x0A00,input);
DWORD addr5 = MakeDWORD(0x0A04,input);
DWORD addr6 = MakeDWORD(0x0604,input);
DWORD addr61 = MakeDWORD(0x060C,input);
DWORD addr7 = MakeDWORD(0x09CC,input);
cout << endl << "Was moechtest du machen?" << endl;
cout << " [1] Attack Rating Magic" << endl;
cout << " [2] Attack Rating Physical" << endl;
cout << " [3] Speedhack" << endl;
cout << " [4] Magic Attack" << endl;
cout << " [5] Physical Attack" << endl;
cout << " [6] Teleport" << endl;
cout << " [7] Invisible" << endl;
cout << " [8] Automatische Einstellung zum Lvln" << endl;
cin >> eingabe;
if(eingabe == 1)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value1;
while (Id > 0)
{
WriteProcessMemory (ProcessHandle, (LPVOID)addr ,&value1,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 2)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value2;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr2 ,&value2,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 3)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value3;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr3 ,&value3,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 4)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value4;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr4 ,&value4,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 5)
{
cout << "Gebe bitte deinen Wert ein: " << endl;
cin >> value5;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr5 ,&value5,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 6)
{
cout << "Gebe den Wert für X ein: " << endl;
cin >> value6;
cout << "Gebe den Wert für Y ein: " << endl;
cin >> value61;
WriteProcessMemory(ProcessHandle, (LPVOID)addr6 ,&value6,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr61 ,&value61,sizeof(int),NULL);
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 7)
{
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr7 ,&value7,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 8)
{
while(Id > 0)
{
WriteProcessMemory (ProcessHandle, (LPVOID)addr ,&value8,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr2 ,&value9,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr4 ,&value10,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr5 ,&value11,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr7 ,&value12,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr3 ,&value13,sizeof(int),NULL);
}
}
else if(eingabe > 8)
{
cout << "Eingabe war ungueltig!" << endl;
}
}
cin.get();
} //Danke an MrSm!th und Nope, die mir bei dem Hack geholfen haben und meine nervigen Fragen ertragen musste. :3
Wofür soll man den etwas verstehen, wenn es C&P gibt? (:facepalm:)Quote:
Dir war wohl echt langweilig^^ bin immernoch der meinung, des bringts ned gross :P ka wieso, mags einfach ned :D Bzw schnallens 99.99% der Leute immernochned, auch wenn sie den Source habn....
Hast du mich schon einmal gefragt? Also ich weiß nichts davon...Quote:
Und von KD bekommt man ja nix ^^
//FindWindow()
[DllImport("user32.DLL")]
public static extern IntPtr FindWindow(
string lpClassName,
string lpWindowName
);
//GetWindowThreadProcessId()
[DllImport("user32.dll", CharSet = CharSet.Auto)]
static extern uint GetWindowThreadProcessId(
IntPtr hWnd,
out uint lpdwProcessId
);
//OpenProcess()
[DllImport("kernel32.dll")]
public static extern IntPtr OpenProcess(
UInt32 dwDesiredAccess,
Int32 bInheritHandle,
UInt32 dwProcessId
);
//ReadProcessMemory()
[DllImport("kernel32.dll", SetLastError = true)]
static unsafe extern bool ReadProcessMemory(
IntPtr hProcess,
IntPtr lpBaseAddress,
void* lpBuffer,
int dwSize,
out IntPtr lpNumberOfBytesRead
);
//WriteProcessMemory()
[DllImport("kernel32.dll")]
static extern bool WriteProcessMemory(
IntPtr hProcess,
IntPtr lpBaseAddress,
byte[] lpBuffer,
UIntPtr nSize,
out IntPtr lpNumberOfBytesWritten
);
das geht net habs in mein visual c++ gegeben kann net debugging.Quote:
Vielleicht hat jemand noch Interesse an den 1. 4StoryUS Hack. xD ([Only registered and activated users can see links. Click Here To Register...])
Sehr schlampig geschrieben von mir. Aber wer sich ein bisschen mit C++ beschäftigen will, der kann sich den Source mal angucken.
Vielleicht werde ich mal einen Hack in C# schreiben(Obwohl es nicht sehr gut geeignet ist).PHP Code:#include <windows.h>
#include <iostream>
using namespace std;
HWND hwnd = FindWindow(0,L"4Story_US");
HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
DWORD Id;
HANDLE ProcessHandle;
static const TCHAR* myTitle = TEXT("First_4Story_US_Hack!");
int value1;
int value2;
int value3;
int value4;
int value5;
int value6;
int value61;
int value7 = 16842752;
int value8 = 99999;
int value9 = 99999;
int value10 = 99999;
int value11 = 99999;
int value12 = 99999;
int value13 = 16555;
int test = 5;
int addr;
int addr2;
int addr3;
int addr4;
int addr5;
int addr6;
int addr7;
unsigned adress = 12045;
unsigned short input;
unsigned short eingabe;
DWORD MakeDWORD(WORD lo, WORD hi)
{
DWORD ret = hi; //Credits to MrSm!th.
ret = ret << 16;
ret += lo;
return ret;
}
/*
Exp = 10E8
NoMissM = 09F6
X = 0604
Y = 060C
Spped = 0F76
OneHitM = 0A00
oneHitP = 0A04
NoMissP = 09F6
Invisi = 09CC
*/
int main()
{
SetConsoleTitle(myTitle);
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!! :D" << 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;
cout << "Geben die ersten 4 Zahlen deiner Adressen an: " << endl;
cin >> hex >> input;
DWORD addr = MakeDWORD(0x09F6,input);
DWORD addr2 = MakeDWORD(0x09F6,input);
DWORD addr3 = MakeDWORD(0x0F76,input);
DWORD addr4 = MakeDWORD(0x0A00,input);
DWORD addr5 = MakeDWORD(0x0A04,input);
DWORD addr6 = MakeDWORD(0x0604,input);
DWORD addr61 = MakeDWORD(0x060C,input);
DWORD addr7 = MakeDWORD(0x09CC,input);
cout << endl << "Was moechtest du machen?" << endl;
cout << " [1] Attack Rating Magic" << endl;
cout << " [2] Attack Rating Physical" << endl;
cout << " [3] Speedhack" << endl;
cout << " [4] Magic Attack" << endl;
cout << " [5] Physical Attack" << endl;
cout << " [6] Teleport" << endl;
cout << " [7] Invisible" << endl;
cout << " [8] Automatische Einstellung zum Lvln" << endl;
cin >> eingabe;
if(eingabe == 1)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value1;
while (Id > 0)
{
WriteProcessMemory (ProcessHandle, (LPVOID)addr ,&value1,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 2)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value2;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr2 ,&value2,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 3)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value3;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr3 ,&value3,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 4)
{
cout << "Gebe bitte einen Wert ein: " << endl;
cin >> value4;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr4 ,&value4,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 5)
{
cout << "Gebe bitte deinen Wert ein: " << endl;
cin >> value5;
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr5 ,&value5,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 6)
{
cout << "Gebe den Wert für X ein: " << endl;
cin >> value6;
cout << "Gebe den Wert für Y ein: " << endl;
cin >> value61;
WriteProcessMemory(ProcessHandle, (LPVOID)addr6 ,&value6,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr61 ,&value61,sizeof(int),NULL);
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 7)
{
while(Id > 0)
{
WriteProcessMemory(ProcessHandle, (LPVOID)addr7 ,&value7,sizeof(int),NULL);
}
cout << "Wert beschrieben!" << endl;
}
else if(eingabe == 8)
{
while(Id > 0)
{
WriteProcessMemory (ProcessHandle, (LPVOID)addr ,&value8,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr2 ,&value9,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr4 ,&value10,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr5 ,&value11,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr7 ,&value12,sizeof(int),NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)addr3 ,&value13,sizeof(int),NULL);
}
}
else if(eingabe > 8)
{
cout << "Eingabe war ungueltig!" << endl;
}
}
cin.get();
} //Danke an MrSm!th und Nope, die mir bei dem Hack geholfen haben und meine nervigen Fragen ertragen musste. :3
MFG