Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syanide-/python3httpsauthserver
Python3-based http.server supporting Basic AUTH and HTTPS; it's SimpleHTTPServer with python3 facial hair!
https://github.com/syanide-/python3httpsauthserver
auth https python3 python3httpsauthserver simplehttpauthserver simplehttpserver
Last synced: 3 months ago
JSON representation
Python3-based http.server supporting Basic AUTH and HTTPS; it's SimpleHTTPServer with python3 facial hair!
- Host: GitHub
- URL: https://github.com/syanide-/python3httpsauthserver
- Owner: SYANiDE-
- License: gpl-3.0
- Created: 2019-06-24T02:09:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T08:47:35.000Z (over 5 years ago)
- Last Synced: 2024-10-13T04:02:28.090Z (3 months ago)
- Topics: auth, https, python3, python3httpsauthserver, simplehttpauthserver, simplehttpserver
- Language: Python
- Size: 42 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python3HTTPSAuthServer
It's SimpleHTTPServer, with python3 facial hair!
Supports:
- HTTP Basic AUTH [username:pass]
- HTTPS encryption
- Self-generates self-signed certificate, or you can bring your own`usage: python3HTTPSAuthServer.py [-h] [-i IP] [-p PORT] [-a AUTH] [-s] [-c CERT] [-k PRIVATEKEY]`
`Python HTTPS Auth Server`
`optional arguments:`
`-h, --help show this help message and exit`
`-i IP, --ip IP Bind IP (Default all interfaces 0.0.0.0)`
`-p PORT, --port PORT Bind port, default 8443`
`-a AUTH, --auth AUTH HTTP BASIC auth [username:password]`
`-s, --https Use HTTPS`
`-c CERT, --cert CERT If you brought your own CERT, then by all means... [fullpath]`
`-k PRIVATEKEY, --privatekey PRIVATEKEY If you brought your own PRIVATE_KEY, then by all means... [fullpath]`
### Install using pip3:
`sudo python3 -m pip install python3HTTPSAuthServer`### Run the familiar way
`python3 -m python3HTTPSAuthServer`### Get Help
`python3 -m python3HTTPSAuthServer -h`### HTTPS via JIT self-signed certificate and HTTP Basic AUTH, port 443:
`python3 -m python3HTTPSAuthServer -https -auth 'benzo:qu4rantyne!' -i 192.168.56.110 -p 443`