tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/44-arachni-is-running-so-long-even-with-the-latest-version-0413 Arachni: Discussion 2013-03-18T15:09:40Z tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-13T20:35:36Z 2013-03-13T20:35:36Z Arachni 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 Laskos tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-13T20:41:52Z 2013-03-13T20:41:52Z Arachni 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.bansal1990 tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-13T20:51:57Z 2013-03-13T20:51:57Z Arachni 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.bansal1990 tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-13T20:53:07Z 2013-03-13T20:53:07Z Arachni 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 Laskos tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T13:59:31Z 2013-03-18T14:09:19Z Arachni 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 `&lt;top (required)&gt;' 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 `&lt;main&gt;'</code> </pre></div> gopal.bansal1990 tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T14:11:34Z 2013-03-18T14:11:34Z Arachni 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 Laskos tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T14:32:01Z 2013-03-18T14:32:01Z Arachni 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.bansal1990 tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T14:43:48Z 2013-03-18T14:43:48Z Arachni 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 Laskos tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T14:46:33Z 2013-03-18T14:46:33Z Arachni 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.bansal1990 tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T14:56:23Z 2013-03-18T14:56:23Z Arachni 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 Laskos tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T15:04:30Z 2013-03-18T15:04:30Z Arachni 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.bansal1990 tag:support.arachni-scanner.com,2012-07-01:Comment/25668811 2013-03-18T15:09:39Z 2013-03-18T15:09:39Z Arachni 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