On unix systems a socket is not necessarily bound to the TCP/IP stack. By default gvmd provides access to the data via GMP through a unix domain socket.
gvm-tools uses our python-gvmlibrary internally that provides a Python API on top of GMP. See https://python-gvm.readthedocs.io/ for the documentation.
Don’t take this as an offense but it seems you are trying something technically difficult without much experience in security, unix, python and GVM setup. You really should think about using some of our products. If you don’t get this thing right it will be a security nightmare.
That is completely true. But it is for education purposes, not for production use. I’am still in school and learning things. So buying one of the products doesn’t make much sense
I have a lot of programming experience (but no Python). Also learned yet much about security in school.
It should be possible to control the GreenBone applicance using PHP, right? Or is this even not (securely) possible?
That is kind of the goal of the project:
Control the scanner using an existing PHP application.