Walk through the steps to install Nuclei to connect to PDCP
Get the latest version
Verify the version
go version
to verify that you are running the latest version (v 1.21 at the time of writing)Verify your GOPATH
go env | grep GOPATH
in your terminal and copy the output path.
You may need to add a /bin
to the end of this path for it to work correctly.Open your shell config file
nano ~/.zshrc
for zsh or nano ~/.bashrc
for bash.At the bottom of the file, add export PATH=”$PATH:insert/go/path/here/bin”
, replacing insert/go/path/here
with the GOPATH from Step 1.Reset your terminal
source ~/.zshrc
or source~/.bashrc
to reset your terminal and reload it with the new config added.
You can also just close your terminal and open it again for this to take effect.Verify your updated PATH
$PATH
to check that the go binary directory is added to the end.Install Nuclei with Go
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
Confirm installation
nuclei -h
to see the list of options and flags available.