首页
社区
课程
招聘
未解决 x64dbg中的脚本有几句不明白,希望给个实例
发表于: 2021-3-15 17:15 3966

未解决 x64dbg中的脚本有几句不明白,希望给个实例

2021-3-15 17:15
3966

call

A call works exactly the same as an uncondentional branch, but it places it’s address on the script stack.

arguments

arg1 The label to jump to.

result

This command does not set any result variables.

难道 这个就等价于下面 的定义标签

bc

bphwc



//Find the OEP

find CIP, E91B33FFFF// Signature of OEP jump

cmp $result, 0 // Check for success

je error // Error otherwise

bp $result // Set a breakpoint on the jump

run

st

sti // Take jump to OEP

bc // Clear Breakpoints

ret



error:====>难道就相等于这里?

msg "Could not find the OEP."

ret

和下面的两个命令,又是何解? 关键来个使用的对应的实例

error

Show an error message and terminate the script.

arguments

arg1 The error message to show.

result

This command does not set any result variables.




invalid

Invalid command to throw an error message. This command will halt the script execution.

arguments

This command has no arguments.

result

This command does not set any result variables.

别告诉我,你看过这些:https://github.com/x64dbg/scripts 无法对号也是无用。


[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

最后于 2021-3-15 17:18 被ninebell编辑 ,原因:
收藏
免费 0
支持
分享
最新回复 (3)
雪    币: 8599
活跃值: (5065)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
2
call 相当于函数调用,完了会返回调用处。
jmp 则不会。
2021-3-15 20:06
0
雪    币: 34577
活跃值: (7135)
能力值: ( LV3,RANK:20 )
在线值:
发帖
回帖
粉丝
3
sunsjw call 相当于函数调用,完了会返回调用处。 jmp 则不会。
我不是不明白这个汇编语句的含义。从2千年就开始玩破解。。
我是实在不明白call   error   invalid   在x64dbg脚本中怎么使用?
求对应的实例!
2021-3-15 20:40
0
雪    币: 967
活跃值: (1138)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
4

人家的英文描述很清楚了啊

error 会直接结束脚本,invalid 只是会卡死在那一行,给你二个例子,自己测试一下吧

error abc
invalid abc


2021-3-15 21:29
0
游客
登录 | 注册 方可回帖
返回
//