Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Help Installing metasploit on Opensuse 13.2

  1. #1

    Default Help Installing metasploit on Opensuse 13.2

    Hi , i had try to install a frame work on Opensuse which is call metasploit ,

    Here is the steps i had done :

    http://muopensuselinux.blogspot.com/...mework-on.html

    But thing is when i run it ..

    i got a error message :

    Rails Error: Unable to access log file. Please ensure that /home/ash/Desktop/y/apps/pro/msf3/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.[*] Starting the Metasploit Framework console...\[-] Warning, /home/ash/Desktop/y/apps/pro/ui/config/database.yml is not readable. Try running as root or chmod.
    [-] No database definition for environment

    /home/ash/Desktop/y/apps/pro/msf3/msfconsole: No such file or directory - infocmp -C
    /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:1814:in `get_term_capabilities': undefined method `split' for nil:NilClass (NoMethodError)
    from /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:2026:in `_rl_init_terminal_io'
    from /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:2512:in `readline_initialize_everything'
    from /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:3797:in `rl_initialize'
    from /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:4816:in `readline'
    from /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/readline.rb:45:in `readline'
    from /home/ash/Desktop/y/apps/pro/msf3/lib/rex/ui/text/input/readline.rb:86:in `pgets'
    from /home/ash/Desktop/y/apps/pro/msf3/lib/rex/ui/text/shell.rb:184:in `run'
    from /home/ash/Desktop/y/apps/pro/msf3/lib/metasploit/framework/command/console.rb:30:in `start'
    from /home/ash/Desktop/y/apps/pro/msf3/lib/metasploit/framework/command/base.rb:82:in `start'
    from /home/ash/Desktop/y/apps/pro/msf3/msfconsole:48:in `<main>'
    Any help please .

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,214
    Blog Entries
    15

    Default Re: Help Installing metasploit on Opensuse 13.2

    On Mon 17 Nov 2014 04:36:26 AM CST, ashmu wrote:


    Hi , i had try to install a frame work on Opensuse which is call
    metasploit ,

    Here is the steps i had done :

    http://tinyurl.com/p85keb7

    But thing is when i run it ..

    i got a error message :

    > Rails Error: Unable to access log file. Please ensure that
    > /home/ash/Desktop/y/apps/pro/msf3/log/production.log exists and is
    > chmod 0666. The log level has been raised to WARN and the output
    > directed to STDERR until the problem is fixed.
    > Starting the Metasploit Framework console...\[-] Warning,
    > /home/ash/Desktop/y/apps/pro/ui/config/database.yml is not readable.
    > Try running as root or chmod.
    > [-] No database definition for environment
    >
    >
    >


    >
    > /home/ash/Desktop/y/apps/pro/msf3/msfconsole: No such file or
    > directory
    > - infocmp -C
    > /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:1814:in
    > `get_term_capabilities': undefined method `split' for nil:NilClass
    > (NoMethodError)
    > from
    > /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:2026:in
    > `_rl_init_terminal_io'
    > from
    > /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:2512:in
    > `readline_initialize_everything'
    > from
    > /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:3797:in
    > `rl_initialize'
    > from
    > /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/rbreadline.rb:4816:in
    > `readline'
    > from
    > /home/ash/Desktop/y/apps/pro/vendor/bundle/ruby/1.9.1/gems/rb-readline-0.5.1/lib/readline.rb:45:in
    > `readline'
    > from
    > /home/ash/Desktop/y/apps/pro/msf3/lib/rex/ui/text/input/readline.rb:86:in
    > `pgets'
    > from /home/ash/Desktop/y/apps/pro/msf3/lib/rex/ui/text/shell.rb:184:in
    > `run'
    > from
    > /home/ash/Desktop/y/apps/pro/msf3/lib/metasploit/framework/command/console.rb:30:in
    > `start'
    > from
    > /home/ash/Desktop/y/apps/pro/msf3/lib/metasploit/framework/command/base.rb:82:in
    > `start'
    > from /home/ash/Desktop/y/apps/pro/msf3/msfconsole:48:in
    > `<main>'
    >


    Any help please .


    Hi
    Grab Greg Freemyer's version on the Build Service;
    http://software.opensuse.org/package/metasploit

    P.S. always helps to post the openSUSE version your using

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  3. #3

    Default Re: Help Installing metasploit on Opensuse 13.2

    Thanks i'am giving a try right now ,would you mind show me how to remove the actual version i just install ,

    i did install the community version but :

    ash@linux-ret6:~> msfconsole/usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': /opt/metasploit3/msf3/lib/rex/ui/text/input/socket.rb:64: invalid multibyte escape: /\xff\xf4\xff\xfd\x06/ (SyntaxError)
    invalid multibyte escape: /\xff\xed\xff\xfd\x06/
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/metasploit3/msf3/lib/rex/ui/text/input.rb:18:in `<class:Input>'
    from /opt/metasploit3/msf3/lib/rex/ui/text/input.rb:14:in `<module:Text>'
    from /opt/metasploit3/msf3/lib/rex/ui/text/input.rb:5:in `<module:Ui>'
    from /opt/metasploit3/msf3/lib/rex/ui/text/input.rb:4:in `<module:Rex>'
    from /opt/metasploit3/msf3/lib/rex/ui/text/input.rb:3:in `<top (required)>'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/metasploit3/msf3/lib/rex/ui.rb:11:in `<top (required)>'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/metasploit3/msf3/lib/msf/ui.rb:6:in `<top (required)>'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/bin/msfconsole:20:in `<main>'
    ash@linux-ret6:~>

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,214
    Blog Entries
    15

    Default Re: Help Installing metasploit on Opensuse 13.2

    Hi
    I would imagine the installer has an uninstall option, try;
    Code:
    ./metasploit-latest-linux-x64-installer.run --help
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Help Installing metasploit on Opensuse 13.2

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I would imagine the installer has an uninstall option, try;
    Code:
    ./metasploit-latest-linux-x64-installer.run --help
    ash@linux-ret6:~> ./metasploit-latest-linux-x64-installer.run --help
    bash: ./metasploit-latest-linux-x64-installer.run: No such file or directory

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,214
    Blog Entries
    15

    Default Re: Help Installing metasploit on Opensuse 13.2

    Hi
    In your example, you were root user on your normal users Desktop, you need to run from there...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Help Installing metasploit on Opensuse 13.2

    Quote Originally Posted by malcolmlewis View Post
    Hi
    In your example, you were root user on your normal users Desktop, you need to run from there...

    linux-ret6:/home/ash/Desktop # ./metasploit-latest-linux-x64-installer.run --help
    bash: ./metasploit-latest-linux-x64-installer.run: No such file or directory
    linux-ret6:/home/ash/Desktop #


    i guess i miss something out ...

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,214
    Blog Entries
    15

    Default Re: Help Installing metasploit on Opensuse 13.2

    On Mon 17 Nov 2014 07:26:01 AM CST, ashmu wrote:


    malcolmlewis;2676790 Wrote:
    > Hi
    > In your example, you were root user on your normal users Desktop, you
    > need to run from there...



    linux-ret6:/home/ash/Desktop #
    ../metasploit-latest-linux-x64-installer.run --help
    bash: ./metasploit-latest-linux-x64-installer.run: No such file or
    directory
    linux-ret6:/home/ash/Desktop #


    i guess i miss something out ...


    Hi
    It looks like it, you need to find where you have the file and run
    it...
    Code:
    cd /
    find . -name metasploit-latest-linux-x64-installer.run
    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  9. #9

    Default Re: Help Installing metasploit on Opensuse 13.2

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It looks like it, you need to find where you have the file and run
    it...
    Code:
    cd /
    find . -name metasploit-latest-linux-x64-installer.run
    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

    [QUOTE][ind . -name metasploit-latest-linux-x64-installer.run./home/ash/.local/share/Trash/files/metasploit-latest-linux-x64-installer.run
    find: ‘./run/user/1000/gvfs’: Permission denied


    /QUOTE]

  10. #10
    Join Date
    Mar 2013
    Posts
    24

    Default Re: Help Installing metasploit on Opensuse 13.2

    Quote Originally Posted by ashmu View Post
    Hi , i had try to install a frame work on Opensuse which is call metasploit ,

    Here is the steps i had done :

    http://muopensuselinux.blogspot.com/...mework-on.html

    But thing is when i run it ..

    i got a error message :





    Any help please .

    Had same issue , solved it by installing the package ncurses-devel
    Hope this solves it for you as well.

    Also be sure to have installed ruby

    *note just installed from the official page

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •