【发布时间】:2016-10-16 08:41:57
【问题描述】:
我想知道如何使用 IDA pro 反汇编剥离的 ELF
我只是将其剥离并制作为 32 位 ELF 程序以供理解..
#include <stdio.h>
int my_password()
{
int pass,res,i,k;
pass=5;
for(i=0;i<=10;i++)
{
pass=pass+1;
}
return pass;
}
void main()
{
int ans,user;
printf("Enter my password");
scanf("%d",&user);
ans=my_password();
if(ans==user)
{
printf("You disassembled stripped C");
}
else
{
printf("You are not good enough!");
}
}
我用来将其剥离并作为 32 位的命令:
gcc -m32 test.c
strip --strip-unneeded test
虽然我尝试使用 IDA pro 进行反汇编,但与未剥离的相比完全不同。
使用 IDA pro 请告诉我如何找到该密码..
请考虑我没有源代码。请仅使用 IDA PRO 来帮助我。
【问题讨论】: