Verified Commit 4f0bf4ca authored by Benjamin "Ziirish" SANS's avatar Benjamin "Ziirish" SANS
Browse files

setup pre-commit hook

parent 43253d82
Pipeline #1827 failed with stages
in 21 minutes and 28 seconds
......@@ -3,7 +3,7 @@ pid /tmp/nginx.pid;
daemon off;
events {
worker_connections 1024;
worker_connections 1024;
use epoll;
}
......@@ -14,7 +14,7 @@ http {
access_log off;
error_log off;
sendfile on;
keepalive_timeout 15;
keepalive_disable msie6;
......@@ -25,7 +25,7 @@ http {
client_body_temp_path /tmp/client_body 1 2;
proxy_temp_path /tmp/proxy 1 2;
gzip on;
gzip_comp_level 5;
gzip_min_length 512;
......
......@@ -54,7 +54,7 @@ ssl_cert = /etc/burp/ssl_cert-demo1.pem
ssl_key = /etc/burp/ssl_cert-demo1.key
# Client SSL ciphers
#ssl_ciphers =
#ssl_ciphers =
# SSL key password
ssl_key_password = password
......
......@@ -54,7 +54,7 @@ ssl_cert = /etc/burp/ssl_cert-demo2.pem
ssl_key = /etc/burp/ssl_cert-demo2.key
# Client SSL ciphers
#ssl_ciphers =
#ssl_ciphers =
# SSL key password
ssl_key_password = password
......
......@@ -63,7 +63,7 @@ ssl_cert = /etc/burp/ssl_cert-demo3.pem
ssl_key = /etc/burp/ssl_cert-demo3.key
# Client SSL ciphers
#ssl_ciphers =
#ssl_ciphers =
# Client SSL compression. Default is zlib5. Set to zlib0 to turn it off.
#ssl_compression = zlib5
......
......@@ -63,7 +63,7 @@ ssl_cert = /etc/burp/ssl_cert-demo4.pem
ssl_key = /etc/burp/ssl_cert-demo4.key
# Client SSL ciphers
#ssl_ciphers =
#ssl_ciphers =
# Client SSL compression. Default is zlib5. Set to zlib0 to turn it off.
#ssl_compression = zlib5
......
......@@ -172,4 +172,3 @@ restore_client = agent
# Whether or not the server process should cache the tree when a monitor client
# is browsing a backup. Advantage: speed. Disadvantage: more memory is used.
monitor_browse_cache = 1
......@@ -63,7 +63,7 @@ ssl_cert = /etc/burp/ssl_cert-client.pem
ssl_key = /etc/burp/ssl_cert-client.key
# Client SSL ciphers
#ssl_ciphers =
#ssl_ciphers =
# Client SSL compression. Default is zlib5. Set to zlib0 to turn it off.
#ssl_compression = zlib5
......@@ -122,4 +122,3 @@ exclude_comp=gz
# When enabled, this causes problems in the phase1 scan (such as an 'include'
# being missing) to be treated as fatal errors. The default is 0.
#scan_problem_raises_error=1
......@@ -3,7 +3,7 @@ pid /tmp/nginx.pid;
daemon off;
events {
worker_connections 1024;
worker_connections 1024;
use epoll;
}
......@@ -14,7 +14,7 @@ http {
access_log off;
error_log off;
sendfile on;
keepalive_timeout 15;
keepalive_disable msie6;
......@@ -25,7 +25,7 @@ http {
client_body_temp_path /tmp/client_body 1 2;
proxy_temp_path /tmp/proxy 1 2;
gzip on;
gzip_comp_level 5;
gzip_min_length 512;
......
......@@ -8,11 +8,11 @@
{% set page_width = '940px' %}
{% set sidebar_width = '220px' %}
@import url("basic.css");
/* -- page layout ----------------------------------------------------------- */
body {
font-family: 'Georgia', serif;
font-size: 17px;
......@@ -43,7 +43,7 @@ div.sphinxsidebar {
hr {
border: 1px solid #B1B4B6;
}
div.body {
background-color: #ffffff;
color: #3E4349;
......@@ -54,7 +54,7 @@ img.floatingflask {
padding: 0 0 10px 10px;
float: right;
}
div.footer {
width: {{ page_width }};
margin: 20px auto 30px auto;
......@@ -70,7 +70,7 @@ div.footer a {
div.related {
display: none;
}
div.sphinxsidebar a {
color: #444;
text-decoration: none;
......@@ -80,7 +80,7 @@ div.sphinxsidebar a {
div.sphinxsidebar a:hover {
border-bottom: 1px solid #999;
}
div.sphinxsidebar {
font-size: 14px;
line-height: 1.5;
......@@ -95,7 +95,7 @@ div.sphinxsidebarwrapper p.logo {
margin: 0;
text-align: center;
}
div.sphinxsidebar h3,
div.sphinxsidebar h4 {
font-family: 'Garamond', 'Georgia', serif;
......@@ -109,7 +109,7 @@ div.sphinxsidebar h4 {
div.sphinxsidebar h4 {
font-size: 20px;
}
div.sphinxsidebar h3 a {
color: #444;
}
......@@ -120,7 +120,7 @@ div.sphinxsidebar p.logo a:hover,
div.sphinxsidebar h3 a:hover {
border: none;
}
div.sphinxsidebar p {
color: #555;
margin: 10px 0;
......@@ -131,25 +131,25 @@ div.sphinxsidebar ul {
padding: 0;
color: #000;
}
div.sphinxsidebar input {
border: 1px solid #ccc;
font-family: 'Georgia', serif;
font-size: 1em;
}
/* -- body styles ----------------------------------------------------------- */
a {
color: #004B6B;
text-decoration: underline;
}
a:hover {
color: #6D4100;
text-decoration: underline;
}
div.body h1,
div.body h2,
div.body h3,
......@@ -169,25 +169,25 @@ div.indexwrapper h1 {
height: {{ theme_index_logo_height }};
}
{% endif %}
div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
div.body h2 { font-size: 180%; }
div.body h3 { font-size: 150%; }
div.body h4 { font-size: 130%; }
div.body h5 { font-size: 100%; }
div.body h6 { font-size: 100%; }
a.headerlink {
color: #ddd;
padding: 0 4px;
text-decoration: none;
}
a.headerlink:hover {
color: #444;
background: #eaeaea;
}
div.body p, div.body dd, div.body li {
line-height: 1.4em;
}
......@@ -234,20 +234,20 @@ div.note {
background-color: #eee;
border: 1px solid #ccc;
}
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
}
div.topic {
background-color: #eee;
}
p.admonition-title {
display: inline;
}
p.admonition-title:after {
content: ":";
}
......@@ -341,7 +341,7 @@ ul, ol {
margin: 10px 0 10px 30px;
padding: 0;
}
pre {
background: #eee;
padding: 7px 30px;
......@@ -358,7 +358,7 @@ dl dl pre {
margin-left: -90px;
padding-left: 90px;
}
tt {
background-color: #ecf0f3;
color: #222;
......
......@@ -6,4 +6,4 @@ pygments_style = flask_theme_support.FlaskyStyle
[options]
index_logo = 'sleepycat.png'
index_logo_height = 143px
touch_icon =
touch_icon =
......@@ -8,11 +8,11 @@
* :license: BSD, see LICENSE for details.
*
*/
@import url("basic.css");
/* -- page layout ----------------------------------------------------------- */
body {
font-family: 'Georgia', serif;
font-size: 17px;
......@@ -35,7 +35,7 @@ div.bodywrapper {
hr {
border: 1px solid #B1B4B6;
}
div.body {
background-color: #ffffff;
color: #3E4349;
......@@ -46,7 +46,7 @@ img.floatingflask {
padding: 0 0 10px 10px;
float: right;
}
div.footer {
text-align: right;
color: #888;
......@@ -55,12 +55,12 @@ div.footer {
width: 650px;
margin: 0 auto 40px auto;
}
div.footer a {
color: #888;
text-decoration: underline;
}
div.related {
line-height: 32px;
color: #888;
......@@ -69,18 +69,18 @@ div.related {
div.related ul {
padding: 0 0 0 10px;
}
div.related a {
color: #444;
}
/* -- body styles ----------------------------------------------------------- */
a {
color: #004B6B;
text-decoration: underline;
}
a:hover {
color: #6D4100;
text-decoration: underline;
......@@ -89,7 +89,7 @@ a:hover {
div.body {
padding-bottom: 40px; /* saved for footer */
}
div.body h1,
div.body h2,
div.body h3,
......@@ -109,24 +109,24 @@ div.indexwrapper h1 {
height: {{ theme_index_logo_height }};
}
{% endif %}
div.body h2 { font-size: 180%; }
div.body h3 { font-size: 150%; }
div.body h4 { font-size: 130%; }
div.body h5 { font-size: 100%; }
div.body h6 { font-size: 100%; }
a.headerlink {
color: white;
padding: 0 4px;
text-decoration: none;
}
a.headerlink:hover {
color: #444;
background: #eaeaea;
}
div.body p, div.body dd, div.body li {
line-height: 1.4em;
}
......@@ -164,25 +164,25 @@ div.note {
background-color: #eee;
border: 1px solid #ccc;
}
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
}
div.topic {
background-color: #eee;
}
div.warning {
background-color: #ffe4e4;
border: 1px solid #f66;
}
p.admonition-title {
display: inline;
}
p.admonition-title:after {
content: ":";
}
......@@ -254,7 +254,7 @@ dl {
dl dd {
margin-left: 30px;
}
pre {
padding: 0;
margin: 15px -30px;
......
......@@ -11,7 +11,7 @@ Restoration
In order to make the *online* restoration/download functionality work, you
need to check a few things:
1. Provide the full path of the burp (client) binary file (field *burpbin* in
1. Provide the full path of the burp (client) binary file (field *burpbin* in
`burp-ui configuration <advanced_usage.html#versions>`__)
2. Provide a burp-client configuration file (field *bconfcli* in
`burp-ui configuration <advanced_usage.html#versions>`__)
......
......@@ -166,7 +166,7 @@ You will also need to increase the number of status clients by setting
echo "max_status_children = 15" >>/etc/burp/burp-server.conf
Finally, make sure you set ``bconfcli: /var/lib/burpui/burp.conf`` in your
Finally, make sure you set ``bconfcli: /var/lib/burpui/burp.conf`` in your
`Burp-UI`_ configuration file (*/etc/burp/burpui.cfg*).
......
......@@ -155,10 +155,10 @@ Examples:
[*] Adding 'user2' user...
[+] Success: True
bui-manage create-user -a user3
bui-manage create-user -a user3
[*] Adding 'user3' user...
Password:
Confirm:
Password:
Confirm:
[+] Success: True
......
......@@ -11,7 +11,7 @@ In order to use this feature, you need some extra requirements:
It is highly recommended to use a `Redis`_ *Broker* for the websocket server to
interact with the celery workers and other pieces of the code.
It is also advised to run one or several dedicated WebSocket servers behind a
It is also advised to run one or several dedicated WebSocket servers behind a
reverse-proxy because *gunicorn* does not play well with it.
The details of the configuration may be found in the `WebSocket
......
Generic single-database configuration.
\ No newline at end of file
Generic single-database configuration.
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"
[tool.black]
extend-exclude = "(docker/docker-alpine/assets/config/burp-ui/burpui_gunicorn.py|pkgs/burp-ui-tpl/setup.py)"
trio==0.13.0
Flask==1.1.1
Flask-Login==0.4.1
trio==0.18.0
Flask==1.1.2
Flask-Login==0.5.0
Flask-Bower==1.3.0
Flask-Babel==1.0.0
Flask-Babel==2.0.0
Flask-WTF==0.14.3
flask-restx==0.2.0
Flask-Caching==1.8.0
Flask-Session==0.3.1
WTForms==2.2.1
flask-restx==0.3.0
Flask-Caching==1.10.1
Flask-Session==0.3.2
WTForms==2.3.3
arrow==0.14.2
pluginbase==1.0.0
tzlocal==2.0.0
pyOpenSSL==19.1.0
tzlocal==2.1
pyOpenSSL==20.0.1
configobj==5.0.6
async_generator
Click==7.1.1
async_generator==1.10
Click==7.1.2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment