mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
update README with some burp-ui options
This commit is contained in:
parent
b0ea5523fb
commit
7f8ec96d01
2 changed files with 55 additions and 31 deletions
25
README.rst
25
README.rst
|
|
@ -179,6 +179,31 @@ You will then be able to launch ``Burp-UI`` this way:
|
|||
gunicorn -k eventlet -w 4 'burpui:init(conf="/path/to/burpui.cfg")'
|
||||
|
||||
|
||||
When using ``gunicorn``, the command line options are not available. Instead,
|
||||
run the ``Burp-UI`` ``init`` method directly. Here are the parameters you can
|
||||
play with:
|
||||
|
||||
- conf: Path to the ``Burp-UI`` configuration file
|
||||
- debug: Whether to run ``Burp-UI`` in debug mode or not to get some extra logging
|
||||
- logfile: Path to a logfile in order to log ``Burp-UI`` internal messages
|
||||
|
||||
Options
|
||||
=======
|
||||
|
||||
::
|
||||
|
||||
Usage: burp-ui [options]
|
||||
|
||||
Options:
|
||||
-h, --help show this help message and exit
|
||||
-v, --verbose verbose output
|
||||
-d, --debug verbose output (alias)
|
||||
-V, --version print version and exit
|
||||
-c CONFIG, --config=CONFIG
|
||||
configuration file
|
||||
-l FILE, --logfile=FILE
|
||||
output logs in defined file
|
||||
|
||||
|
||||
Troubleshooting
|
||||
===============
|
||||
|
|
|
|||
13
bin/burp-ui
13
bin/burp-ui
|
|
@ -13,11 +13,11 @@ if __name__ == '__main__':
|
|||
Main function
|
||||
"""
|
||||
parser = OptionParser()
|
||||
parser.add_option('-v', '--verbose', dest='log', help='Verbose output.', action='store_true')
|
||||
parser.add_option('-d', '--debug', dest='log', help='Verbose output (alias).', action='store_true') #alias for -v
|
||||
parser.add_option('-V', '--version', dest='version', help='Print version and exit.', action='store_true')
|
||||
parser.add_option('-c', '--config', dest='config', help='Configuration file.', metavar='CONFIG')
|
||||
parser.add_option('-l', '--logfile', dest='logfile', help='Output logs in defined file.', metavar='FILE')
|
||||
parser.add_option('-v', '--verbose', dest='log', help='verbose output', action='store_true')
|
||||
parser.add_option('-d', '--debug', dest='log', help='verbose output (alias)', action='store_true') #alias for -v
|
||||
parser.add_option('-V', '--version', dest='version', help='print version and exit', action='store_true')
|
||||
parser.add_option('-c', '--config', dest='config', help='configuration file', metavar='CONFIG')
|
||||
parser.add_option('-l', '--logfile', dest='logfile', help='output logs in defined file', metavar='FILE')
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
d = options.log
|
||||
|
|
@ -26,7 +26,6 @@ if __name__ == '__main__':
|
|||
print '{}: v{}'.format(__title__, __version__)
|
||||
sys.exit(0)
|
||||
|
||||
init(options.config, d, False, options.logfile)
|
||||
init(options.config, d, options.logfile, False)
|
||||
|
||||
bui.run(d)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue