Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Many Tools Not Installing #114

Open
skilfoy opened this issue May 8, 2023 · 0 comments
Open

[BUG] Many Tools Not Installing #114

skilfoy opened this issue May 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@skilfoy
Copy link

skilfoy commented May 8, 2023

Describe the bug

The following error occurs when attempting to install amass. Similar errors occur for waybackurls. gobuster, tko-subs, webanalyze, aquatone, and subjack. Full error output is below in the traceback section.

recon-pipeline> tools install amass 
[*] Installing amass...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go install -v github.com/OWASP/Amass/v3/...@master
[!] go: github.com/OWASP/Amass/v3/...@master: github.com/OWASP/Amass/[email protected]: parsing go.mod: module declares its path as: github.com/owasp-amass/amass/v3 but was required as: github.com/OWASP/Amass/v3
[!!] one (or more) of amass's commands failed and may have not installed properly; check output from the offending command above...

To Reproduce

Steps to reproduce the behavior:

  1. ./recon-pipeline.py
  2. tools install all
  3. fail

Expected behavior

tools install [tool] or tools install all should install the expected tool(s) without error.

Traceback / Error Output

Here is the error output for tools install all:

[db-1] recon-pipeline> tools install all
[-] go queued
[-] waybackurls queued
[-] seclists queued
[-] exploitdb queued
[-] searchsploit queued
[-] gobuster queued
[-] masscan queued
[-] amass queued
[-] tko-subs queued
[-] recursive-gobuster queued
[-] webanalyze queued
[-] luigi-service queued
[-] aquatone queued
[-] subjack queued
[*] Installing go...
[=] wget -q https://dl.google.com/go/go1.20.4.linux-amd64.tar.gz -O /tmp/go.tar.gz
[=] tar -C /home/kali/.local/recon-pipeline/tools/pipeline-go -xvf /tmp/go.tar.gz
[=] bash -c 'if [ ! $(grep $(dirname /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go ) /home/kali/.bashrc ) ]; then echo PATH=${PATH}:$(dirname /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go ) >> /home/kali/.bashrc ; fi'
[+] go installed!
[*] Installing waybackurls...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go get github.com/tomnomnom/waybackurls
[!] go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.                                                                                                                                                                                                          
        To build and install a command, use 'go install' with a version,                                                                                                                                                                                           
        like 'go install example.com/cmd@latest'                                                                                                                                                                                                                   
        For more information, see https://golang.org/doc/go-get-install-deprecation                                                                                                                                                                                
        or run 'go help get' or 'go help install'.                                                                                                                                                                                                                 
[!!] one (or more) of waybackurls's commands failed and may have not installed properly; check output from the offending command above...
[*] Installing seclists...
[=] bash -c 'if [[ -d /usr/share/seclists ]]; then ln -s /usr/share/seclists /home/kali/.local/recon-pipeline/tools/seclists ; elif [[ -d /home/kali/.local/recon-pipeline/tools/seclists ]] ; then cd /home/kali/.local/recon-pipeline/tools/seclists && git fetch --all && git pull; else git clone https://github.com/danielmiessler/SecLists.git /home/kali/.local/recon-pipeline/tools/seclists ; fi'                                                                                                                            
[!] Cloning into '/home/kali/.local/recon-pipeline/tools/seclists'...
Updating files: 100% (5450/5450), done.                                                                                                                                                                                                                            
[+] seclists installed!
[*] Installing exploitdb...
[+] exploitdb installed!
[*] Installing searchsploit...
[=] bash -c 'if [ -d /usr/share/exploitdb ]; then sudo ln -fs /usr/share/exploitdb /home/kali/.local/recon-pipeline/tools/exploitdb && sudo ln -fs $(which searchsploit) /home/kali/.local/recon-pipeline/tools/exploitdb/searchsploit ; elif [ -d /home/kali/.local/recon-pipeline/tools/exploitdb ]; then cd /home/kali/.local/recon-pipeline/tools/exploitdb && git fetch --all && git pull; else git clone https://github.com/offensive-security/exploitdb.git /home/kali/.local/recon-pipeline/tools/exploitdb ; fi'             
[=] bash -c 'if [ -f /home/kali/.local/recon-pipeline/tools/exploitdb/.searchsploit_rc ]; then cp -n /home/kali/.local/recon-pipeline/tools/exploitdb/.searchsploit_rc /home/kali ; fi'
[=] bash -c 'if [ -f /home/kali/.searchsploit_rc ]; then sed -i 's#/opt#/home/kali/.local/recon-pipeline/tools#g' /home/kali/.searchsploit_rc ; fi'
[+] searchsploit installed!
[*] Installing gobuster...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go get github.com/OJ/gobuster
[!] go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.                                                                                                                                                                                                          
        To build and install a command, use 'go install' with a version,                                                                                                                                                                                           
        like 'go install example.com/cmd@latest'                                                                                                                                                                                                                   
        For more information, see https://golang.org/doc/go-get-install-deprecation                                                                                                                                                                                
        or run 'go help get' or 'go help install'.                                                                                                                                                                                                                 
[!!] one (or more) of gobuster's commands failed and may have not installed properly; check output from the offending command above...
[*] Installing masscan...
[=] git clone https://github.com/robertdavidgraham/masscan /tmp/masscan
[!] Cloning into '/tmp/masscan'...
[=] make -s -j -C /tmp/masscan
[=] mv /tmp/masscan/bin/masscan /home/kali/.local/recon-pipeline/tools/masscan
[=] rm -rf /tmp/masscan
[=] sudo setcap CAP_NET_RAW+ep /home/kali/.local/recon-pipeline/tools/masscan
[+] masscan installed!
[*] Installing amass...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go install -v github.com/OWASP/Amass/v3/...@master
[!] go: downloading github.com/OWASP/Amass v1.5.3-0.20190925044303-702376c79403
go: downloading github.com/OWASP/Amass/v3 v3.23.1                                                                                                                                                                                                                  
go: github.com/OWASP/Amass/v3/...@master: github.com/OWASP/Amass/[email protected]: parsing go.mod:                                                                                                                                                                       
        module declares its path as: github.com/owasp-amass/amass/v3                                                                                                                                                                                               
                but was required as: github.com/OWASP/Amass/v3                                                                                                                                                                                                     
[!!] one (or more) of amass's commands failed and may have not installed properly; check output from the offending command above...
[*] Installing tko-subs...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go get github.com/anshumanbh/tko-subs
[!] go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.                                                                                                                                                                                                          
        To build and install a command, use 'go install' with a version,                                                                                                                                                                                           
        like 'go install example.com/cmd@latest'                                                                                                                                                                                                                   
        For more information, see https://golang.org/doc/go-get-install-deprecation                                                                                                                                                                                
        or run 'go help get' or 'go help install'.                                                                                                                                                                                                                 
[!!] one (or more) of tko-subs's commands failed and may have not installed properly; check output from the offending command above...
[!] recursive-gobuster has an unmet dependency; installing gobuster
[*] Installing gobuster...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go get github.com/OJ/gobuster
[!] go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.                                                                                                                                                                                                          
        To build and install a command, use 'go install' with a version,                                                                                                                                                                                           
        like 'go install example.com/cmd@latest'                                                                                                                                                                                                                   
        For more information, see https://golang.org/doc/go-get-install-deprecation                                                                                                                                                                                
        or run 'go help get' or 'go help install'.                                                                                                                                                                                                                 
[!!] one (or more) of gobuster's commands failed and may have not installed properly; check output from the offending command above...
[*] Installing recursive-gobuster...
[=] bash -c 'if [ -d /home/kali/.local/recon-pipeline/tools/recursive-gobuster ]; then cd /home/kali/.local/recon-pipeline/tools/recursive-gobuster && git fetch --all && git pull; else git clone https://github.com/epi052/recursive-gobuster.git /home/kali/.local/recon-pipeline/tools/recursive-gobuster ; fi'                                                                                                                                                                                                                   
[!] Cloning into '/home/kali/.local/recon-pipeline/tools/recursive-gobuster'...
[+] recursive-gobuster installed!
[*] Installing webanalyze...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go get github.com/rverton/webanalyze/...
[!] go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.                                                                                                                                                                                                          
        To build and install a command, use 'go install' with a version,                                                                                                                                                                                           
        like 'go install example.com/cmd@latest'                                                                                                                                                                                                                   
        For more information, see https://golang.org/doc/go-get-install-deprecation                                                                                                                                                                                
        or run 'go help get' or 'go help install'.                                                                                                                                                                                                                 
[!!] one (or more) of webanalyze's commands failed and may have not installed properly; check output from the offending command above...
[*] Installing luigi-service...
[=] sudo cp /home/kali/Downloads/recon-pipeline/luigid.service /lib/systemd/system/luigid.service
[=] sudo cp $(which luigid) /usr/local/bin
[=] sudo systemctl daemon-reload
[=] sudo systemctl start luigid.service
[=] sudo systemctl enable luigid.service
[!] Created symlink /etc/systemd/system/multi-user.target.wants/luigid.service → /lib/systemd/system/luigid.service.
[+] luigi-service installed!
[*] Installing aquatone...
[=] mkdir /tmp/aquatone
[=] wget -q https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip -O /tmp/aquatone/aquatone.zip
[=] bash -c 'if [[ ! $(which unzip) ]]; then sudo apt install -y zip; fi'
[=] unzip /tmp/aquatone/aquatone.zip -d /tmp/aquatone
[=] mv /tmp/aquatone/aquatone /home/kali/.local/recon-pipeline/tools/aquatone
[=] rm -rf /tmp/aquatone
[=] bash -c 'found=false; for loc in {/usr/bin/google-chrome,/usr/bin/google-chrome-beta,/usr/bin/google-chrome-unstable,/usr/bin/chromium-browser,/usr/bin/chromium}; do if [[ $(which $loc) ]]; then found=true; break; fi ; done; if [[ $found = false ]]; then sudo apt install -y chromium-browser ; fi'                                                                                                                                                                                                                         
[!] WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                                                                                                                                                                                                                                                                   
E: Package 'chromium-browser' has no installation candidate                                                                                                                                                                                                        
[!!] one (or more) of aquatone's commands failed and may have not installed properly; check output from the offending command above...
[*] Installing subjack...
[=] /home/kali/.local/recon-pipeline/tools/pipeline-go/go/bin/go get github.com/haccer/subjack
[!] go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.                                                                                                                                                                                                          
        To build and install a command, use 'go install' with a version,                                                                                                                                                                                           
        like 'go install example.com/cmd@latest'                                                                                                                                                                                                                   
        For more information, see https://golang.org/doc/go-get-install-deprecation                                                                                                                                                                                
        or run 'go help get' or 'go help install'.                                                                                                                                                                                                                 
[!!] one (or more) of subjack's commands failed and may have not installed properly; check output from the offending command above...

Environment (please complete the following information):

  • recon-pipeline version: v1.0.1
  • python version 3.10.5
  • OS:
    Distributor ID: Kali
    Description: Kali GNU/Linux Rolling
    Release: 2022.3
    Codename: kali-rolling
@skilfoy skilfoy added the bug Something isn't working label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant