-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Please search the Wiki for a solution before posting a ticket. Use the “New Support Request” button to the right of the screen to submit a ticket for technical support.
Issue Type
- Bug Re port
Faraday version
Paste the output of the ./faraday.py --version command
Component Name
If you know where the problem lays indicate it:
WebGui/GTKGui/Plugin/Console/Continuous Scanning/Etc.
Steps to reproduce
Provide detailed steps on how the issue happened so we can try to reproduce it. If the issue is random, please provide as much information as possible.
I used $ wget https://raw.githubusercontent.com/infobyte/faraday/master/docker-compose.yaml
$ docker-compose up to set it up
Used the docker compose up to install faraday and run it, so when i run it and i get logs, i get this when i call http://X.X.X.X:5985/_api/v3/token from postman:
faraday_app | 2024-07-08T10:51:03+0000 - passlib.handlers.bcrypt - WARNING {Dummy-11} [pid:20] [bcrypt.py:622 - _load_backend_mixin()] (trapped) error reading bcrypt version
faraday_app | Traceback (most recent call last):
faraday_app | File "/usr/local/lib/python3.8/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
faraday_app | version = _bcrypt.about.version
faraday_app | AttributeError: module 'bcrypt' has no attribute 'about'
faraday_app | 2024-07-08T10:51:04+0000 - geventwebsocket.handler - INFO {Dummy-11} [pid:20] [handler.py:242 - log_request()] 106.51.64.181 - - [2024-07-08 10:51:04] "GET /_api/v3/token HTTP/1.1" 200 474 1.189582
and for http://X.X.X.X:5985/_api/v3/ws/Test/upload_report i get this:
faraday_app | 2024-07-08T10:51:26+0000 - faraday.server.api.modules.upload_reports - INFO {Dummy-11} [pid:20] [upload_reports.py:70 - file_upload()] Importing new plugin report in server...
faraday_app | 2024-07-08T10:51:27+0000 - geventwebsocket.handler - INFO {Dummy-11} [pid:20] [handler.py:242 - log_request()] 106.51.64.181 - - [2024-07-08 10:51:27] "POST /_api/v3/ws/Test/upload_report HTTP/1.1" 400 318 0.772049
no matter what authentication i try it doesnt work
in postman or terminal :
<title>400 Bad Request</title>Bad Request
The browser (or proxy) sent a request that this server could not understand.
When i try connecting using faraday-cli i keep getting connection refused error
OS
Provide information on your operating system. Example:
$ cat /etc/lsb-release
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"