I've been looking at playing with SPIKE but am running into a weird error.
I've removed the repeated errors for the sake of brevity. I've looked at the code and it seems fine in the area in question. The error/complaint about "missing terminating" character doesn't seem valid. (at least to my old eyes). The section in question is listed below:mittens@MsMittens:~/SPIKE/v2.8/src$ make
gcc -Wall -funsigned-char -c -fPIC -ggdb -I/usr/local/include -I../include -Ilibntlm-0.21/ spike_dcerpc.c
spike_dcerpc.c: In function `s_dce_unistring':
spike_dcerpc.c:289: warning: unused variable `i'
spike_dcerpc.c:640:12: missing terminating " character
spike_dcerpc.c: In function `s_smb_negotiate':
spike_dcerpc.c:641: error: parse error before numeric constant
spike_dcerpc.c:641:22: invalid suffix "D" on integer constant
spike_dcerpc.c:646:13: exponent has no digits
spike_dcerpc.c:646:25: invalid suffix "F" on integer constant
spike_dcerpc.c:646:31: invalid suffix "B" on integer constant
spike_dcerpc.c:647:19: invalid suffix "F" on integer constant
spike_dcerpc.c:647:31: invalid suffix "D" on integer constant
spike_dcerpc.c:648:16: exponent has no digits
spike_dcerpc.c:648:28: invalid suffix "D" on integer constant
...
<snip>
Code:This is the unsigned integer of i int s_dce_unistring(unsigned char *mystring) { unsigned int size; unsigned int size2; unsigned int i; size=strlen(mystring)+1; if (size > (unsigned int)0xffffffff-(unsigned int)12) printf("Warning, dce_wordstring() length overflowed!\n"); size2=size;Help?Code:missing terminating " { if(login != NULL && password != NULL) s_binary(" 00 00 00 89 FF 53 4D 42 72 00 00 00 00 18 01 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 00 66 00 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 52 41 4D 20 31 2E 30 00 02 4D 49 43 52 4F 53 4F 46 54 20 4E 45 54 57 4F 52 4B 53 20 31 2E 30 33 00 02 4D 49 43 52 4F 53 4F 46 54 20 4E 45 54 57 4F 52 4B 53 20 33 2e 30 00 02 4c 41 4e 4d 41 4e 31 2e 30 00 02 4c 4d 31 2e 32 58 30 30 32 00 02 53 61 6d 62 61 00"); else s_binary(" 00 00 00 a4 ff 53 4d 42 72 00 00 00 00 08 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 26 00 00 01 00 00 81 00 02 50 43 20 4e 45 54 57 4f 52 4b 20 50 52 4f 47 52 41 4d 20 31 2e 30 00 02 4d 49 43 52 4f 53 4f 46 54 20 4e 45 54 57 4f 52 4b 53 20 31 2e 30 33 00 02 4d 49 43 52 4f 53 4f 46 54 20 4e 45 54 57 4f 52 4b 53 20 33 2e 30 00 02 4c 41 4e 4d 41 4e 31 2e 30 00 02 4c 4d 31 2e 32 58 30 30 32 00 02 53 61 6d 62 61 00 02 4e 54 20 4c 41 4e 4d 41 4e 20 31 2e 30 00 02 4e 54 20 4c 4d 20 30 2e 31 32 00 ");