Maxonk
1
Hi guys,
I have a couple of questions regarding the credentials test before a scan and switching a user or using sudo. I’m running GSM 20.08
- Is there a way to test pre-configured credentials before running a scan?
- For Linux/SSH credentials can I somehow tell the system to run
sudo
commands or switch to a privileged user?
Thank you
bricks
2
GVM 21.04 has an experimental feature to use ssh credentials in conjunction with a username+password credential to elevate the permissions via su
. Take a look at https://docs.greenbone.net/GSM-Manual/gos-21.04/en/scanning.html?highlight=elevated#creating-a-target for the section elevate privileges.
4 Likes
Maxonk
3
Thanks! It’s very helpful.
Any options to test any of the credentials before running a scan?
cfi
4
There are currently no such options available in GVM to test credentials before running a scan.
1 Like