Comments (10)
Ok so, OpenVAS9 (version 7.0.3) on Ubuntu only use a socket file by default.
You need to explicitly update your OpenVAS Manager (not GSA) configuration to bind the default port (9390) and only that one
i.e. on Ubuntu, it's via /etc/default/openvas-manager:
LISTEN_ADDRESS="0.0.0.0"
PORT_NUMBER=9390
from archerysec.
which version of OpenVAS are you using?
from archerysec.
Hi
As I'm having the same error with a server using Ubuntu 16.04 and official deb packages:
ii openvas9 7.0.3-1 amd64 remote network security auditor - metapackage
ii openvas9-cli 1.4.5-1xenial amd64 remote network security auditor - cli
ii openvas9-gsa 7.0.3-1xenial2 amd64 remote network security auditor - web interface
ii openvas9-manager 7.0.3-1 amd64 remote network security auditor - manager
ii openvas9-scanner 5.1.2-1 amd64 remote network security auditor - scanner
from archerysec.
I guess you should update the configuration to point this configuration and also, allow the Archery admin to specify the TCP port to be used for each API (OpenVAS, ZAP, ...) to avoid this confusion
from archerysec.
Hi @faichelbaum,
Thanks for your feedback. Is it possible for you to update the README file and create a pull request?
I really appreciate your contribution to the project and I hope you would help us in the future too.
from archerysec.
@Xeyk the last PR that got merge will fix your issue:
- more explicit about the OpenVAS daemon
- possibility to change the TCP port
from archerysec.
Sorry about the late response, guys. I had to put this project on hold at work for a while.
@anandtiwarics - I am running openvas 9
@faichelbaum - It looks like I'm still getting the error after updating. Here is the latest message:
Scan Launched IP: 10.0.1.147 [05/Sep/2018 14:06:22] "POST /networkscanners/launch_scan/ HTTP/1.1" 200 14161 Exception in thread Thread-14: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 765, in run self.__target(*self.__args, **self.__kwargs) File "/home/nf3985/archerysec/networkscanners/views.py", line 178, in openvas_scanner scanner = openvas.connect() File "/home/nf3985/archerysec/scanners/scanner_plugin/network_scanner/openvas_plugin.py", line 59, in connect int(lod_ov_port)) File "/usr/lib/python2.7/site-packages/openvas_lib/__init__.py", line 511, in __init__ raise VulnscanServerError("Error while connecting to the server: %s" % e.message) VulnscanServerError: Error while connecting to the server: [Errno 111] Connection refused
Here's a pic of my openvas settings. I made new user through openvasmd called "archery" with admin rights. Openvas and Archery are running on the same server.
https://i.imgur.com/9lrOMqr.png
from archerysec.
Can you share your OpenVAS manager configuration (not the GSA one)
from archerysec.
@Xeyk Please use docker-compose. Updated docker-compose.yml file which would allow you to create a OpenVAS & ZAP scanner.
from archerysec.
Please help me. I don't know how do me:
I'm rewrite settings in file /etc/default/openvas-manager and openvasmd --rebuild
from archerysec.
Related Issues (20)
- run.sh file giving errors after restarting archerysec HOT 1
- Automate Jira ticket HOT 2
- Getting error when setting up an integration with Burp Suite Enterprise HOT 5
- AttributeError: Manager isn't available; 'auth.User' has been swapped for 'user_management.UserProfile
- Arachniscanner error HOT 1
- User of Organisation A can see scans/projects triggered by user in Organisation B HOT 1
- MultipleObjectsReturned at /pentest/add_vuln/
- checkmarx xml not fully supported.
- Error when upload gitlabSAST report
- ArcherySec v2.0.5 failed to connect OpenVAS HOT 1
- Please update the requirements.txt its throwing a lot of errors
- OpenVAS connector doesn't work and How to connect for using API
- Unable to select a new user's Organisation or Role, leading to user-creation failing
- Open VAS connector with archerysec HOT 1
- openvas and archerysec can't connect
- Is this project maintained ? HOT 2
- getting webpage error is ParseError at /webscanners/xml_upload while uploading zap report HOT 2
- Gitlab SAST scanner parser outdated
- Failed to get ZAProxy via Docker HOT 1
- Error in Running command in Docker file in project folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archerysec.