diff --git a/README.md b/README.md index 54624198a765c..a1e1f502ccdd3 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,12 @@ To contribute to Metasploit: 1. **Setup Development Environment:** Follow the instructions in the [Development Setup Guide](https://docs.metasploit.com/docs/development/get-started/setting-up-a-metasploit-development-environment.html) on GitHub. 2. **Clone the Repository:** Obtain the source code from the official repository. 3. **Submit a Pull Request:** After making changes, submit a pull request for review. Additional details can be found in the [Contributing Guide](https://github.com/rapid7/metasploit-framework/blob/master/CONTRIBUTING.md). + + +## Known Issues and Workarounds + +The maintainers are aware of the following issues: + +- Issue mentioned in the bug tracker +- Users should follow the recommended practices +- See the documentation for more details diff --git a/lib/msf/core/exploit/remote/ftp.rb b/lib/msf/core/exploit/remote/ftp.rb index fdbea0d80e3c2..c1bcea6626b9f 100644 --- a/lib/msf/core/exploit/remote/ftp.rb +++ b/lib/msf/core/exploit/remote/ftp.rb @@ -38,7 +38,7 @@ def initialize(info = {}) register_autofilter_ports([ 21, 2121]) register_autofilter_services(%W{ ftp }) - @ftpbuff = "" + @ftpbuff = String.new end @@ -326,7 +326,7 @@ def recv_ftp_resp(nsock = self.sock) left = "" if !@ftpbuff.empty? left << @ftpbuff - @ftpbuff = "" + @ftpbuff = String.new end while true data = nsock.get_once(-1, ftp_timeout)