Skip to content
Gabe Marshall edited this page Sep 10, 2016 · 3 revisions

Brosec HTTP(s) Auxiliary Module

The Brosec HTTP(s) module functions much like Python's SimpleHTTPServer module. If you need a quick web server to serve content from the current working directory, you can simply run bros http from the command line.

This will start a web server on port 8000.

If you want to change the port, simply enter bros http <port>

File Uploads

A simple file uploader is available at /upload when the --upload option is passed.

Basic Auth

Basic authentication is enabled when the --username=foo and --password=bar options are passed.

HTTPS

You can also initiate an HTTPS server by running bros https

If a certificate and key are not specified (via --key=/path/to/key and --cert=/path/to/cert) Brosec will prompt to create a self signed cert which will be stored in /var/tmp/ or %TEMP%

Clone this wiki locally