mpicard / pyvas

OpenVAS Management Protocol Client for Python
MIT License
23 stars 10 forks source link

Connect to omp client running on a different host on the network #21

Closed kounelios13 closed 6 years ago

kounelios13 commented 6 years ago

Hello.I am in an office in which we have a vm running OpenVas. My question is whether I can connect to the omp client running in that vm from a different machine.

I tried to use the following code

HOST='an ip address'
with Client(host=HOST,username='username',password='password') as cli:
    cli.list_tasks()

however I get a Connection timedout error(Errno 110).

Any ideas if that's possible? If it is I would appreciate a code snippet

ghost commented 6 years ago

Hello, you may find these docs from my fork of pyvas helpful (I'm hoping that this fork will get pulled in soon). It isn't that difficult to set up, but I found that the available documentation wasn't helpful, so I tried to document what worked for me, so others could benefit. Hope it helps you!

https://github.com/jal58/pyvas/blob/master/doc/omp-gsa.md https://github.com/jal58/pyvas/blob/master/doc/testing.md

mpicard commented 6 years ago

Closing for now due to inactivity