We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1221a20 commit 60bc279Copy full SHA for 60bc279
lib/msf/core/db_manager/host.rb
@@ -175,14 +175,14 @@ def report_host(opts)
175
if opts[:info]
176
opts[:info] = opts[:info][0,65535]
177
end
178
-
+
179
# Truncate the name field at the maximum field length
180
if opts[:name].blank?
181
opts[:name] = addr
182
else
183
opts[:name] = opts[:name][0,255]
184
185
186
if opts[:os_name]
187
os_name, os_flavor = split_windows_os_name(opts[:os_name])
188
opts[:os_name] = os_name if os_name.present?
0 commit comments