Closed peprolinbot closed 4 years ago
Hi,
You con uninstall with apt remove faraday-server. The github package is more updated than the one called python-faraday (shipped by kali or parrotsec).
Feel free to send us any other issue!
But part of the problem is that i cant manage this package with the package manager.
It's posible that I had installed It vía GitHub and thats why It donts work?
How did you install via github, did you use the rpm ? or you just did a pip install faradaysec ?
If you used the rpm package, we check against python-faraday and we will not allow to install this version unless you uninstall the python-faraday
.
If you install it with setup.py install, it will be installed in your python environment (did you use virtualenv?).
Can you provide some error logs ?
I used setup.py with no venv. faraday-server.log:
2019-06-29 11:29:08,225 - faraday-server.faraday.start_server - WARNING {MainThread} [start_server.py:145 - check_alembic_version() ] You are using an unknown schema version. If you are a developer, this probably happened because you used branch with a schema migration not merged yet. If you are a normal user, consider reporting this bug back to us 2019-06-29 11:29:08,232 - faraday-server.faraday.start_server - ERROR {MainThread} [start_server.py:115 - check_postgresql() ]
[31mCould not connect to PostgreSQL. [37mPlease check: [33m * if database is running
[37mFor first time installations execute[37m:
[32m faraday-manage initdb
2019-07-06 21:32:11,669 - faraday-server.faraday.start_server - WARNING {MainThread} [start_server.py:145 - check_alembic_version() ] You are using an unknown schema version. If you are a developer, this probably happened because you used branch with a schema migration not merged yet. If you are a normal user, consider reporting this bug back to us 2019-07-06 21:32:11,676 - faraday-server.faraday.start_server - ERROR {MainThread} [start_server.py:115 - check_postgresql() ]
[31mCould not connect to PostgreSQL. [37mPlease check: [33m * if database is running
[37mFor first time installations execute[37m:
[32m faraday-manage initdb
Executing faraday-manage initdb:
/usr/local/lib/python2.7/dist-packages/Flask_SQLAlchemy-2.4.0-py2.7.egg/flask_sqlalchemy/init.py:814: UserWarning: Neither SQLALCHEMY_DATABASE_URI nor SQLALCHEMY_BINDS is set. Defaulting SQLALCHEMY_DATABASE_URI to "sqlite:///:memory:". 'Neither SQLALCHEMY_DATABASE_URI nor SQLALCHEMY_BINDS is set. ' This script will create a new postgres user and save faraday-server settings (server.ini). [sudo] password for pedro: WARNING: Role faraday_postgresql already exists, skipping creation Could not find connection string. Please configure [database] section with correct postgresql string. Ex. postgresql+psycopg2://faraday_postgresql:PASSWORD@localhost/faraday
faraday.log:
2019-06-29 11:34:49,172 - faraday.launcher - INFO [start_client.py:405 - printBanner() ] Starting Faraday IDE. 2019-06-29 11:34:49,172 - faraday.launcher - INFO [start_client.py:356 - checkConfiguration() ] Checking configuration. 2019-06-29 11:34:49,172 - faraday.launcher - INFO [start_client.py:357 - checkConfiguration() ] Setting up plugins. 2019-06-29 11:34:49,172 - faraday.launcher - INFO [start_client.py:295 - setupPlugins() ] Removing old plugins folder. 2019-06-29 11:34:49,213 - faraday.launcher - INFO [start_client.py:359 - checkConfiguration() ] Setting up ZSH integration. 2019-06-29 11:34:49,214 - faraday.launcher - INFO [start_client.py:361 - checkConfiguration() ] Setting up user configuration. 2019-06-29 11:34:49,214 - faraday.launcher - INFO [start_client.py:333 - setupXMLConfig() ] Copying default configuration from project. 2019-06-29 11:34:49,214 - faraday.launcher - INFO [start_client.py:363 - checkConfiguration() ] Setting up icons for GTK interface. 2019-06-29 11:34:49,219 - faraday.launcher - INFO [start_client.py:219 - setConf() ] Setting configuration. 2019-06-29 11:37:33,776 - faraday.launcher - INFO [start_client.py:405 - printBanner() ] Starting Faraday IDE. 2019-06-29 11:37:33,776 - faraday.launcher - INFO [start_client.py:356 - checkConfiguration() ] Checking configuration. 2019-06-29 11:37:33,777 - faraday.launcher - INFO [start_client.py:357 - checkConfiguration() ] Setting up plugins. 2019-06-29 11:37:33,777 - faraday.launcher - INFO [start_client.py:295 - setupPlugins() ] Removing old plugins folder. 2019-06-29 11:37:33,818 - faraday.launcher - INFO [start_client.py:359 - checkConfiguration() ] Setting up ZSH integration. 2019-06-29 11:37:33,819 - faraday.launcher - INFO [start_client.py:361 - checkConfiguration() ] Setting up user configuration. 2019-06-29 11:37:33,819 - faraday.launcher - INFO [start_client.py:336 - setupXMLConfig() ] Using custom user configuration. 2019-06-29 11:37:33,819 - faraday.launcher - INFO [start_client.py:363 - checkConfiguration() ] Setting up icons for GTK interface. 2019-06-29 11:37:33,825 - faraday.launcher - INFO [start_client.py:219 - setConf() ] Setting configuration. 2019-07-05 08:05:52,771 - faraday.launcher - INFO [start_client.py:405 - printBanner() ] Starting Faraday IDE. 2019-07-05 08:05:52,777 - faraday.launcher - INFO [start_client.py:356 - checkConfiguration() ] Checking configuration. 2019-07-05 08:05:52,777 - faraday.launcher - INFO [start_client.py:357 - checkConfiguration() ] Setting up plugins. 2019-07-05 08:05:52,777 - faraday.launcher - INFO [start_client.py:295 - setupPlugins() ] Removing old plugins folder. 2019-07-05 08:05:52,925 - faraday.launcher - INFO [start_client.py:359 - checkConfiguration() ] Setting up ZSH integration. 2019-07-05 08:05:52,926 - faraday.launcher - INFO [start_client.py:361 - checkConfiguration() ] Setting up user configuration. 2019-07-05 08:05:52,926 - faraday.launcher - INFO [start_client.py:336 - setupXMLConfig() ] Using custom user configuration. 2019-07-05 08:05:52,927 - faraday.launcher - INFO [start_client.py:363 - checkConfiguration() ] Setting up icons for GTK interface. 2019-07-05 08:05:52,958 - faraday.launcher - INFO [start_client.py:219 - setConf() ] Setting configuration. 2019-07-05 08:06:33,448 - faraday.launcher - INFO [start_client.py:405 - printBanner() ] Starting Faraday IDE. 2019-07-05 08:06:33,449 - faraday.launcher - INFO [start_client.py:356 - checkConfiguration() ] Checking configuration. 2019-07-05 08:06:33,449 - faraday.launcher - INFO [start_client.py:357 - checkConfiguration() ] Setting up plugins. 2019-07-05 08:06:33,449 - faraday.launcher - INFO [start_client.py:295 - setupPlugins() ] Removing old plugins folder. 2019-07-05 08:06:33,492 - faraday.launcher - INFO [start_client.py:359 - checkConfiguration() ] Setting up ZSH integration. 2019-07-05 08:06:33,492 - faraday.launcher - INFO [start_client.py:361 - checkConfiguration() ] Setting up user configuration. 2019-07-05 08:06:33,492 - faraday.launcher - INFO [start_client.py:336 - setupXMLConfig() ] Using custom user configuration. 2019-07-05 08:06:33,493 - faraday.launcher - INFO [start_client.py:363 - checkConfiguration() ] Setting up icons for GTK interface. 2019-07-05 08:06:33,499 - faraday.launcher - INFO [start_client.py:219 - setConf() ] Setting configuration. 2019-07-07 09:41:48,301 - faraday.launcher - INFO [start_client.py:405 - printBanner() ] Starting Faraday IDE. 2019-07-07 09:41:48,301 - faraday.launcher - INFO [start_client.py:356 - checkConfiguration() ] Checking configuration. 2019-07-07 09:41:48,302 - faraday.launcher - INFO [start_client.py:357 - checkConfiguration() ] Setting up plugins. 2019-07-07 09:41:48,302 - faraday.launcher - INFO [start_client.py:295 - setupPlugins() ] Removing old plugins folder. 2019-07-07 09:41:48,489 - faraday.launcher - INFO [start_client.py:359 - checkConfiguration() ] Setting up ZSH integration. 2019-07-07 09:41:48,490 - faraday.launcher - INFO [start_client.py:361 - checkConfiguration() ] Setting up user configuration. 2019-07-07 09:41:48,490 - faraday.launcher - INFO [start_client.py:336 - setupXMLConfig() ] Using custom user configuration. 2019-07-07 09:41:48,490 - faraday.launcher - INFO [start_client.py:363 - checkConfiguration() ] Setting up icons for GTK interface. 2019-07-07 09:41:48,512 - faraday.launcher - INFO [start_client.py:219 - setConf() ] Setting configuration.
psql_log.log and couchdb-importer.log are empty
And when I run faraday:
What is the output of the following command? it seems that you have the faraday_postgresql
user created.
sudo -u postgres psql faraday -c "select name from faraday_user"
if you see the following error:
ERROR: relation "faraday_user" does not exist
Try to execute the following commands:
faraday-manage create-tables
faraday-manage create-superuser
If you don't have the faraday-manage
command, try to use the old manage.py (older version of faraday).
I had to start postgresql service The command output is:
name
---------------
Administrator
(1 fila)
Hi,
When you log in to faraday you need to use the username Administrator
. you can change the password using faraday-manage change-password
.
In the screenshots, I can see that you are using the default username faraday
as the username.
I ended uninstalling Parrot due to stability issues with lots of things. So i probably messed up with something i shouldn't and that's why Faraday and other packages stopped working. In my fresh install all was working fine. So i'm closing this, because it's "solved".
You can always try to use our .deb/rpm packages on any Linux distro.
How did you install via github, did you use the rpm ? or you just did a pip install faradaysec ?
If you used the rpm package, we check against python-faraday and we will not allow to install this version unless you uninstall the
python-faraday
.If you install it with setup.py install, it will be installed in your python environment (did you use virtualenv?).
Can you provide some error logs ?
RPM? Last time I checked both Kali and Parrot Security are Debian based...NO RPMs....
I made some misstakes when running faraday for the first time in parrotsecOS , so i tried to solve and made the problem bigger,repeating this a lot of times, getting a fully unusable faraday.
So i want to uninstall faraday i downloaded from github, python-faraday package, and all necessary to make it work again lake when it comes with the OS.
Also i would like to know differences between the packages python-faraday and faraday.
Thanks in advance for any help