Skip to content

Commit c5ac410

Browse files
committed
Update README
1 parent 958abdf commit c5ac410

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
Installer
2-
----------
3-
41
About security knowledge framework
52
------------------------------------
63
Our experience taught us that the current level of security the current
@@ -28,3 +25,36 @@ documentation in which it gives feedback on what defense
2825
mechanisms the developer forgot to implement and give him feedback
2926
regarding descriptions and solutions on how to properly implement
3027
these techniques in a safe manner.
28+
29+
Installer
30+
----------
31+
sudo apt-get install python-pip
32+
sudo apt-get install sqlite3
33+
34+
pip install https://github.com/mitsuhiko/flask/tarball/master
35+
pip install --pre owasp-skf
36+
37+
38+
1. 'cd' into the project directory (e.g. /opt/skf-flask/) and initialize the database with this command:
39+
40+
flask --app=skf initdb
41+
42+
2. now you can run skf from the skf dir:
43+
44+
python skf.py
45+
46+
the application will greet you on
47+
https://127.0.0.1:5443/
48+
49+
Default the application will generate a certificate on the fly but what you
50+
really want to do is placing your own server.key and server.crt in the skf dir.
51+
Then the skf-flask application will use these instead.
52+
53+
default username: admin
54+
The password will be auto-generated every time the skf-application is launched.
55+
Check commandline output for the the generated password.
56+
57+
3. If you want to use test_skf.py as well, you will need to
58+
59+
sudo pip install pytest
60+

0 commit comments

Comments
 (0)