gpt4 book ai didi

编译错误 : stray ‘\302’ in program, 等

转载 作者:太空狗 更新时间:2023-10-29 16:22:35 26 4
gpt4 key购买 nike

我在编译以下漏洞利用代码时遇到问题:

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

我正在使用 "gcc file.c""gcc -O2 file.c",但它们都会导致以下错误:

sorbolinux-exec.c: In function ‘sc’:
sorbolinux-exec.c:76: error: stray ‘\302’ in program
sorbolinux-exec.c:76: error: stray ‘\244’ in program
sorbolinux-exec.c:76: error: ‘t’ undeclared (first use in this function)
sorbolinux-exec.c:76: error: (Each undeclared identifier is reported only once
sorbolinux-exec.c:76: error: for each function it appears in.)

我尝试在 Kali Linux 上编译它们和 Ubuntu 10.04 (Lucid Lynx) 并得到相同的结果。

最佳答案

您在该行中有一个无效字符。这是我看到的:

enter image description here

关于编译错误 : stray ‘\302’ in program, 等,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19198332/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com