How can I get the hostname of the scan target

赵永胜 <[email protected]>
Newsgroups gmane.comp.security.nessus.general
Message-ID <47444403B9074B19B7B93E256ED71B08@d9990aabf225455>
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"/>

thanks in advance!

_______________________________________________
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.