Re: How can I get the hostname of the scan target

"Renaud Deraison (lists)" <[email protected]>
Newsgroups gmane.comp.security.nessus.general
Message-ID <[email protected]>
On Apr 28, 2008, at 11:11 AM, 赵永胜 wrote:

> when I started scanning via this command:
> nessus -qx -c nessurc localhost 1241 user pwd targets result.xml
>
> every time I find that the content of all host nodes in the  
> result.xml file are like this:
>
> <host name="192.168.2.161" ip="192.168.2.161"/>
>
> if the the host's name is "abc", what can I do if I want to get it  
> when scanning? just like the following:
>
> <host name="abc" ip="192.168.2.161"/>

Unfortunately, this does not work.

Also note that this XML format is deprecated and you are encouraged to  
use the .nessus format, described at :

http://www.nessus.org/documentation/dot_nessus_file_format.pdf



				-- Renaud

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.