From 5e4aae3591b00bbd13265dcc1ab959a992d8ce49 Mon Sep 17 00:00:00 2001 From: VainlyStrain <51248447+VainlyStrain@users.noreply.github.com> Date: Fri, 25 Sep 2020 00:38:11 +0200 Subject: [PATCH 1/2] Update Installation Instructions The installation instructions for installing from source and updating had a wrong path, leading to installation failure. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bd57e9e..c73e0fa 100644 --- a/README.md +++ b/README.md @@ -101,14 +101,14 @@ The installation is easy. You can download the pre-built binaries for different subfinder requires go1.14+ to install successfully. Run the following command to get the repo - ```sh -GO111MODULE=auto go get -u -v github.com/projectdiscovery/subfinder/cmd/subfinder +GO111MODULE=auto go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder ``` ### From Github ```sh git clone https://github.com/projectdiscovery/subfinder.git -cd subfinder/cmd/subfinder +cd subfinder/v2/cmd/subfinder go build . mv subfinder /usr/local/bin/ subfinder -h @@ -118,7 +118,7 @@ subfinder -h If you wish to upgrade the package you can use: ```sh -GO111MODULE=auto go get -u -v github.com/projectdiscovery/subfinder/cmd/subfinder +GO111MODULE=auto go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder ``` ## Post Installation Instructions From 74fdbc21f012ad22f90ba4aa1823f87bffb6f3ed Mon Sep 17 00:00:00 2001 From: bauthard <8293321+bauthard@users.noreply.github.com> Date: Fri, 25 Sep 2020 04:11:15 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index c73e0fa..0ff6a01 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ The installation is easy. You can download the pre-built binaries for different subfinder requires go1.14+ to install successfully. Run the following command to get the repo - ```sh -GO111MODULE=auto go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder +GO111MODULE=on go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder ``` ### From Github @@ -114,13 +114,6 @@ mv subfinder /usr/local/bin/ subfinder -h ``` -### Upgrading -If you wish to upgrade the package you can use: - -```sh -GO111MODULE=auto go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder -``` - ## Post Installation Instructions Subfinder will work after using the installation instructions however to configure Subfinder to work with certain services, you will need to have setup API keys. The following services do not work without an API key: