当前位置:网站首页>BUUCTF--reverse2
BUUCTF--reverse2
2022-06-29 09:26:00 【X.IO】
reverse2
1预处理
获得信息
64位文件
2.拖进IDA64,shift+F12
可以直接看到flag,可是这不是最终的flag,双击跟进
然后F5找到伪代码
分析伪代码,找到关键的函数
for ( i = 0; i <= strlen(&flag); ++i )
{
if ( *(&flag + i) == 105 || *(&flag + i) == 114 )
*(&flag + i) = 49;
}
注意:这里的105、114、49都是ASCII码,参考ASCII码表可知
105表示i 114表示r 49表示1
所以最终的flag是把flag中的i和r替换成1.
flag{hack1ng_fo1_fun}
边栏推荐
- Six dimensional space BFS
- 1146 Topological Order (25 分)
- std::make_shared<T>/std::make_unique<T>与std::shared_ptr<T>/std::unique_ptr<T>的区别与联系
- 1098 Insertion or Heap Sort (25 分)
- Ural1517 freedom of choice [suffix array: longest common continuous substring]
- 子串分值-超详细版——最后的编程挑战
- L2-026 small generation (25 points)
- Win32Exception (0x80004005): 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。
- Codeforces Round #645 (Div. 2)
- L2-3 is this a binary search tree- The explanation is wonderful
猜你喜欢

CLR via C reading notes - single instance application

Codeforces Round #645 (Div. 2)

Solve the problem that zxing's QR code contains Chinese garbled code

Win32Exception (0x80004005): 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。

Nacos environmental isolation

指针数组、数组指针和传参的相关问题

PGP在加密技术中的应用

Seaweedfs security configuration

Sixteen system counter and flow lamp

MySQL innodb每行数据长度的限制
随机推荐
Codeforces Round #652 (Div. 2)
2021年团体程序设计天梯赛-模拟赛
I would like to know how to open an account for free online stock registration? In addition, is it safe to open a mobile account?
2021 team programming ladder competition - Simulation Competition
Analysis on the specific execution process of an insert statement in MySQL 8.0 (3)
std::unique_ PTR < T> and boost:: scoped_ Particularity of PTR < t >
manacher
Slide the custom control to close the activity control
L1-009 sum of N numbers (20 points)
Devaxpress double click to get cell data
Add/modify/drop column of alter table operation in MySQL
If [not] exists in MySQL
Virtual machine port scanning
通过Win32API调用另一界面的按钮
Recyclerview sticky (suspended) head
2019.11.20 training summary
Recurrence of vulnerability analysis for Cisco ASA, FTD and hyperflex HX
To 3 --- 最后的编程挑战
Use of Azkaban in task scheduler
PGP在加密技术中的应用