Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Panic on invalid EPSV response #451

@czoIg

Description

@czoIg

Describe the bug
IF the FTP server responds with missing last pipe, there will be panic: runtime error: slice bounds out of range [35:34]

To Reproduce
The FTP server need to respond with:

Entering Extended Passive Mode (|||4242)

Expected behavior
No error and fallback to PASV

FTP server

  • Private FTP server

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectThe code does not work as intended

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions