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

Installation #228

Closed
keesj-exset opened this issue Mar 18, 2022 · 6 comments
Closed

Installation #228

keesj-exset opened this issue Mar 18, 2022 · 6 comments
Labels
enhancement New feature or request Installation Installation issues

Comments

@keesj-exset
Copy link

Describe the bug

I am getting an error during the installation near metasploit-framework

To Reproduce

  1. EMBA installation (default mode)
    set -e
    git clone https://github.com/e-m-b-a/emba.git
    cd emba
    sudo ./installer.sh -F

Log;

default: tcllib will be newly installed.
default: 
default: metasploit-framework
default: ------------------------------------------------------------------------------------------------
default: Error detected - status code 100
default: Command:  TOOL_INFO="$(apt show "${1:-}" 2> /dev/null)"
default: Location:  ./installer/helpers.sh, line 47
default: Stack Trace:
default:     [1] print_tool_info(): ./installer/helpers.sh, line 47 -> print_tool_info metasploit-framework 1
default:     [2] I01_default_apps(): ./installer/I01_default_apps.sh, line 33 -> I01_default_apps
default:     [3] main(): ./installer.sh, line 156 -> main -F
default: 
default: Important: Consider filling out a bug report at https://github.com/e-m-b-a/emba/issues
default: 
default: ------------------------------------------------------------------------------------------------
default: bash: line 5: xit: command not found

"xit" command not found -> exit perhaps?

@keesj-exset
Copy link
Author

I tried this on differnt machines

@keesj-exset
Copy link
Author

It looks like the install helper scripts tries to get apt info on metasploit but apt returns:

   E: No packages found

This is on ubuntu 20.04 (the package does not exits)
there is a check for this line 55 but this ca not be reached if line 49 does not find a description

@m-1-k-3
Copy link
Member

m-1-k-3 commented Mar 19, 2022

Hi @keesj-exset

As far as I know the metasploit package is only available on Kali. I recommend to use the docker container with "sudo ./installer.sh -d". This installs only the cve-search and docker environment on your host.

If you really prefer using the dev mode (usually there is no reason doing this) you could bypass the errors with disabling strict mode in the installer. But I'm not sure if you are going to get a working installation at the end.

@m-1-k-3 m-1-k-3 added the Installation Installation issues label Mar 19, 2022
@keesj-exset
Copy link
Author

Hi,

I indeed came to this conclusion. The install script depends on kalilinux. I created a vagrantfile (to generate a virtual machine with emba installed). I did not test much yet but the installation works. I did try a few other approaches documented in the install but quite frankly is was all a bit confusing (if you do not start with a kalilinux base).

Perhaps .. somebody want to have a look at the vagrant based setup (this would also allow to "throw" away the virtual machine after use."

https://github.com/x7-labs/EMBAbox

@m-1-k-3
Copy link
Member

m-1-k-3 commented Mar 20, 2022

Cool! I will include a note with a link to your repo in the wiki

@m-1-k-3
Copy link
Member

m-1-k-3 commented Mar 24, 2022

Now I included a link to EMBAbox in our wiki: https://github.com/e-m-b-a/emba/wiki/Installation#random-installation-topics

Thanks for your great addition to EMBA. Will close this for now

@m-1-k-3 m-1-k-3 closed this as completed Mar 24, 2022
@m-1-k-3 m-1-k-3 added the enhancement New feature or request label Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Installation Installation issues
Projects
None yet
Development

No branches or pull requests

2 participants