For those hacking on Linux you might be interested in a framework I'm trying to create https://github.com/tomasklapka/cracke
It creates shared library with your evil code and a launcher shell script injecting it into your app. This proces is configurable (see https://github.com/tomasklapka/crack.../dummy_conf.rb)
You can optionally enable embedded Ruby or Lua (Lua is just a stub yet - contributors are welcome). In Ruby you can read memory and I've just added simple memory scanner.
Example of using embedded ruby for scanning memory: https://github.com/tomasklapka/crack...c/ruby/main.rb
TODO:
- learn make or cmake and use it
- add more direct memory access functions, even for updating memory (current: https://github.com/tomasklapka/crack.../lib/dma/dma.c)
- try to use EventMachine to create simple TCP/IP server making the hook accessible from anywhere.
- add keyboard and mouse events
- test with wine and real games (Wakfu segfaults after several seconds, HoN seems to work fine)
Any comments or ideas are welcome.