Giter Club home page Giter Club logo

ftp's People

Contributors

beckysag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ftp's Issues

.auth can be retrieved by anonymous user

There are several issues with the login implementation.

  1. The auth file can be downloaded, in its entirety, by anyone
  2. The auth file stores passwords in plaintext for all users
  3. The anonymous user is enabled by default
  4. The anonymous user can download the auth file (see 1)

This means that an anonymous user, by default, can obtain and use cleartext administrator credentials for the FTP server.

Directory listing disclosure

The server writes directory listing results to a file tmp.txt, which is not deleted after use.

Exploitation case:
Target user target is browsing a directory and browsing around the system
Attacker, using anonymous user, waits for the target to run 'list'
Attacker uses get tmp.txt to download the directory listing and potentially learn sensitive details about the system
Target user target is unaware of attack.

code doesn't work.

first of all, I built a server through filezilla.
i tried to connect through this code, but it did not work properly.

Solution:
the char array in that code has size [512].

you shouldn't send them all.
must send only the input string.
in addition, "\r\n" must be added at the end of the command.

Original send code:
"USER MEEEE(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..............)"

Fix send code:
"USER MEEEE\r\n"

If you are still managing the repository, please edit it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.