Problems in upgrade to burpui 0.4.0
I haven't changed the config, only ran the recommended in upgrade page.
Now I'm checking what it can be, looks like something is missed in the config now. burpui.cfg
burp-ui -c /etc/burp/burpui.cfg -vv --debug
[2016-11-25 18:01:44,988] WARNING in config.safe_get: the value "None" is of the wrong type.
[Global]:demo - found: None, default: False -> False
[2016-11-25 18:01:44,999] WARNING in config.safe_get: the value "None" is of the wrong type.
[Security]:sessiontime - found: None, default: 5 -> 5
[2016-11-25 18:01:45,006] WARNING in config.safe_get: the value "None" is of the wrong type.
[Agent:l240lnx922]:timeout - found: None, default: 0 -> 0
[2016-11-25 18:01:45,010] WARNING in app.create_app: Unable to initialize redis: invalid literal for int() with base 10: ''
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
* Restarting with stat
[2016-11-25 18:01:45,875] WARNING in config.safe_get: the value "None" is of the wrong type.
[Global]:demo - found: None, default: False -> False
[2016-11-25 18:01:45,886] WARNING in config.safe_get: the value "None" is of the wrong type.
[Security]:sessiontime - found: None, default: 5 -> 5
[2016-11-25 18:01:45,892] WARNING in config.safe_get: the value "None" is of the wrong type.
[Agent:l240lnx922]:timeout - found: None, default: 0 -> 0
[2016-11-25 18:01:45,896] WARNING in app.create_app: Unable to initialize redis: invalid literal for int() with base 10: ''
* Debugger is active!
* Debugger pin code: 223-358-813
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET / HTTP/1.1" 302 -
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?next=%2F HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2000, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/burpui/utils.py", line 411, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask_restplus/api.py", line 536, in error_router
return original_handler(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask_restplus/api.py", line 536, in error_router
return original_handler(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/burpui/routes.py", line 421, in login
return render_template('login.html', form=form, login=True)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/burpui/templates/login.html", line 2, in top-level template code
{% import 'macros.html' as macros %}
File "/usr/local/lib/python2.7/dist-packages/burpui/templates/layout.html", line 18, in top-level template code
<link href="{{ url_for('bower.static', filename='datatables.net-bs/css/dataTables.bootstrap.min.css') }}" rel="stylesheet">
File "/usr/local/lib/python2.7/dist-packages/flask_bower/__init__.py", line 51, in replaced_url_for
return url_for(endpoint, filename=filename, **values)
File "/usr/local/lib/python2.7/dist-packages/flask/helpers.py", line 332, in url_for
return appctx.app.handle_url_build_error(error, endpoint, values)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1811, in handle_url_build_error
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/helpers.py", line 322, in url_for
force_external=external)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/routing.py", line 1758, in build
raise BuildError(endpoint, values, method, self)
BuildError: Could not build url for endpoint 'bower.static' with values ['filename']. Did you mean 'static' instead?
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?__debugger__=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?__debugger__=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
10.100.64.79 - - [25/Nov/2016 18:01:54] "GET /login?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
Thanks for your work on burpui! Pablo.