revert r11058, unnecessary because of the check near the bottom of the file
git-svn-id: file:///home/svn/framework3/trunk@11097 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
75873aedb4
commit
1a07889c53
|
@ -8,12 +8,6 @@ opts = Rex::Parser::Arguments.new(
|
|||
"-p" => [ true, "The SMB port used to associated credentials."]
|
||||
)
|
||||
|
||||
os = client.sys.config.sysinfo["OS"].downcase
|
||||
unless (os =~ /win/)
|
||||
print_error("Not a windows system")
|
||||
raise Rex::Script::Completed
|
||||
end
|
||||
|
||||
smb_port = 445
|
||||
|
||||
opts.parse(args) { |opt, idx, val|
|
||||
|
|
Loading…
Reference in New Issue