mirror of
https://github.com/bettercap/bettercap.git
synced 2024-11-04 12:40:08 -08:00
Page:
https.server
Pages
Caplets
Changing the Prompt
Compilation on Android
Compilation on Linux and macOS
Compilation on Windows
Cross Compilation ( ARM example )
Home
Interactive Mode
Known Issues
Using with Docker
any.proxy
api.rest
arp.spoof
ble
caplets.update
dhcp6.spoof
dns.spoof
events.stream
gps
hid
http.modules
http.proxy
http.server
https.proxy
https.server
mac.changer
mysql.server
net.probe
net.recon
net.sniff
packet.proxy
syn.scan
tcp.modules
tcp.proxy
ticker
update.check
wifi
wol
1
https.server
evilsocket edited this page 2019-02-05 11:18:45 +01:00
A simple HTTPS server, used to serve files and scripts across the network.
Commands
command | description |
---|---|
https.server on |
Start the HTTP server in the background. |
https.server off |
Stop the HTTP server in the background. |
Parameters
parameter | default | description |
---|---|---|
https.server.path |
. |
Server folder. |
https.server.address |
<interface address> |
Address to bind the http server to. |
https.server.port |
443 |
Port to bind the http server to. |
https.server.certificate |
~/.bettercap-https.cert.pem |
TLS certificate file (will be auto generated if filled but not existing). |
https.server.key |
~/.bettercap-https.key.pem |
TLS key file (will be auto generated if filled but not existing). |
https.server.certificate.bits |
4096 |
Number of bits of the RSA private key of the generated HTTPS certificate. |
https.server.certificate.commonname |
bettercap |
Common Name field of the generated HTTPS certificate. |
https.server.certificate.country |
US |
Country field of the generated HTTPS certificate. |
https.server.certificate.locality |
Locality field of the generated HTTPS certificate. | |
https.server.certificate.organization |
bettercap devteam |
Organization field of the generated HTTPS certificate. |
https.server.certificate.organizationalunit |
https://bettercap.org/ |
Organizational Unit field of the generated HTTPS certificate. |
Examples
One liner to serve /var/www/html
:
$ sudo bettercap -eval "set https.server.path /var/www/html; https.server on"
- Known Issues
- Using with Docker
- Compilation
- Interactive Mode and Command Line Arguments
- Changing the Prompt
- Caplets
Modules
- Core
- HID on 2.4Ghz (mousejacking)
- Bluetooth Low Energy
- 802.11
- Ethernet and IP
- Servers
- Rogue Servers
- Utils