Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
898 B

  1. *
  2. * File name: rc4.s
  3. *
  4. * Author: Larry Zhu (LZhu) May 1, 2001
  5. *
  6. * How to use: type "$<\\foo\bar\rc4.s" in kd/ntsd/windbg
  7. *
  8. * bp Secur32!MakeSignature "kb1;dd @esp l6;!sbd -v (poi (@esp+c));g"
  9. * bp Secur32!VerifySignature "kb1;dd @esp l6;!sbd -v (poi (@esp+8));g"
  10. *
  11. bp SECURITY!MakeSignature "kb1;dd @esp l6;dd poi (@esp+c) l3;dd poi (poi (@esp+c)+8) lf;db poi ((poi (poi (@esp+c)+8))+8) l10;db poi ((poi (poi (@esp+c)+8))+8+c) l10;db poi ((poi (poi (@esp+c)+8))+8+c+c) l10;db poi ((poi (poi (@esp+c)+8))+8+c+c+c) l10;db poi ((poi (poi (@esp+c)+8))+8+c+c+c+c) l10;g"
  12. bp SECURITY!VerifySignature "kb1;dd @esp l6;dd poi (@esp+8) l3;dd poi (poi (@esp+8)+8) lf;db poi ((poi (poi (@esp+8)+8))+8) l10;db poi ((poi (poi (@esp+8)+8))+8+c) l10;db poi ((poi (poi (@esp+8)+8))+8+c+c) l10;db poi ((poi (poi (@esp+8)+8))+8+c+c+c) l10;db poi ((poi (poi (@esp+8)+8))+8+c+c+c+c) l10;g"