mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
Correct a typo
This commit is contained in:
parent
774862508e
commit
dda3453ac7
@ -174,8 +174,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
when /^NR(........................)(........)/
|
||||
name = $1.dup
|
||||
caps = $2.dup
|
||||
name = gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
caps = gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
name = name.gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
caps = caps.gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
data[:name] = name
|
||||
data[:caps] = caps
|
||||
|
||||
|
@ -207,8 +207,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
when /^NR(........................)(........)/
|
||||
name = $1.dup
|
||||
caps = $2.dup
|
||||
name = gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
caps = gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
name = name.gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
caps = caps.gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
data[:name] = name
|
||||
data[:caps] = caps
|
||||
|
||||
|
@ -143,8 +143,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
name = $1.dup
|
||||
caps = $2.dup
|
||||
|
||||
name = gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
caps = gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
name = name.gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
caps = caps.gsub(/_+$/, '').gsub("\x00", '').strip
|
||||
|
||||
@results[addr] ||= {}
|
||||
@results[addr][:name] = name
|
||||
|
Loading…
Reference in New Issue
Block a user