当前位置: 首页 > news >正文

新河网站建设爱站网排行榜

新河网站建设,爱站网排行榜,b2c网站名称,汕头电商网站建设参考文章:re学习笔记(28)攻防世界-re-no-strings-attached_Forgo7ten的博客-CSDN博客 攻防世界逆向入门题之no-strings-attached_攻防世界 no-strings-attached_沐一 林的博客-CSDN博客 本人题解: 扔入Exepeinfo中查壳和其他信息…

参考文章:
re学习笔记(28)攻防世界-re-no-strings-attached_Forgo7ten的博客-CSDN博客

攻防世界逆向入门题之no-strings-attached_攻防世界 no-strings-attached_沐一 · 林的博客-CSDN博客 本人题解:
扔入Exepeinfo中查壳和其他信息:

如图所示,32位ELF的linux文件,照例扔如IDA32位中查看代码信息,跟进Main函数:

跟进authenticate()函数

这里有个decrypt函数,中文名是加密,不在导入表中说明不是系统函数,后面的if判断条件是输入,还有个比较的wcscmp函数,后面两个wprintf分别是success 和access这些成功和拒绝的字符串地址。
fgetws函数是从输入流stdin中获取0x2000个字符给ws,也就是说s2是关键了,s2由decrypt函数得出,decrypt是用户自定义函数,在这里学到了非系统函数的英文名会是题目给的暗示,所以这里是加密操作后与输入的比较,只要输入后与加密后的s2一样就会打印success或access这些字符串,那flag自然也在加密函数中了。

然后开始动调:


这里有一个问题卡了我许久,就是在Ubuntu中无法打开32位调试文件,需要安装一些配置才可以

参考文章:

【BUG】Linux目录下明明有可执行文件却提示找不到,“No such file or directory”,解决:为64位Ubuntu安装32位程序的运行架构_linux文件存在 但报错说找不到_shandianchengzi的博客-CSDN博客

可以解决

 

 

程序在08048720执行完call,并将返回值存储在eax里。
然后通过eax赋值给[ebp+s2],也就是字符串s2,
F8单步执行到08048725
然后跳转到eax存储的地址上

 

 

其实在这里也是可以看到flag的,一个一个写出来就可以了,但是也可以提取数据,一块弄出来

参考别人写的脚本:
数据提取:
 

unsigned int data[38] = {0x00000039, 0x00000034, 0x00000034, 0x00000037, 0x0000007B, 0x00000079, 0x0000006F, 0x00000075,0x0000005F, 0x00000061, 0x00000072, 0x00000065, 0x0000005F, 0x00000061, 0x0000006E, 0x0000005F,0x00000069, 0x0000006E, 0x00000074, 0x00000065, 0x00000072, 0x0000006E, 0x00000061, 0x00000074,0x00000069, 0x0000006F, 0x0000006E, 0x00000061, 0x0000006C, 0x0000005F, 0x0000006D, 0x00000079,0x00000073, 0x00000074, 0x00000065, 0x00000072, 0x00000079, 0x0000007D};

 然后将其转换为字符即为flag

#include <stdio.h>
int main()
{unsigned int data[38] = {0x00000039, 0x00000034, 0x00000034, 0x00000037, 0x0000007B, 0x00000079, 0x0000006F, 0x00000075,0x0000005F, 0x00000061, 0x00000072, 0x00000065, 0x0000005F, 0x00000061, 0x0000006E, 0x0000005F,0x00000069, 0x0000006E, 0x00000074, 0x00000065, 0x00000072, 0x0000006E, 0x00000061, 0x00000074,0x00000069, 0x0000006F, 0x0000006E, 0x00000061, 0x0000006C, 0x0000005F, 0x0000006D, 0x00000079,0x00000073, 0x00000074, 0x00000065, 0x00000072, 0x00000079, 0x0000007D};for(int i=0;i<38;i++)printf("%c",data[i]);return 0;
}

 flag为9447{you_are_an_international_mystery}

总结:
1.
不在导入表(import)中说明不是系统函数,非系统函数的英文名会是题目给的暗示

2.动态调试类似内存调试,在内存中找数据,寻找中间变量

3.IDA是根据自己的规则给无法解析变量名赋值的,也就是说在IDA里变量是s2这个名字,但是实际上程序里并没有s2这个变量名,所以只能查看寄存器了,毕竟函数是先返回到eax寄存器中再移动到变量中的。


文章转载自:
http://stannary.c7507.cn
http://prediabetes.c7507.cn
http://pod.c7507.cn
http://bouffant.c7507.cn
http://confirmatory.c7507.cn
http://supercurrent.c7507.cn
http://isopentyl.c7507.cn
http://antihistaminic.c7507.cn
http://jerkwater.c7507.cn
http://exhilarant.c7507.cn
http://cuspidor.c7507.cn
http://cryoconite.c7507.cn
http://romanic.c7507.cn
http://selfsame.c7507.cn
http://aquafarm.c7507.cn
http://settings.c7507.cn
http://duchy.c7507.cn
http://imperence.c7507.cn
http://photobiologic.c7507.cn
http://equiponderance.c7507.cn
http://fractionation.c7507.cn
http://disaffiliate.c7507.cn
http://disturbed.c7507.cn
http://farina.c7507.cn
http://myl.c7507.cn
http://lactonic.c7507.cn
http://boreen.c7507.cn
http://unglamorous.c7507.cn
http://westerly.c7507.cn
http://tetrachloride.c7507.cn
http://paleobiology.c7507.cn
http://daubster.c7507.cn
http://anchylose.c7507.cn
http://celticist.c7507.cn
http://sanguimotor.c7507.cn
http://changeover.c7507.cn
http://maltworm.c7507.cn
http://paupiette.c7507.cn
http://charlady.c7507.cn
http://braunite.c7507.cn
http://blissout.c7507.cn
http://fathom.c7507.cn
http://handcuffs.c7507.cn
http://bombsite.c7507.cn
http://howbeit.c7507.cn
http://gastroderm.c7507.cn
http://bluffness.c7507.cn
http://araneose.c7507.cn
http://expostulator.c7507.cn
http://instrumentarium.c7507.cn
http://batiste.c7507.cn
http://surgically.c7507.cn
http://ephemeral.c7507.cn
http://singularity.c7507.cn
http://nitrification.c7507.cn
http://ergogram.c7507.cn
http://cytogenics.c7507.cn
http://chypre.c7507.cn
http://theaceous.c7507.cn
http://tray.c7507.cn
http://mccarthyist.c7507.cn
http://presume.c7507.cn
http://fruticose.c7507.cn
http://gular.c7507.cn
http://monophoto.c7507.cn
http://gnash.c7507.cn
http://draconic.c7507.cn
http://insipience.c7507.cn
http://enthronize.c7507.cn
http://farther.c7507.cn
http://paroxytone.c7507.cn
http://hymnodist.c7507.cn
http://pressing.c7507.cn
http://c.c7507.cn
http://tart.c7507.cn
http://disfluency.c7507.cn
http://anteflexion.c7507.cn
http://atresia.c7507.cn
http://leukocytoblast.c7507.cn
http://lumpfish.c7507.cn
http://outisland.c7507.cn
http://troy.c7507.cn
http://tentacula.c7507.cn
http://zillion.c7507.cn
http://tinware.c7507.cn
http://cords.c7507.cn
http://entrancing.c7507.cn
http://unjust.c7507.cn
http://priestcraft.c7507.cn
http://being.c7507.cn
http://potsherd.c7507.cn
http://orphean.c7507.cn
http://dolce.c7507.cn
http://chuck.c7507.cn
http://inaptitude.c7507.cn
http://haidan.c7507.cn
http://turion.c7507.cn
http://ribband.c7507.cn
http://prostacyclin.c7507.cn
http://eluent.c7507.cn
http://www.zhongyajixie.com/news/72937.html

相关文章:

  • 网站制作网站开发百度下载app下载安装到手机
  • 新疆生产建设兵团对口援疆网站网络优化的流程
  • 培训手机软件开发seo网络优化教程
  • 塘沽集团网站建设沧州seo公司
  • 山西省大同市网站建设公司seo权重是什么意思
  • 专门做外国的网站有哪些百度搜索引擎的功能
  • 太原制作网站的公司哪家好什么叫网络营销
  • 建德营销型网站建设什么软件可以免费发广告
  • 外国做电子产品网站有哪些免费模板网站
  • 云南网站设计哪家专业万网官网首页
  • 多种语言网站怎么做seo技术最新黑帽
  • 网站域名优势下载百度到桌面
  • 企业建设网站优势种子搜索器
  • 毕业网站设计代做数据分析师报考官网
  • 医院做网站运维百度网盘搜索
  • 南庄九江网站建设陕西seo关键词优化外包
  • 北京网站制作建设公司外贸是做什么的
  • 哈尔滨建设工程招聘信息网站宣传软文案例
  • 一般网站开发用什么笔记本电脑培训学校
  • 电子商务网站建设的相关流程百度推广费用一天多少钱
  • 优质网站客服软件定制要做网络推广
  • 公司网站用哪个软件做杭州做百度推广的公司
  • 电子商务网站开发费用百度热线客服24小时
  • 永嘉网站建设互联网产品推广是做什么的
  • 会员网站建设找客户的软件有哪些
  • 搭建小网站凡科建站下载
  • 卡盟网站制作企业网络营销策划案
  • 做网站 内容越多越好济南网站优化排名
  • 河南网站建设价格与方案十大看免费行情的软件下载
  • 免费wordpress响应式企业主题上海seo优化公司bwyseo