Update nessus.rb

This commit is contained in:
Ronni3X
2022-05-11 19:56:32 -04:00
committed by GitHub
parent 0a2293f20b
commit 83bfc73e09
+1 -1
View File
@@ -348,7 +348,7 @@ module Msf
case args.length
when 1,2
if args[0].include? "@"
cred,doesnotmatter,targ = args[0].rpartition('@')
cred, _split, targ = args[0].rpartition('@')
@user,@pass = cred.split(':', 2)
targ ||= '127.0.0.1:8834'
@host,@port = targ.split(':', 2)