View Issue Details

IDProjectCategoryView StatusLast Update
0003306Kali LinuxKali Package Bugpublic2016-05-30 07:05
Reporterpmelon Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2016.1 
Fixed in Version2016.2 
Summary0003306: Arachni fails to run
Description

On a fresh Kali install arachni fails to run with the following error:

arachni [target]
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- oj.so (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /usr/lib/ruby/vendor_ruby/oj.rb:42:in <top (required)>' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/lib/ruby/vendor_ruby/oj_mimic_json.rb:2:in<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /usr/share/arachni/lib/arachni.rb:88:in &lt;top (required)>' from /usr/share/arachni/ui/cli/framework.rb:9:inrequire_relative'
from /usr/share/arachni/ui/cli/framework.rb:9:in &lt;top (required)>' from ./arachni:10:inrequire_relative'
from ./arachni:10:in `<main>'

Steps To Reproduce

apt-get install arachni
arachni [target website]

Additional Information

Have tried i386 and x86_64 distros. Same result.

Activities

sbrun

sbrun

2016-05-27 08:03

manager   ~0005284

I can't reproduce this issue.
Could you give us the versions of arachni package and ruby-oj package?
(dpkg -s [package name])

pmelon

pmelon

2016-05-27 08:28

reporter   ~0005285

I cannot reproduce from a LiveCD.

A fresh install (that includes the use of the network mirror) results in the error.

Tested again - fresh install, apt-get update && apt-get install arachni -y then arachni (target) results in a list of errors.

dpkg -s arachni = 1.4-0kali
dpkg -s ruby-oj = 2.12.10-3+b1

sbrun

sbrun

2016-05-27 08:58

manager   ~0005286

Please make apt-get dist-upgrade after apt-get update
It should update ruby-oj to the latest version 2.12.10-4+b2
And you won't have this issue

pmelon

pmelon

2016-05-27 11:37

reporter   ~0005288

Last edited: 2016-05-27 11:38

apt-get dist-upgrade results in the following errors when running arachni (different to previous):

[-] [utilities#exception_jail:428] Client: [Ethon::Errors::InvalidOption] The option: escape is invalid.
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/ethon/easy.rb:238:in block in set_attributes' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/ethon/easy.rb:235:ineach_pair'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/ethon/easy.rb:235:in set_attributes' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/ethon/easy/http/actionable.rb:102:insetup'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/ethon/easy/http/get.rb:17:in setup' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/ethon/easy/http.rb:39:inhttp_request'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/easy_factory.rb:81:in get' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/addable.rb:19:inadd'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/memoizable.rb:41:in add' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/cacheable.rb:10:inadd'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/block_connection.rb:30:in add' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/stubbable.rb:23:inadd'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/before.rb:27:in add' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/queueable.rb:77:indequeue_many'
[-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/runnable.rb:14:in run' [-] [utilities#exception_jail:428] Client: /usr/lib/ruby/vendor_ruby/typhoeus/hydra/memoizable.rb:51:inrun'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/http/client.rb:610:in block in client_run' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/utilities.rb:425:inexception_jail'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/http/client.rb:610:in client_run' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/http/client.rb:492:inrun_and_update_statistics'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/http/client.rb:221:in block in run' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/utilities.rb:425:inexception_jail'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/http/client.rb:217:in run' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework/parts/data.rb:160:inpop_page_from_url_queue'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework/parts/data.rb:107:in pop_page' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:214:inaudit_queues'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:197:in block in audit' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:177:inloop'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:177:in audit' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework.rb:117:inblock in run'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/utilities.rb:425:in exception_jail' [-] [utilities#exception_jail:428] Client: /usr/share/arachni/lib/arachni/framework.rb:117:inrun'
[-] [utilities#exception_jail:428] Client: /usr/share/arachni/ui/cli/framework.rb:63:in block in run' [-] [utilities#exception_jail:429] Client: [-] [utilities#exception_jail:430] Client: Parent: [-] [utilities#exception_jail:431] Client: Arachni::HTTP::Client [-] [utilities#exception_jail:432] Client: [-] [utilities#exception_jail:433] Client: Block: [-] [utilities#exception_jail:434] Client: #&lt;Proc:0x000000045d60c0@/usr/share/arachni/lib/arachni/http/client.rb:610> [-] [utilities#exception_jail:435] Client: [-] [utilities#exception_jail:436] Client: Caller: [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/utilities.rb:425:inexception_jail'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/http/client.rb:610:in client_run' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/http/client.rb:492:inrun_and_update_statistics'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/http/client.rb:221:in block in run' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/utilities.rb:425:inexception_jail'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/http/client.rb:217:in run' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework/parts/data.rb:160:inpop_page_from_url_queue'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework/parts/data.rb:107:in pop_page' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:214:inaudit_queues'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:197:in block in audit' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:177:inloop'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework/parts/audit.rb:177:in audit' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework.rb:117:inblock in run'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/utilities.rb:425:in exception_jail' [-] [utilities#exception_jail:437] Client: /usr/share/arachni/lib/arachni/framework.rb:117:inrun'
[-] [utilities#exception_jail:437] Client: /usr/share/arachni/ui/cli/framework.rb:63:in `block in run'
[-] [utilities#exception_jail:438] Client: --------------------------------------------------------------------------------

sbrun

sbrun

2016-05-27 13:25

manager   ~0005289

I think this issue is because of old ruby-ethon. I updated the package ruby-ethon to new version 0.8.1-0kali1.
It will take few hours before this package is available in the mirror.

pmelon

pmelon

2016-05-29 14:03

reporter   ~0005294

Can confirm that fixes the issue.

Issue History

Date Modified Username Field Change
2016-05-23 15:03 pmelon New Issue
2016-05-27 08:03 sbrun Note Added: 0005284
2016-05-27 08:03 sbrun Assigned To => sbrun
2016-05-27 08:03 sbrun Status new => feedback
2016-05-27 08:28 pmelon Note Added: 0005285
2016-05-27 08:28 pmelon Status feedback => assigned
2016-05-27 08:58 sbrun Note Added: 0005286
2016-05-27 11:37 pmelon Note Added: 0005288
2016-05-27 11:38 pmelon Note Edited: 0005288
2016-05-27 13:25 sbrun Note Added: 0005289
2016-05-29 14:03 pmelon Note Added: 0005294
2016-05-30 07:05 sbrun Status assigned => resolved
2016-05-30 07:05 sbrun Resolution open => fixed
2016-05-30 07:05 sbrun Fixed in Version => 2016.2