|
|
|
[求助]push eax 与 sub esp,0x4的问题
解决了,解决了…… 问题的解决办法,用sub的形势进行调用的时候,必须添加一个结束符,也就是 mov byte ptr[ebp-02h],0h 这样就没问题了 大概push eax中扩展出的空间,应该都是以0x0来进行填充的吧。 不知道这样理解的对不对,各位高手请指正 ===== 小插曲: 一开始我以为在sub之前必须push一下子才能用,后来发现不用push的话,一样可以在堆栈里划出内存来。 ===== |
|
[求助]push eax 与 sub esp,0x4的问题
自己可耻的顶一下…… |
|
[求助]push eax 与 sub esp,0x4的问题
先谢谢大家了。这么晚了还帮我解决问题~~~~~ |
|
[求助]push eax 与 sub esp,0x4的问题
…………我刚比较出结果来 |
|
[求助]push eax 与 sub esp,0x4的问题
#include <windows.h> int main() { __asm { push ebp mov ebp,esp xor eax,eax //push eax //push eax //push eax sub esp,0xc mov byte ptr[ebp-0Ch],4Dh mov byte ptr[ebp-0Bh],53h mov byte ptr[ebp-0Ah],56h mov byte ptr[ebp-09h],43h mov byte ptr[ebp-08h],52h mov byte ptr[ebp-07h],54h mov byte ptr[ebp-06h],2Eh mov byte ptr[ebp-05h],44h mov byte ptr[ebp-04h],4Ch mov byte ptr[ebp-03h],4Ch lea eax,[ebp-0Ch] push eax mov edx,0x77E1850D //LoadLibrary sp3 call edx //call ds:LoadLibraryA //然后是开一个dos窗口: push ebp mov ebp, esp sub esp, 0x2C mov eax, 0x6D6D6F63 mov dword ptr [ebp-0x0C], eax mov eax, 0x2E646E61 mov dword ptr [ebp-0x8], eax mov eax, 0x226D6F63 mov dword ptr [ebp-0x4], eax xor edx, edx mov byte ptr [ebp-0x1], dl lea eax, dword ptr [ebp-0xC] push eax mov eax, 0x77b88c10 //system sp3 call eax } return 0; } 这是代码…… 不是灯笼迷,是真的遇到的情况…… |
|
[求助]push eax 与 sub esp,0x4的问题
而且这个很奇怪,如果修改成 push ebp push ebp push ebp ======= push ebp sub esp,4 sub esp,4 没有任何问题,但是如果3个全都修改了,那么就异常了 |
|
|
|
[求助]麻烦高手看一下,这段指令起什么作用?
算法?加密解密? |
|
|
|
为什么论坛上就一个看雪老大在回答问题?
我也是个新手,不过说实话,最快、质量最高的学习方法不是你问然后别人回答。 而是自己想办法找到答案。因为在这其中自己能走很多弯路,而这些弯路上你能学到很多别的东西,这些东西你以后肯定会用得上。 我也经常在论坛上提问,不过那些问题都是一些比较急迫解决的问题。就像是这两天我问的那些问题,基本上都是我研究了3天以后没有任何结果的问题。实在是考虑不出来了。但是如果再给我10天的时间,我一定会找到答案。之所以在这里提问,完全是为了能够提高学习效率。 所以,作为新手的我们不要抱怨。将心比心,“高手”们也有难处。 还有,我虽然也是新手,但是我现在也多多少少了解点基础性的东西,如果我会的话我会回复。毕竟这对我来说也是一种提高…… 一起加油哈 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值