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.
2 parents 5316e0f + c3e91c2 commit 6c71ae7Copy full SHA for 6c71ae7
plugins/nessus.rb
@@ -232,10 +232,10 @@ def cmd_nessus_connect(*args)
232
if !args[0]
233
if File.exist?(nessus_yaml)
234
lconfig = YAML.load_file(nessus_yaml)
235
- @user = lconfig['default']['username']
236
- @pass = lconfig['default']['password']
237
- @host = lconfig['default']['server']
238
- @port = lconfig['default']['port']
+ @user = lconfig['default']['username'].to_s
+ @pass = lconfig['default']['password'].to_s
+ @host = lconfig['default']['server'].to_s
+ @port = lconfig['default']['port'].to_s
239
nessus_login
240
return
241
else
0 commit comments