| View previous topic :: View next topic |
| Author |
Message |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Mon Dec 28, 2009 5:55 pm Post subject: |
|
|
@slovach
Each snippet of code dealing with VirtualQuery is edited after more research.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Dec 28, 2009 5:57 pm Post subject: |
|
|
i don't think you get it.
whatev.
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Mon Dec 28, 2009 6:03 pm Post subject: |
|
|
GUYS!
I found a fucking fast method, i'm finally finished!
| Code: |
if (!strcmp(GetType, "Byte"))
{
cout << GetValue << endl;
cout << GetType << endl;
bool Read;
int Value = atoi(GetValue);
MEMORY_BASIC_INFORMATION pInfo = {0};
SYSTEM_INFO sInfo;
GetSystemInfo(&sInfo);
SIZE_T s;
int min = (int) sInfo.lpMinimumApplicationAddress;
int max = (int) 0x00FFFFFF;
MessageBoxA(0, ConvertAddress((LPVOID) (DWORD) min).c_str(), 0, MB_OK);
for (int i = min; i < max; i++)
{
s = VirtualQuery((LPCVOID) i, &pInfo, sizeof(pInfo));
if ((s == sizeof(MEMORY_BASIC_INFORMATION)) && (pInfo.Type = MEM_PRIVATE) && (pInfo.State == MEM_COMMIT) && (pInfo.RegionSize > 0))
{
Read = ReadByte((DWORD) i, Value);
if (Read == true)
{
cout << (LPVOID) i << endl;
SendMessageX(ListBox1, LB_ADDSTRING, 0, (LPARAM) ConvertAddress((LPVOID) i).c_str());
}
}
else
{
i = i + pInfo.RegionSize;
}
}
GetResults();
}
}
|
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Dec 29, 2009 6:37 am Post subject: |
|
|
| iPromise wrote: | GUYS!
I found a fucking fast method, i'm finally finished!
| Code: |
if (!strcmp(GetType, "Byte"))
{
cout << GetValue << endl;
cout << GetType << endl;
bool Read;
int Value = atoi(GetValue);
MEMORY_BASIC_INFORMATION pInfo = {0};
SYSTEM_INFO sInfo;
GetSystemInfo(&sInfo);
SIZE_T s;
int min = (int) sInfo.lpMinimumApplicationAddress;
int max = (int) 0x00FFFFFF;
MessageBoxA(0, ConvertAddress((LPVOID) (DWORD) min).c_str(), 0, MB_OK);
for (int i = min; i < max; i++)
{
s = VirtualQuery((LPCVOID) i, &pInfo, sizeof(pInfo));
if ((s == sizeof(MEMORY_BASIC_INFORMATION)) && (pInfo.Type = MEM_PRIVATE) && (pInfo.State == MEM_COMMIT) && (pInfo.RegionSize > 0))
{
Read = ReadByte((DWORD) i, Value);
if (Read == true)
{
cout << (LPVOID) i << endl;
SendMessageX(ListBox1, LB_ADDSTRING, 0, (LPARAM) ConvertAddress((LPVOID) i).c_str());
}
}
else
{
i = i + pInfo.RegionSize;
}
}
GetResults();
}
}
|
|
Wow that code is beautiful
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Tue Dec 29, 2009 1:09 pm Post subject: |
|
|
@Slugsnack Scanned from 00400000 to 7FFFFFFF in like 2 secs
|
|
| Back to top |
|
 |
smartz993 I post too much
Reputation: 2
Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Tue Dec 29, 2009 1:21 pm Post subject: |
|
|
| iPromise wrote: | @Slugsnack Scanned from 00400000 to 7FFFFFFF in like 2 secs  |
... lol
and you're the guy who wanted to sell a memory editor?
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Tue Dec 29, 2009 5:47 pm Post subject: |
|
|
@Slugsnack I never claimed to master C++, it takes like 20 years just to master C++.
@smartz993 I revised, i'm not planning to sell this.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Tue Dec 29, 2009 6:30 pm Post subject: |
|
|
@Slugsnack I was too stupid back then, I was full of myself, well now I learned
Lets not get off topic
|
|
| Back to top |
|
 |
|