Code Monkey home page Code Monkey logo

dockerfile-beef's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dockerfile-beef's Issues

when enable https

when enable https

...
        https:
            enable: true
...
[12:25:38][!] [GeoIP] Could not find MaxMind GeoIP database: '/opt/GeoIP/GeoLite2-City.mmdb'
[12:25:38]    |_  Run ./update-geoipdb to install
[12:25:38][*] HTTP Proxy: http://127.0.0.1:6789
[12:25:38][*] BeEF server started (press control+c to stop)
terminate called after throwing an instance of 'std::runtime_error'
  what():  Encryption not available on this event-machine

when ./update-geoipdb, curl command not find

Ruby error on starting beef in the container

Hi,

Just loaded the latest docker image from docker hub today. Then, running the container and starting Beef, I get the following error:

`root@kali:~# docker run --rm -it --net=host -v /home/phocean/.msf4:/root/.msf4:Z -v /tmp/msf:/tmp/data:Z --name=beef phocean/beef

  • Starting PostgreSQL 10 database server [ OK ]
    root@kali:/opt# cd beef/
    root@kali:/opt/beef# ./beef
    Traceback (most recent call last):
    10: from ./beef:44:in <main>' 9: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require'
    8: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' 7: from /opt/beef/core/loader.rb:16:in <top (required)>'
    6: from /usr/lib/ruby/vendor_ruby/bundler.rb:114:in require' 5: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:65:in require'
    4: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:65:in each' 3: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:76:in block in require'
    2: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:76:in each' 1: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:80:in block (2 levels) in require'
    /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:84:in rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError) Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. Backtrace for gem load error is: /var/lib/gems/2.5.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in autodetect'
    /var/lib/gems/2.5.0/gems/execjs-2.7.0/lib/execjs.rb:5:in <module:ExecJS>' /var/lib/gems/2.5.0/gems/execjs-2.7.0/lib/execjs.rb:4:in <top (required)>'
    /var/lib/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:5:in require' /var/lib/gems/2.5.0/gems/uglifier-4.1.20/lib/uglifier.rb:5:in <top (required)>'
    /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:81:in require' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:81:in block (2 levels) in require'
    /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:76:in each' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:76:in block in require'
    /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:65:in each' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:65:in require'
    /usr/lib/ruby/vendor_ruby/bundler.rb:114:in require' /opt/beef/core/loader.rb:16:in <top (required)>'
    /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require'
    ./beef:44:in <main>' Bundler Error Backtrace:

Any idea of what the problem could be ?
Thanks

Trying to build image from docker file fails

I just copied the Dockerfile and config.yaml onto my computer and tried to build the image, but I encountered various issues...

  1. when trying to build, the docker file was missing the installation of libcurl4 and libcurl4-openssl-dev (fixed)
  2. for some reason the resulting image does not contain a full copy of metasploit which does not allow me to integrate beef and msf.

if I install the pre-build beef image MSF is there a little old but good enough for my needs. But since the config.yaml in /opt/beef and /opt/beef/extensions/metasploit do not have metasploit enabled I have no way to get them to work together.

Any help will be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.