FTP icon indicating copy to clipboard operation
FTP copied to clipboard

Implementation of a simple FTP client and server

Results 6 FTP issues
Sort by recently updated
recently updated
newest added

By using the cd .. command, an attacker can traverse to the root directory, and from there into any directory the FTP server has read access to. By combining this...

You `malloc`ate a chunk for each request but don't free it. See below: ``` struct packet* data = (struct packet*) malloc(size_packet); ``` It never `free`s it though.

在命令字符串解析函数中,struct command* userinputtocommand(char s[LENUSERINPUT]),for语句语法错误!这个错编译器不会报错,找了好久终于找到了。 另:我把它改了改,可以在win下运行啦

# How to reproduce 1. Compile using `make` 2. Start the server: `./bin/server/server_ftp.out` 3. Start the client: `./bin/client/client_ftp.out` 4. Type command on the client side 4.1 First list the existing...

# How to reproduce Using the prepared patch file [reproduce.patch](https://github.com/rovinbhandari/FTP/files/10328866/reproduce.patch) for better illustration. ```sh patch -p1 < reproduce.patch ``` Compile ```sh make ``` Start the server ```sh ./bin/server/server_ftp.out ``` Start...