How to do it...

Perform the following steps:

  1. Download a program called AntServer. It has a lot of public exploits available, and we will try to build our own exploit for it.
  2. Install it on the Windows XP SP2 machine that we used in the previous recipe (Exploiting buffer overflows on real software).
  3. AntServer had a vulnerability that can be triggered by sending a long USV request to the AntServer running on port 6600:
  1. Run AntServer by opening the software and navigating to Server | Run Service Control...:
  1. Write a simple Python script that ...

Get Kali Linux - An Ethical Hacker's Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.