A simple HTTP server, used to serve files and scripts across the network.
http.server on
Start the HTTP server in the background.
http.server off
Stop the HTTP server in the background.
parameter | default | description |
---|---|---|
http.server.path |
. |
Server folder. |
http.server.address |
<interface address> |
Address to bind the http server to. |
http.server.port |
80 |
Port to bind the http server to. |
One liner to serve /var/www/html
:
sudo bettercap -eval "set http.server.path /var/www/html; http.server on"