Asked the same question a few years ago (OpenVAS I think it was), and there
was no easy way. I ended up changing some code in order to get a
workaround, but wasn't good enough. This link was in the thread
http://lists.wald.intevation.org/pipermail/openvas-devel/2010-June/002268.html

2016-08-07 20:19 GMT+01:00 Reindl Harald <[email protected]>:

>
>
> Am 07.08.2016 um 21:16 schrieb Eero Volotinen:
>
>> You cannot do this.
>>
>
> and after years i still don't understand that stupidity reslove hostnames
> to IPs at that level instead just send the correct host header to the
> webserver
>
> all the possible config hacks don't scale if you host a ton of domains and
> want just have a web application security scan with nothing else on them
>
> 7.8.2016 9.38 ip. "TN TN" <[email protected] <mailto:[email protected]>>
>> kirjoitti:
>>
>>     Hi all,
>>
>>     When I attempt to scan by hostname (myhostname.com
>>     <http://myhostname.com>), the scanner always scans by IP address? I
>>     can see the task by going on the scanner and doing a ps -ef | grep
>>     openvas and it shows me it's scanning the IP address. Does anyone
>>     know how I can get the scanner to scan the hostname instead of the
>>     IP? Thanks - T
>>
>
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>



-- 
Pavlik Salles Juan José
Blog - http://viviendolared.blogspot.com
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to