Buenas. He intentado compilar un exploit desde linux y me salen los siguientes errores:
root@bt:~# gcc 1.c
1.c:1:2: error: invalid preprocessing directive #!
1.c:4:3: error: invalid preprocessing directive #$Id
1.c:6:3: error: invalid preprocessing directive #raptor_sshtime
1.c:7:3: error: invalid preprocessing directive #Copyright
1.c:9:3: error: invalid preprocessing directive #OpenSSH
1.c:10:3: error: invalid preprocessing directive #sends
1.c:11:3: error: invalid preprocessing directive #attackers
1.c:13:3: error: invalid preprocessing directive #OpenSSH
1.c:14:3: error: invalid preprocessing directive #and
1.c:15:3: error: invalid preprocessing directive #determine
1.c:16:3: error: invalid preprocessing directive #longer
1.c:17:3: error: invalid preprocessing directive #NOTE
1.c:18:3: error: invalid preprocessing directive #manually
1.c:19:3: error: invalid preprocessing directive #an
1.c:21:3: error: invalid preprocessing directive #This
1.c:22:3: error: invalid preprocessing directive #timing
1.c:23:3: error: invalid preprocessing directive #version
1.c:25:3: error: invalid preprocessing directive #Usage
1.c:26:3: error: invalid preprocessing directive #[
1.c:27:3: error: invalid preprocessing directive #.
1.c:30:3: error: invalid preprocessing directive #Some
1.c:31: warning: data definition has no type or storage class
1.c:33:3: error: invalid preprocessing directive #Command
1.c:34: error: expected ',' or ';' before 'host'
1.c:37:3: error: invalid preprocessing directive #Local
1.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'foot'
1.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usage'
1.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notfound'
1.c:66:3: error: invalid preprocessing directive #Check
1.c:67: warning: data definition has no type or storage class
1.c:67: error: stray '`' in program
1.c:67: error: 'which' undeclared here (not in a function)
1.c:67: error: expected ',' or ';' before 'expect'
1.c:67: error: stray '`' in program
1.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notfound'
1.c:72:3: error: invalid preprocessing directive #Input
1.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usage'
1.c:77:3: error: invalid preprocessing directive #Perform
1.c:80: error: stray '`' in program
1.c:80: error: stray '`' in program
El exploit en sí en este:
http://downloads.securityfocus.com/vulnerabilities/exploits/OpenSSH_sshtime_rexp.sh¿Qué debo retocar para que pueda compilarse?