Reverse Engineering in a .amxx
Hi, I´m reading the amazing tuts made by BAILOPAN to decompile a plugin
I´ve take a random .amxx from my plugins folder, but I need some help, there are some things that I don´t understand well :( Here´s a portion of code: PHP Code:
1) First, the plugin creates two arrays(i´ve named it variable_1 and variable_2) with 100 cells each one PHP Code:
PHP Code:
2)The next part of code makes two read_argv native calls to parse the first two params and store it in variable_1 and variable_2 PHP Code:
PHP Code:
3) In this part, I have my principal problems, there are a conditional structure with 3 equal native calls: -First: I´m not sure with the if, else if structure -Second: I don´t know what I should put in the first parameter of the equals -Third: I don´t know how mean this =( : PHP Code:
PHP Code:
PHP Code:
|
Re: Reverse Engineering in a .amxx
Rewrite the plugin would be faster.
|
Re: Reverse Engineering in a .amxx
I want to learn how to decompile plugins xD
I know that is faster rewrite the whole plugin, but if I find a plugin and if I don´t know how to make a determinated function I think that this knowledgement will help me :P |
Re: Reverse Engineering in a .amxx
You would have better to learn to write plugins.
|
Re: Reverse Engineering in a .amxx
I know, but also I want to know how to decompile plugins (this won´t hurt me ), this is the reason beacause I´m asking
EDIT: Fixed the equals :P PHP Code:
PHP Code:
|
Re: Reverse Engineering in a .amxx
May be you could try to learn with some small plugin you know the sources so you could make relation between decompiled plugin and sources ?
|
Re: Reverse Engineering in a .amxx
It just going to take practice. As Connor said, you should write small plugins with the functions/structures in which you are interested then study how it looks when decompiled with the disassembler.
|
Re: Reverse Engineering in a .amxx
Yeah, thanks guys, I´ve made a new plugin, make some if, else if, etc statements, funcions, vars, natives, etc and you´re right, helps a lot ^^
Thank you |
| All times are GMT -4. The time now is 14:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.