Closed Swiffers closed 9 years ago
I think that's somewhere in the install guide.. you have to install "ruby-dev" or something. I can look it up later. :)
On Wed, Sep 16, 2015 at 3:10 PM, Swiffers notifications@github.com wrote:
Following your installation manual, with a Droplet from https://cloud.digitalocean.com; I end up with the following error :
ruby ./dnscat2.rb
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in
to_specs': Could not find rexec (~> 1.6.2) amongst [bundler-1.10.6, eventmachine-1.0.3, rubydns-0.7.3, trollop-2.0] (Gem::LoadError) from /usr/lib/ruby/1.9.1/rubygems/specification.rb:777:in
block in activate_dependencies' from /usr/lib/ruby/1.9.1/rubygems/specification.rb:766:ineach' from /usr/lib/ruby/1.9.1/rubygems/specification.rb:766:in
activate_dependencies' from /usr/lib/ruby/1.9.1/rubygems/specification.rb:750:inactivate' from /usr/lib/ruby/1.9.1/rubygems.rb:212:in
rescue in try_activate' from /usr/lib/ruby/1.9.1/rubygems.rb:209:intry_activate' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in
rescue in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:inrequire' from /root/dnscat2/server/driver_dns.rb:11:in
<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:inrequire' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in
rescue in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:inrequire' from ./dnscat2.rb:14:in
' — Reply to this email directly or view it on GitHub https://github.com/iagox86/dnscat2/issues/65.
So, that's not the error I was thinking of, the one I noticed looked like:
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
And installing the "ruby-dev" package worked. It's possible I just have to add "rexec" to the gemfile. If installing "ruby-dev" doesn't help, can you run "gem install rexec" and see if that helps?
Issue solved ! As you recommended, the rexec gem solved the problem.
gem install rexec
Great! I added it to the Gemfile explicitly.
Following your installation manual, with a Droplet from https://cloud.digitalocean.com; I end up with the following error :