tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/44-arachni-is-running-so-long-even-with-the-latest-version-0413Arachni: Discussion 2013-03-18T15:09:40Ztag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-13T20:35:36Z2013-03-13T20:35:36ZArachni is running so long even with the latest version 0.4.1.3<div><p>I logged in to the server you gave me, and I don't know how to
put this in a way that won't make you want to hurt yourself, but
all this time you were working the wrong package.</p>
<p>All the systems you were using were 64bit ones but you kept
downloading the 32bit package from <a href=
"http://downloads.arachni-scanner.com/nightlies/">http://downloads.arachni-scanner.com/nightlies/</a>.</p>
<p>Download the 64bit package and you'll be fine.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-13T20:41:52Z2013-03-13T20:41:52ZArachni is running so long even with the latest version 0.4.1.3<div><p>Thanks Tasos,</p>
<p>I am downloading the 64 bit package and will let you know if i
find out any issue.</p></div>gopal.bansal1990tag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-13T20:51:57Z2013-03-13T20:51:57ZArachni is running so long even with the latest version 0.4.1.3<div><p>Thanks Tasos,</p>
<p>Its working fine, Hope limit-count command will work on this
build.</p>
<p>Thank you so much!!!!</p></div>gopal.bansal1990tag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-13T20:53:07Z2013-03-13T20:53:07ZArachni is running so long even with the latest version 0.4.1.3<div><p>No worries, glad you got it working.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T13:59:31Z2013-03-18T14:09:19ZArachni is running so long even with the latest version 0.4.1.3<div><p>Hi Tasos,</p>
<p>We are able to execute the ./arachni command manually but when
we are trying to execute the same command from php code, we are
getting the below error; it would be great if you can also please
help us on this:</p>
<pre>
<code>/var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler.rb:272: warning: Insecure world writable dir /var/www in PATH, mode 040777
/var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/source/git.rb:176:in `rescue in load_spec_files': git://github.com/Arachni/arachni-rpc-em.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/source/git.rb:174:in `load_spec_files'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/source/path.rb:86:in `local_specs'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/source/git.rb:149:in `specs'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/lazy_specification.rb:52:in `__materialize__'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/spec_set.rb:88:in `block in materialize'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/spec_set.rb:85:in `map!'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/spec_set.rb:85:in `materialize'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/definition.rb:114:in `specs'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/definition.rb:159:in `specs_for'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/definition.rb:148:in `requested_specs'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/environment.rb:18:in `requested_specs'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/runtime.rb:13:in `setup'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler.rb:120:in `setup'
from /var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler/setup.rb:17:in `<top (required)>'
from /var/www/arachni-1.0dev-0.4dev/system/usr/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `require'
from /var/www/arachni-1.0dev-0.4dev/system/usr/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
from /var/www/arachni-1.0dev-0.4dev/system/usr/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:35:in `require'
from /var/www/arachni-1.0dev-0.4dev/bin/../system/arachni-ui-web/bin/arachni:14:in `<main>'</code>
</pre></div>gopal.bansal1990tag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T14:11:34Z2013-03-18T14:11:34ZArachni is running so long even with the latest version 0.4.1.3<div><p>Looks like you're running
<code>system/arachni-ui-web/bin/arachni</code> directly, is that
right?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T14:32:01Z2013-03-18T14:32:01ZArachni is running so long even with the latest version 0.4.1.3<div><p>There is a "system()" function in PHP which we are using to run
arachni on linux console:</p>
<p>$cm2="./arachni --mods=sqli_* <a href=
"http://testphp.vulnweb.com/">http://testphp.vulnweb.com/</a>
--report=xml:outfile=gopal_jorxn2ys_58_1_autarachni_Sql.xml";</p>
<p>$abc2=system($cm2);</p></div>gopal.bansal1990tag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T14:43:48Z2013-03-18T14:43:48ZArachni is running so long even with the latest version 0.4.1.3<div><p>Still, that doesn't tell me what script you're executing, what
dir are you running it from?<br>
What does <code>system( 'pwd' );</code> say?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T14:46:33Z2013-03-18T14:46:33ZArachni is running so long even with the latest version 0.4.1.3<div><p>Here is the output of system('pwd'):</p>
<p>command is: pwd<br>
results is: /var/www/arachni-1.0dev-0.4dev/bin</p></div>gopal.bansal1990tag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T14:56:23Z2013-03-18T14:56:23ZArachni is running so long even with the latest version 0.4.1.3<div><p>This is an environment issue and I've no idea how to help you
fix it but could you try running:<br>
<code>php5 -r "system( './arachni -h' );"</code></p>
<p>From the same dir but from the command-line rather than via
Apache.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T15:04:30Z2013-03-18T15:04:30ZArachni is running so long even with the latest version 0.4.1.3<div><p>This command is working on command line with the below
warning:</p>
<p>
/var/www/arachni-1.0dev-0.4dev/system/gems/gems/bundler-1.3.4/lib/bundler.rb:272:
warning: Insecure world writable dir /var/www in PATH, mode 040777
WARNING: Nokogiri was built against LibXML version 2.8.0, but has
dynamically loaded 2.7.8</p></div>gopal.bansal1990tag:support.arachni-scanner.com,2012-07-01:Comment/256688112013-03-18T15:09:39Z2013-03-18T15:09:39ZArachni is running so long even with the latest version 0.4.1.3<div><p>The Nokogiri warning isn't a problem, the first one though could
be.<br>
I've very little experience with Apache's intricacies so you'll
need to ask someone else as to why the CLI PHP interpreter works
but the same thing explodes when running it via Apache.</p>
<p>I suggest you ask at <a href=
"http://stackoverflow.com">StackOverflow</a>.</p></div>Tasos Laskos