Hi,
Looks like you are trying it from command line, try
openvas-nasl -X --kb "Transports/TCP/443=3" --kb "Services/www=443" -tX
IP_ ADDRESS NVT_NAME.
and it should work from GSA without any changes.
Thanks,
Antu Sanadi
On Friday 05 May 2017 05:59 PM, margaus M. wrote:
*Hello Team,*
*
*
*I have a S7-1500 with a CP1543-1. I enabled the web server in the CPU
and configured it to be able to access through the CP and only via
HTTPS. I launched nmap and everything seems to be ok: only port 443 open.*
Imágenes integradas 1
*Now I try out with my NVT and it doesn't work for 443:*
include("http_func.inc");
include("http_keepalive.inc");
include("global_settings.inc");
url =
'/Portal/Portal.mwsl?intro_enter_button=ENTRAR&PriNav=Start&coming_from_intro=true';
req = http_get(item:url, port:443);
res = http_keepalive_send_recv(port:443, data:req);
display(res);
if ('Siemens'><res && 'CPU 15'><res) {
display ("Se ha detectado un PLC modelo S7-1500 de Siemens", "\n");
}
*
*
*
*
*
*
*Result:*
set key www/443/keepalive -> no
*I tried it with the explorer and it works.*
*
*
*I also tried it with port 80 (previously configured web server to be
able to connect via HTTP) and it works perfectly.
*
*
*
*
*
*Any idea?*
*
*
*Thank you*
_______________________________________________
Openvas-plugins mailing list
Openvas-plugins@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins
_______________________________________________
Openvas-plugins mailing list
Openvas-plugins@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins