This adds the RubySMB::Server::Cli module with the code necessary to start a server from the command line interface. It consolidates all the duplicate options in the examples and will make it easy to add and smb server tool to metasploit in the future without a ton of duplicated code.
Testing
[ ] Run examples/file_server.rb with various options and configurations, see it start and honor the settings specified on the command line
[ ] Do the same thing for examples/virtual_file_server.rb
This adds the
RubySMB::Server::Cli
module with the code necessary to start a server from the command line interface. It consolidates all the duplicate options in the examples and will make it easy to add and smb server tool to metasploit in the future without a ton of duplicated code.Testing
examples/file_server.rb
with various options and configurations, see it start and honor the settings specified on the command lineexamples/virtual_file_server.rb