Basically u can write a simple plugin to execute a ssh command using the
fucntion, 'ssh_cmd' exists in ssh_func.inc. And execute the necessary
commands depending on what you are looking.

For the function usage look into the plugin, ssh_get_info.nasl

Commands listed below can be used to get the information which you had asked
for.

hostname

/sbin/ifconfig -a

 ipconfig all

netsh diag show os /v

systeminfo

psinfo -h


On 10/18/07, Andrew Court <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> Sorry if this has been asked before but I could not find it elsewhere. You
> can find various information by having nessus log into a machine and search
> the registry for certain keys. Does anyone know is it possible to obtain the
> following information from an existing plugin? If not, would it be easy
> enough to modify a plugin to check for these items?
>
> 1. hostname - I know this can be gotten from the SMB share, but it would
> be nice to get the details in one report
> 2. List of Network cards, their Mac address, and any IP/mask assigned
> 3. Routing table
> 4. Hardware spec - Make, model, cpu size, memory size etc
> 5. Disk size, partitioning, and RAID number
>
> I know these things should be gotten from a network inventory, but I have
> been asked could nessus do these checks.
>
> Thank in advance,
>
> Andrew Court
>
> IT Security Specialist | BT Retail - Ireland |
> E:[EMAIL PROTECTED] |Mobile: +353 86 1720 692 | Fax: +353 1 432 5899| *
> www.btireland.com*
>
>
> _______________________________________________
> Nessus mailing list
> [email protected]
> http://mail.nessus.org/mailman/listinfo/nessus
>



-- 
Thanks,
Pavithra.H
Research Analyst, Thirdbrigade Labs
Bangalore
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to