forked from fclairamb/ftpserverlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for calculating the hash value of files (fclairamb#196)
* add support for calculating the hash value of files We implement the following custom FTP commands: - XCRC (requests CRC32 digest/checksum) - MD5/XMD5 (requests MD5 digest/checksum) - XSHA/XSHA1 (requests SHA1 digest/checksum) - XSHA256 (requests SHA256 digest/checksum) - XSHA512 (requests SHA512 digest/checksum) and we also support the more modern HASH command https://tools.ietf.org/html/draft-bryan-ftpext-hash-02 * move hash method from handle_misc to handle_files * properly order hash command inside commandsMap * add an optional hasher extension * fix lint issues
- Loading branch information
Showing
8 changed files
with
551 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.