I have a question regarding a few NASL functions that are limited to use the target/host IP/FQDN only during their execution.
I am trying to develop a NASL VT that will run a few tests on the localhost.
However functions like open_sock_tcp() and http_req() can only target the target/host, or at least I cannot find a way to change that. I would like to mention that I want this script to run against localhost regardless the actual target/host that has been configured.
Is there anything I could do to use the aforementioned functions with IP: 127.0.0.1?
Thank you for your help in advance.