create_app

The create_app method is the most important. This is where the application is created. It is mostly used when running your application through gunicorn.

burpui.create_app(conf=None, verbose=0, logfile=None, gunicorn=True, unittest=False, debug=False)[source]

Initialize the whole application.

Parameters:
  • conf (str) – Configuration file to use
  • verbose (int) – Set the verbosity level
  • logfile (str) – Store the logs in the given file
  • gunicorn (bool) – Enable gunicorn engine instead of flask’s default
  • unittest (bool) – Are we running tests (used for test only)
  • debug (bool) – Enable debug mode
Returns:

A burpui.server.BUIServer object