mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
msfvomon - arguments are not case sensitive
Kind of a dirty hack....
This commit is contained in:
parent
2b2ded3d83
commit
7ab92993f7
3
msfvenom
3
msfvenom
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user