[WUSTCTF2020]Cr0ssfun查壳64位ELF文件
反编译
分析可以知道将V4转化为64位整数类型,进入check函数,check函数的返回值被转化为unsigned int 类,如果返回值为1,输出Your flag is correct, go and submit it!
跟进check函数
继续跟进就ok了
按照下标将他们组合起来就得到flagctf2020{cpp_@nd_r3verse_@re_fun}
脚本感觉我做的好麻烦,去网上看看,同样很麻烦,顺了个没啥用的脚本
123456789101112131415161718192021
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo ser