Skip to content

Commit

Permalink
Added -u to go get to update tools if installer.sh is run more than o…
Browse files Browse the repository at this point in the history
…nce.
  • Loading branch information
bellma101 committed Mar 30, 2019
1 parent f4e998c commit f616e88
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,21 +131,21 @@ function install_go_tools() {
echo -e "$GREEN""Installing Go tools from Github.""$NC";
sleep 5;
echo -e "$GREEN""Installing subfinder from Github.""$NC";
go get github.com/subfinder/subfinder;
go get -u github.com/subfinder/subfinder;
echo -e "$GREEN""Installing subjack from Github.""$NC";
go get github.com/haccer/subjack;
go get -u github.com/haccer/subjack;
echo -e "$GREEN""Installing ffuf from Github.""$NC";
go get github.com/ffuf/ffuf;
go get -u github.com/ffuf/ffuf;
echo -e "$GREEN""Installing gobuster from Github.""$NC";
go get github.com/OJ/gobuster;
go get -u github.com/OJ/gobuster;
echo -e "$GREEN""Installing inception from Github.""$NC";
go get github.com/proabiral/inception;
go get -u github.com/proabiral/inception;
echo -e "$GREEN""Installing waybackurls from Github.""$NC";
go get github.com/tomnomnom/waybackurls;
go get -u github.com/tomnomnom/waybackurls;
echo -e "$GREEN""Installing goaltdns from Github.""$NC";
go get github.com/subfinder/goaltdns;
go get -u github.com/subfinder/goaltdns;
echo -e "$GREEN""Installing rescope from Github.""$NC";
go get github.com/root4loot/rescope;
go get -u github.com/root4loot/rescope;
}

function install_go() {
Expand Down

0 comments on commit f616e88

Please sign in to comment.