Results 1 to 2 of 2

Thread: Kali 2.0 64-bit and SMBEXEC

  1. #1

    Kali 2.0 64-bit and SMBEXEC

    Tried installing SMBEXEC on Kali 2.0 64 bit, several times now. Each time i have gem bundle issues. Has anybody been able to install SMBEXEC 2.0 yet? if so, what where the steps you took? Here's the issues I'm seeing after SMBEXEC has been "installed" and the binaries compiled.

    smbexec
    cannot load such file -- nmap/xml

    Load error: Make sure the Ruby gems are installed properly, run bundle install

    root@kali:/opt/smbexec# bundle install
    Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
    application for all non-root users on this machine.
    Fetching gem metadata from https://rubygems.org/.........
    Resolving dependencies...
    Using netaddr 1.5.0

    Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 extconf.rb
    checking for libxml/parser.h... yes
    checking for libxslt/xslt.h... no
    -----
    libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
    -----
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers. Check the mkmf.log file for more details. You may
    need configuration options.

    Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/bin/ruby2.1
    --with-zlib-dir
    --without-zlib-dir
    --with-zlib-include
    --without-zlib-include=${zlib-dir}/include
    --with-zlib-lib
    --without-zlib-lib=${zlib-dir}/lib
    --with-iconv-dir
    --without-iconv-dir
    --with-iconv-include
    --without-iconv-include=${iconv-dir}/include
    --with-iconv-lib
    --without-iconv-lib=${iconv-dir}/lib
    --with-xml2-dir
    --without-xml2-dir
    --with-xml2-include
    --without-xml2-include=${xml2-dir}/include
    --with-xml2-lib
    --without-xml2-lib=${xml2-dir}/lib
    --with-xslt-dir
    --without-xslt-dir
    --with-xslt-include
    --without-xslt-include=${xslt-dir}/include
    --with-xslt-lib
    --without-xslt-lib=${xslt-dir}/lib
    --with-libxslt-config
    --without-libxslt-config
    --with-pkg-config
    --without-pkg-config
    --with-libxml-2.0-config
    --without-libxml-2.0-config
    --with-libiconv-config
    --without-libiconv-config

    extconf failed, exit code 1

    Gem files will remain installed in /var/lib/gems/2.1.0/gems/nokogiri-1.5.5 for inspection.
    Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/nokogiri-1.5.5/gem_make.out
    An error occurred while installing nokogiri (1.5.5), and Bundler cannot continue.
    Make sure that `gem install nokogiri -v '1.5.5'` succeeds before bundling.
    root@kali:/opt/smbexec# `gem install nokogiri -v '1.5.5'`
    ERROR: Error installing nokogiri:
    ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 extconf.rb
    checking for libxml/parser.h... yes
    checking for libxslt/xslt.h... no
    -----
    libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
    -----
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers. Check the mkmf.log file for more details. You may
    need configuration options.

    Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/bin/ruby2.1
    --with-zlib-dir
    --without-zlib-dir
    --with-zlib-include
    --without-zlib-include=${zlib-dir}/include
    --with-zlib-lib
    --without-zlib-lib=${zlib-dir}/lib
    --with-iconv-dir
    --without-iconv-dir
    --with-iconv-include
    --without-iconv-include=${iconv-dir}/include
    --with-iconv-lib
    --without-iconv-lib=${iconv-dir}/lib
    --with-xml2-dir
    --without-xml2-dir
    --with-xml2-include
    --without-xml2-include=${xml2-dir}/include
    --with-xml2-lib
    --without-xml2-lib=${xml2-dir}/lib
    --with-xslt-dir
    --without-xslt-dir
    --with-xslt-include
    --without-xslt-include=${xslt-dir}/include
    --with-xslt-lib
    --without-xslt-lib=${xslt-dir}/lib
    --with-libxslt-config
    --without-libxslt-config
    --with-pkg-config
    --without-pkg-config
    --with-libxml-2.0-config
    --without-libxml-2.0-config
    --with-libiconv-config
    --without-libiconv-config

    extconf failed, exit code 1

    Gem files will remain installed in /var/lib/gems/2.1.0/gems/nokogiri-1.5.5 for inspection.
    Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/nokogiri-1.5.5/gem_make.out
    bash: Building: command not found


    Thanks

  2. #2
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    5
    I was able to successfully install and run on Kali 2.0 AMD64 with instructions from this link (Tested and working)
    http://hackers-workshop.net/howto-ge...with-kali-2-0/

Similar Threads

  1. smbexec package
    By mdp in forum General Archive
    Replies: 2
    Last Post: 2014-08-04, 20:01

Posting Permissions

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