lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
From: jho at starhub.com (Julian HO Thean Swee)
Subject: [ http://www.k-otik.com/exploits/07.21.win2kdos.c.php ]

Hi all,
Pardon my ignorance but i am trying to find out if the proof of concept code
from k-otik is something for my organization to worry about (by proving to
my supervisor).  When i tried to compile the .c code, it gave me the
following errors.  Can anyone tell me what i need to do or modify to compile
the 07.21.win2kdos.c successfully?  Thanks for bearing with a *nix newbie!

gcc -o test test.c
test.c:1: parse error before "dcom_recv"
test.c: In function `dcom_recv':
test.c:3: `local_var' undeclared (first use in this function)
test.c:3: (Each undeclared identifier is reported only once
test.c:3: for each function it appears in.)
test.c:3: parse error before "buf"
test.c:5: `buf' undeclared (first use in this function)
test.c:5: parse error before ':' token
test.c:6: `NULL' undeclared (first use in this function)
test.c:8: `len' undeclared (first use in this function)
test.c:10: parse error before ':' token
test.c: At top level:
test.c:15: warning: data definition has no type or storage class
test.c:16: parse error before "if"
test.c: In function `hex2raw':
test.c:26: `local_var' undeclared (first use in this function)
test.c:26: parse error before "i"
test.c:28: `i' undeclared (first use in this function)
test.c:28: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
test.c:28: parse error before ')' token
test.c:35: `j' undeclared (first use in this function)
test.c:37: parse error before "int"
test.c:37: warning: declaration of `s' shadows a parameter
test.c:38: parse error before "else"
test.c:40: `ret' undeclared (first use in this function)
test.c: At top level:
test.c:42: parse error before "return"
test.c: In function `check':
test.c:47: `local_var' undeclared (first use in this function)
test.c:47: parse error before "soc"
test.c:50: `soc' undeclared (first use in this function)
test.c:53: `bindstr' undeclared (first use in this function)
test.c:54:1: warning: multi-line string literals are deprecated
test.c:56: `socket' undeclared (first use in this function)
test.c:56: parse error before ':' token
test.c:57: `r' undeclared (first use in this function)
test.c:57: parse error before ':' token
test.c:60: parse error before ':' token
test.c:61: parse error before ':' token
test.c:62: `NULL' undeclared (first use in this function)
test.c:65: `error_code' undeclared (first use in this function)
test.c: At top level:
test.c:69: parse error before "check2"
test.c: In function `check2':
test.c:71: `local_var' undeclared (first use in this function)
test.c:71: parse error before "soc"
test.c:74: `soc' undeclared (first use in this function)
test.c:77: `bindstr' undeclared (first use in this function)
test.c:78:1: warning: multi-line string literals are deprecated
test.c:80: `socket' undeclared (first use in this function)
test.c:80: parse error before ':' token
test.c:81: `r' undeclared (first use in this function)
test.c:81: parse error before ':' token
test.c:84: parse error before ':' token
test.c:85: parse error before ':' token
test.c:86: `NULL' undeclared (first use in this function)
test.c:89: `error_code' undeclared (first use in this function)
test.c:94:1: warning: multi-line string literals are deprecated
test.c: At top level:
test.c:94: warning: initialization makes integer from pointer without a cast
test.c:94: warning: data definition has no type or storage class
test.c:96: `soc' used prior to declaration
test.c:96: initializer element is not constant
test.c:96: warning: data definition has no type or storage class
test.c:97: parse error before "if"
test.c:98: parse error before ':' token
test.c:99: `socket' undeclared here (not in a function)
test.c:99: parse error before ':' token
test.c:100: warning: parameter names (without types) in function declaration
test.c:100: warning: data definition has no type or storage class
test.c:101: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
test.c:101: initializer element is not constant
test.c:101: warning: data definition has no type or storage class
test.c:102: initializer element is not constant
test.c:102: warning: data definition has no type or storage class
test.c:104: parse error before "if"
test.c:106: warning: initialization makes integer from pointer without a
cast
test.c:106: warning: data definition has no type or storage class
test.c:107: warning: initialization makes integer from pointer without a
cast
test.c:107: warning: data definition has no type or storage class
test.c:108: warning: initialization makes integer from pointer without a
cast
test.c:108: warning: data definition has no type or storage class
test.c:112:1: warning: multi-line string literals are deprecated
test.c:112: warning: initialization makes integer from pointer without a
cast
test.c:112: warning: data definition has no type or storage class
test.c:140:1: warning: multi-line string literals are deprecated
test.c:140: warning: initialization makes integer from pointer without a
cast
test.c:140: warning: data definition has no type or storage class
test.c:169:1: warning: multi-line string literals are deprecated
test.c:169: warning: initialization makes integer from pointer without a
cast
test.c:169: warning: data definition has no type or storage class
test.c:173:1: warning: multi-line string literals are deprecated
test.c:173: warning: initialization makes integer from pointer without a
cast
test.c:173: warning: data definition has no type or storage class
test.c:179: `req' undeclared here (not in a function)
test.c:179: parse error before ':' token
test.c:180: `req' undeclared here (not in a function)
test.c:180: parse error before ':' token
test.c:185: syntax error at '#' token
test.c:186: warning: parameter names (without types) in function declaration
test.c:186: warning: data definition has no type or storage class
test.c:187: parse error before '}' token


This email is confidential and privileged.  If you are not the intended
recipient, you must not view, disseminate, use or copy this email. Kindly
notify the sender immediately, and delete this email from your system. Thank
you.

Please visit our website at www.starhub.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20030912/e5ec60cc/attachment.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ