msfvomon - arguments are not case sensitive

Kind of a dirty hack....
unstable
g0tmi1k 2013-06-26 16:35:22 +01:00
parent 2b2ded3d83
commit 7ab92993f7
1 changed files with 1 additions and 2 deletions

View File

@ -128,7 +128,7 @@ def parse_args
if args
args.each do |x|
k,v = x.split('=', 2)
datastore[k] = v.to_s
datastore[k.upcase] = v.to_s
end
end
@ -299,7 +299,6 @@ if opts[:payload]
end
end
# Normalize the options
opts[:platform] = Msf::Module::PlatformList.transform(opts[:platform]) if opts[:platform]
opts[:badchars] = Rex::Text.hex_to_raw(opts[:badchars]) if opts[:badchars]