tenable / Posh-Nessus

PowerShell Module for automating Tenable Nessus Vulnerability Scanner.
BSD 3-Clause "New" or "Revised" License
88 stars 36 forks source link

Input password in New-NessusSession command #5

Closed Omni-NSF closed 8 years ago

Omni-NSF commented 8 years ago

Is there a way to also input a password along with the username in the New-NessusSession without having to input it in the authentication box?

darkoperator commented 8 years ago

You can create a PSCredential object and pass that

On Nov 18, 2015, at 12:39 PM, Omni-NSF notifications@github.com wrote:

Is there a way to also input a password along with the username in the New-NessusSession without having to input it in the authentication box?

— Reply to this email directly or view it on GitHub https://github.com/tenable/Posh-Nessus/issues/5.

darkoperator commented 8 years ago

http://www.adminarsenal.com/admin-arsenal-blog/secure-password-with-powershell-encrypting-credentials-part-1

On Nov 18, 2015, at 12:39 PM, Omni-NSF notifications@github.com wrote:

Is there a way to also input a password along with the username in the New-NessusSession without having to input it in the authentication box?

— Reply to this email directly or view it on GitHub https://github.com/tenable/Posh-Nessus/issues/5.