Orpheu: Patching strings in memory
This is a mini-tutorial to demonstrate how to use Orpheu to replace strings in memory. You can use this functionality to:
http://www.hex-rays.com/idapro/idadownfreeware.htm Install it and open it. [IMG]http://img231.**************/img231/6339/45340387.png[/IMG] Press New [IMG]http://img12.**************/img12/8282/79514323.png[/IMG] PE Dynamic Library OK Now: to see the strings of the:
[IMG]http://img191.**************/img191/5043/29492852.png[/IMG] View Open subviews Strings And you will have a list of strings that the library uses. For this example I will use: Code:
# name userid uniqueid frag time ping loss adr\n Code:
{ [IMG]http://img46.**************/img46/883/71307609.png[/IMG] data is "data" rdata is "rodata" text is "code" This field is meant to ensure integrity after messing with memory but is only useful in Linux. Anyway, you have to provide a valid type. Now, save the file with the content described above in configs/orpheu/memory and name it as you want. To use it now you would do something like: PHP Code:
Now, when running this plugin, if your server users use the command status they will see: [IMG]http://img205.**************/img205/184/60858560.png[/IMG] |
Re: Orpheu: Patching strings in memory
I hate your tutorial. |
Re: Orpheu: Patching strings in memory
A more useful example (replaces the sound of when you press +USE without using nothing):
Code:
{ PHP Code:
|
Re: Orpheu: Patching strings in memory
Changing weapon models is now a lot more efficient :
Code:
{ Code:
The weapon sounds won't still work since it's handled by the client. |
Re: Orpheu: Patching strings in memory
Wow, thats really nice
|
Re: Orpheu: Patching strings in memory
[/AGREE]
Quote:
Nice comments Arkshine :mrgreen: |
Re: Orpheu: Patching strings in memory
Quote:
Will there be more tutorials about using Orpheu? This helped me learn some about it, but I'm kind of lost as to what this module can do and how to use it. |
Re: Orpheu: Patching strings in memory
'Quim will probably post about the use of virtual functions.
I'm writing a tuto "How find functions and make signatures". Something like. You have to use IDA or such software to understand that you can do a lot of things, like to find that such function is called from others functions ( to block, etc.. ). HLSDK is obviously not enough for CS functions. Or you need to block/replace a specific thing in one function, so you see the disassembled code, then you could for example find a constant value you could change and making a patch. Like the plugin 'infinite round' I nop a check so the whole if() is ignored. You have to know how are done the funtions so you can do almost what you want. For example, using IDA by decompiling and changing some things, you can see for example what does exactly PM_Jump : http://paste.ak-team.com/f87e7065 ; then you see there are constants, you could change easily, or ignoring. What I say is for the game dll, but you can do more things with other library like "engine", so much interesting functions there to alter. Anyway above is very specific, you can also change param/param of struct of a function on-the-fly easily and such. |
Re: Orpheu: Patching strings in memory
So I could do something like
PHP Code:
Code:
{ |
Re: Orpheu: Patching strings in memory
This is very interesting. Thanks.
|
All times are GMT -4. The time now is 15:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.