Gsub out funny character when storing to database

bug/bundler_fix
Meatballs 2014-12-13 18:35:31 +00:00
parent 316710329b
commit e914061745
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class Metasploit3 < Msf::Post
report[:name] = dns
hostnames << dns
when 'operatingSystem'
report[:os_name] = field
report[:os_name] = field.gsub("\xAE",'')
when 'distinguishedName'
if field =~ /Domain Controllers/i
# TODO: Find another way to mark a host as being a domain controller