Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-12-2013, 10:00 AM   #1
Registered: Feb 2013
Posts: 36

Rep: Reputation: Disabled
How can I find static memory addresses with scanmem?

I don't know if I should ask this here, but since it's related a bit to scanmem, which is a software, then I think it's OK.
That's not my only question actually, they're a bunch about scanmem.

1- As from the title, how can I find the base pointer, of say, an ammo variable of some game that I'm hacking? In CE, I just do 'find what writes/accesses this address' and follow along the series of pointers...

2- How can I freeze a value that I find? using 'set' will only set it, tried 'write', it was the same. I looked in scanmem's help, couldn't find any.

3- What about memory dissecting?

Maybe I should have asked, what's the tool(s) that could do that for me?
If scanmem can't do that, what can then?
And if there's no tool for that, how will be able to achieve those?
Do I have to for C? How will I go about doing that? what are the functions used? In C++/WinAPI there are WriteMemory, ReadMemory, etc that I could use to manipulate memory, how about C?

A lot of questions, I know, but they're all circling around one pole, which is mem hacking.


(Couldn't find the best tags)

Last edited by Vexe; 03-12-2013 at 10:09 AM.
Old 03-12-2013, 12:02 PM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,565

Rep: Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811Reputation: 2811
Theoretically the processes (or the OS) protects the memory, so you cannot access or alter it from outside. For example the game doom can handle the ammo but you cannot inspect/modify it from another program. Probably you can try to modify the game itself to not handle the amount of ammo (or handle in a different way), but you need to find how it is implemented and also you need to modify the game code itself.
There is no general solution, it is game specific and also you need to learn about how a game implemented (in general).


address, c++, heap, memory, scan

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find boundary addresses of Linux memory - ZONE_DMA, ZONE_NORMAL, ZONE_HIGHMEM gluo88 Linux - Newbie 0 06-02-2012 10:37 AM
Protect Static IP Addresses todd_dsm Linux - Networking 3 10-04-2009 06:24 PM
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
mechanics of mapping process memory addresses to physical addresses on amd64 Tischbein Linux - Kernel 2 02-01-2007 08:09 PM
Static IP addresses BCarey Linux - Networking 5 05-06-2006 04:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration