编译错误:流浪'\\ 302'程序等 [英] Compilation error: stray ‘\302’ in program etc

查看:166
本文介绍了编译错误:流浪'\\ 302'程序等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有问题,编译随后利用code:

I am having problem compiling the followed exploit code:

<一个href=\"http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c\">http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c

我使用:GCC file.c中和的gcc -O2 file.c中,但他们都得到了以下错误:

I am using: "gcc file.c" and "gcc -O2 file.c" but both of them gets the following errors:

 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.)

我试图编译他们的Linux卡利和Ubuntu 10.04和都得到同样的结果。

I tried compiling them on both Kali linux and Ubuntu 10.04 and get the same result.

推荐答案

您有该线路上的无效字符。这是我所看到的:

You have an invalid character on that line. This is what I saw:

这篇关于编译错误:流浪'\\ 302'程序等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆