Codebase list python-faraday / f9f3d2c
Remove references to couchdb configuration Sophie Brun 5 years ago
2 changed file(s) with 1 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
00 From Faraday version 2.0.0, Faraday is composed of Faraday Server and Faraday Client.
1 Couchdb is mandatory.
1 Since version 3.0 couchdb has been replaced by PostgreSQL
22
33
4 IF YOU WANT TO USE USER AND PASSWORD IN COUCHDB
5
6 1. Configure couchdb
7 Start couchdb: systemctl start couchdb
8 Go to http://127.0.0.1:5984/_utils
9 Create an admin (click on "Everyone is admin. Fix This" or "Sign up"
10 on the bottom right)
11
12 2. Configure Faraday server with user and password you set up in couchdb
13 The admin name and password must be copied in the config file
14 ~/.faraday/config/server.ini in section [couchdb]
15 Information: This file exists only if you have already launched faraday once.
16
17 3. Launch faraday with menu or command python-faraday
18 This will start the server (systemd managed service) and start python-faraday
19 A pop up window will inform you that the client can't connect to Faraday Server,
20 you will have to choose "Change server IP?" and then set up server IP with
21 user and password are the one you chose in step 1:
22 http://user:[email protected]:5985
23
24 The port 5985 is the default port for Faraday in kali
25
26 You can also configure the server IP in the config file
27 ~/.faraday/config/user.xml before launching faraday.
28 <couch_uri>http://user:[email protected]:5985</couch_uri>
99 rm -f /usr/share/python-faraday/external_libs
1010 fi
1111
12 if [ -f /root/.faraday/config/config.xml ] && \
13 ! grep -q "<couch_uri>http://127.0.0.1:5985</couch_uri>" /root/.faraday/config/config.xml; then
14 echo "WARNING: The config file /root/.faraday/config/config.xml seems to be outdated. You should change the couch_uri configuration in this file to work with default configuration in Kali. It should be:
15 <couch_uri>http://127.0.0.1:5985</couch_uri> "
16 fi
17
1812 #DEBHELPER#