1
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:
HD Moore 2012-01-28 23:33:26 -06:00
parent 774862508e
commit dda3453ac7
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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