OD~~helloworld

要爆破的C程序源码:

 1 #include <stdio.h>
 2 int main()
 3 {
 4     int x;
 5     scanf("%d",&x);
 6     if(x==876)
 7         printf("helloworld!\n");
 8     else
 9         printf("sorry,you enter password error!\n");
10     return 0;
11 }

 

简单的第一次尝试,找到Call命令后下端点,F7进入,输入x值,一路F8 看到输出性提示(天晚了就不上图了)

1.可以修改标志信息,改变跳转。 2.修改比较的值使其跳转。

从而爆破该程序。

 

posted @ 2017-03-22 22:34  马丁黄瓜啊  阅读(240)  评论(0编辑  收藏  举报