Codebase list python-faraday / debian/2.0.0-0kali3
Simplify configuration * Add missing dependencies * Drop user/password in config by default to simplify configuration Sophie Brun 7 years ago
7 changed file(s) with 61 addition(s) and 43 deletion(s). Raw diff Collapse all Expand all
11 Couchdb is mandatory.
22
33
4 BEFORE RUNNING FARADAY FOR THE FIRST TIME WITH COUCHDB
4 IF YOU WANT TO USE USER AND PASSWORD IN COUCHDB
55
6 1. Launch faraday server
7 /usr/share/python-faraday/faraday-server.py
8 This will fail but it created config files in ~/.faraday
9
10 2. Configure couchdb
6 1. Configure couchdb
117 Start couchdb: systemctl start couchdb
128 Go to http://127.0.0.1:5984/_utils
139 Create an admin (click on "Everyone is admin. Fix This" or "Sign up"
1410 on the bottom right)
1511
16 3. Configure Faraday server with user and password you set up in couchdb
12 2. Configure Faraday server with user and password you set up in couchdb
1713 The admin name and password must be copied in the config file
1814 ~/.faraday/config/server.ini in section [couchdb]
19 Reminder: This file exists only if you have already launched faraday-server.py once.
15 Information: This file exists only if you have already launched faraday once.
2016
21 4. Launch faraday with menu or command python-faraday
17 3. Launch faraday with menu or command python-faraday
2218 This will start the server (systemd managed service) and start python-faraday
2319 A pop up window will inform you that the client can't connect to Faraday Server,
2420 you will have to choose "Change server IP?" and then set up server IP with
25 user and password are the one you chose in step 2:
21 user and password are the one you chose in step 1:
2622 http://user:[email protected]:5985
2723
2824 The port 5985 is the default port for Faraday in kali (see the note below)
0 python-faraday (2.0.0-0kali3) kali-dev; urgency=medium
1
2 * Add missing dependencies
3 * Drop user/password in config by default to simplify configuration
4
5 -- Sophie Brun <[email protected]> Thu, 25 Aug 2016 14:18:50 +0200
6
07 python-faraday (2.0.0-0kali2) kali-experimental; urgency=medium
18
29 * Do not run farday-server in postinst
1414 python-argparse, python-ipy, python-restkit, python-requests (>= 2.7.0),
1515 python-tornado, python-flask (>= 0.10.1), python-colorama, python-psycopg2,
1616 python-sip, zsh | zsh-beta, python-twisted, python-sqlalchemy, python-openssl,
17 couchdb (>=1.6.2~20151123-0kali3)
17 couchdb (>=1.6.2~20151123-0kali3), curl, gir1.2-gtk-3.0, gir1.2-vte-2.91,
18 python-gobject
1819 Description: Collaborative Penetration Test IDE
1920 Faraday introduces a new concept (IPE) Integrated Penetration-Test Environment
2021 a multiuser Penetration test IDE. Designed for distribution, indexation and
+0
-30
debian/patches/change-default-ports-for-server.patch less more
0 Description: Change the initial configuration of server
1 Use the default port of couchdb: port is 5984 and ssl_port is 6984.
2 Author: Sophie Brun <[email protected]>
3 Last-Update: 2016-08-18
4 ---
5 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
6 --- a/server/default.ini
7 +++ b/server/default.ini
8 @@ -1,17 +1,17 @@
9 [faraday_server]
10 -port=5984
11 +port=5985
12 bind_address=localhost
13
14 [ssl]
15 -port=6984
16 +port=6985
17 certificate=
18 keyfile=
19 ;keyfile_pwd=''
20
21 [couchdb]
22 host=localhost
23 -port=5985
24 -ssl_port=6985
25 +port=5984
26 +ssl_port=6984
27 user=faraday
28 password=changeme
29 protocol=http
0 Description: Change the initial configuration
1 Use the default port of couchdb: port is 5984 and ssl_port is 6984.
2 Configure by default couchdb and server without password and user
3 Author: Sophie Brun <[email protected]>
4 Last-Update: 2016-08-18
5 ---
6 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
7 --- a/server/default.ini
8 +++ b/server/default.ini
9 @@ -1,18 +1,18 @@
10 [faraday_server]
11 -port=5984
12 +port=5985
13 bind_address=localhost
14
15 [ssl]
16 -port=6984
17 +port=6985
18 certificate=
19 keyfile=
20 ;keyfile_pwd=''
21
22 [couchdb]
23 host=localhost
24 -port=5985
25 -ssl_port=6985
26 -user=faraday
27 -password=changeme
28 +port=5984
29 +ssl_port=6984
30 +user=
31 +password=
32 protocol=http
33
34 --- a/config/default.xml
35 +++ b/config/default.xml
36 @@ -30,7 +30,7 @@
37 <repo_url type="svn"></repo_url>
38 <repo_user>u</repo_user>
39 <repo_password></repo_password>
40 - <couch_uri/>
41 + <couch_uri>http://127.0.0.1:5985</couch_uri>
42 <couch_is_replicated/>
43 <couch_replics/>
44
00 remove-unwanted-checks.diff
11 copy-images-directory.patch
2 change-default-ports-for-server.patch
2 modify-configuration.patch
11 Description=python-faraday Server
22 Requires=couchdb.service
33 After=couchdb.service
4 ConditionPathExists=/root/.faraday/config/server.ini
54
65 [Service]
76 Type=simple