Skip to content

attack lab第三题是直接修改了strncmp的参数吧 #6

Closed
@ijpq

Description

@ijpq

直接将strncmp的第二个参数sval修改为我们的cookie
使得匹配成功
对把


哦 , 这个hexmatch已经默认将两个待匹配的字符串设置为相等的直了
中间用sprintf把s改为hex
所以只需要把cookie的hex给rdi,rdi会给rsi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions