adding github install

This commit is contained in:
bauthard 2020-07-12 01:56:26 +05:30 committed by GitHub
parent b65f366d95
commit 3d9600a8f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers usi
- [Installation Instructions](#installation-instructions) - [Installation Instructions](#installation-instructions)
- [From Binary](#from-binary) - [From Binary](#from-binary)
- [From Source](#from-source) - [From Source](#from-source)
- [From Github](#from-github)
- [Running httpX to probe `7614` hosts](#running-httpx-to-probe-7614-hosts) - [Running httpX to probe `7614` hosts](#running-httpx-to-probe-7614-hosts)
- [Running httpx with stdin](#running-httpx-with-stdin) - [Running httpx with stdin](#running-httpx-with-stdin)
- [Running httpx with file input](#running-httpx-with-file-input) - [Running httpx with file input](#running-httpx-with-file-input)
@ -98,6 +99,16 @@ httpx requires go1.13+ to install successfully. Run the following command to get
> GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx > GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx
``` ```
### From Github
```bash
git clone https://github.com/projectdiscovery/httpx.git
cd httpx/cmd/httpx
go build .
mv httpx /usr/local/bin/
httpx -h
```
In order to update the tool, you can use -u flag with `go get` command. In order to update the tool, you can use -u flag with `go get` command.
# Running httpX to probe `7614` hosts # Running httpX to probe `7614` hosts