|
11 | 11 | <a href="https://discord.gg/projectdiscovery"><img src="https://img.shields.io/discord/695645237418131507.svg?logo=discord"></a> |
12 | 12 | </p> |
13 | 13 |
|
| 14 | +<p align="center"> |
| 15 | + <a href="#features">Features</a> • |
| 16 | + <a href="#usage">Usage</a> • |
| 17 | + <a href="#installing-simplehttpserver">Installation</a> • |
| 18 | + <a href="#running-simplehttpserver-in-the-current-folder">Run SimpleHTTPserver</a> • |
| 19 | + <a href="https://discord.gg/projectdiscovery">Join Discord</a> |
| 20 | +</p> |
14 | 21 |
|
15 | | -SimpleHTTPserver is a go enhanced version of the well known python simplehttpserver with in addition a fully customizable TCP server, both supporting TLS. |
| 22 | +--- |
16 | 23 |
|
17 | | -# Resources |
| 24 | +SimpleHTTPserver is a go enhanced version of the well known python simplehttpserver with in addition a fully customizable TCP server, both supporting TLS. |
18 | 25 |
|
19 | | -- [Features](#features) |
20 | | -- [Usage](#usage) |
21 | | -- [Installation Instructions](#installation-instructions) |
22 | | -- [Running simplehttpserver](#running-simplehttpserver-in-the-current-folder) |
23 | | -- [Thanks](#thanks) |
24 | 26 |
|
25 | 27 | # Features |
26 | 28 |
|
27 | | -<h1 align="left"> |
28 | | - <img src="static/simplehttpserver-run.png" alt="simplehttpserver" width="700px"></a> |
29 | | - <br> |
30 | | -</h1> |
31 | | - |
32 | 29 | - HTTPS support |
33 | 30 | - File server in arbitrary directory |
34 | 31 | - Full request/response dump |
35 | 32 | - Configurable ip address and listening port |
36 | 33 | - Configurable HTTP/TCP server with customizable response via YAML template |
37 | 34 |
|
38 | 35 |
|
39 | | -# Installation Instructions |
40 | | - |
41 | | - |
42 | | -### From Binary |
43 | | - |
44 | | -The installation is easy. You can download the pre-built binaries for your platform from the [Releases](https://github.com/projectdiscovery/simplehttpserver/releases/) page. Extract them using tar, move it to your `$PATH`and you're ready to go. |
45 | | - |
46 | | -```sh |
47 | | -Download latest binary from https://github.com/projectdiscovery/simplehttpserver/releases |
48 | | - |
49 | | -▶ tar -xvf simplehttpserver-linux-amd64.tar |
50 | | -▶ mv simplehttpserver-linux-amd64 /usr/local/bin/simplehttpserver |
51 | | -▶ simplehttpserver -h |
52 | | -``` |
53 | | - |
54 | | -### From Source |
55 | | - |
56 | | -simplehttpserver requires **go1.14+** to install successfully. Run the following command to get the repo - |
57 | | - |
58 | | -```sh |
59 | | -▶ GO111MODULE=on go get -v github.com/projectdiscovery/simplehttpserver |
60 | | -``` |
| 36 | +# Installing SimpleHTTPserver |
61 | 37 |
|
62 | | -### From Github |
| 38 | +SimpleHTTPserver requires **go1.14+** to install successfully. Run the following command to get the repo - |
63 | 39 |
|
64 | 40 | ```sh |
65 | | -▶ git clone https://github.com/projectdiscovery/simplehttpserver.git; cd simplehttpserver; go build; mv simplehttpserver /usr/local/bin/; simplehttpserver -h |
| 41 | +▶ GO111MODULE=on go get -v github.com/projectdiscovery/cmd/simplehttpserver |
66 | 42 | ``` |
67 | 43 |
|
68 | 44 | # Usage |
@@ -189,4 +165,4 @@ rules: |
189 | 165 |
|
190 | 166 | # Thanks |
191 | 167 |
|
192 | | -simplehttpserver is made with 🖤 by the [projectdiscovery](https://projectdiscovery.io) team. Community contributions have made the project what it is. See the **[Thanks.md](https://github.com/projectdiscovery/simplehttpserver/blob/master/THANKS.md)** file for more details. |
| 168 | +SimpleHTTPserver is made with 🖤 by the [projectdiscovery](https://projectdiscovery.io) team. |
0 commit comments