Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions lib/msf/core/exploit/remote/ftp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def initialize(info = {})
register_autofilter_ports([ 21, 2121])
register_autofilter_services(%W{ ftp })

@ftpbuff = ""
@ftpbuff = String.new

end

Expand Down Expand Up @@ -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)
Expand Down