Skip to content

python插桩 #245

Answered by jinghao1
xzhdream asked this question in Q&A
Sep 23, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

重写os.open,增加hook方法,捕捉入参出参,应用中调用open方法的时候,就能拿到参数,进而构造调用链;理念谈不上,这是最基础的原则,在用户调用危险方法之前,重写需要调用的危险方法,捕捉参数

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@xzhdream
Comment options

@jinghao1
Comment options

@xzhdream
Comment options

@jinghao1
Comment options

@jinghao1
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants