Compilation error: stray ‘\302’ in program etc

后端 未结 13 2177
眼角桃花
眼角桃花 2020-12-01 14:03

I am having problem compiling the followed exploit code:

http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c

I am using: \"gcc file.c\" and

13条回答
  •  青春惊慌失措
    2020-12-01 14:36

    Codo was exactly right on Oct. 5 that ¤t[i] is the intended text (with the currency symbol inadvertently introduced when the source was put into HTML (see original): http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c

    Codo's change makes this exploit code compile without error. I did that and was able to use the exploit on Ubuntu 12.04 to escalate to root privilege.

提交回复
热议问题