|
|||||||||||
|
RE: NSLOOKUP.EXE
From: Brett Moore <brett(at)softwarecreations.co.nz>
Date: Thu Mar 20 2003 - 18:56:57 EST
To do it from the command prompt. you must echo to a file and then redirect.
ie:
where foo contains the long string ending with a <CR>.
Because this is read error, it may be possible to insert valid values to
read
Longer strings overflow a strcpy or multibytetowide copy and result in a
write error
nslookup ver 5.0.2195.4985 Brett
-----Original Message-----
Patrick Webster wrote:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA > AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA If you have to manually type all the A's, then probably not. Maybe if someone did something silly like make a CGI script that calls nslookup.exe directly with user input. What OS are you testing on? It looks like it's fixed in XP:
C:\winxp\system32>nslookup
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA*** Input is too long > BB Received on Fri Mar 21 13:26:20 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:38 EDT |
||||||||||
|
|||||||||||