tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/2357-why-the-statistics-data-is-no-wrong-when-enable-the-autologin-pluginArachni: Discussion 2014-09-29T07:36:24Ztag:support.arachni-scanner.com,2012-07-01:Comment/347550632014-09-28T08:08:14Z2014-09-28T08:08:14ZWhy the statistics data is no wrong when enable the autologin plugin<div><p>What makes you think they're wrong? The autologin plugin will
pause the system while it logs in, so if you grab the stats at that
moment you'll see less progress than when the auologin plugin is
not enabled.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/347550632014-09-28T08:57:20Z2014-09-28T08:57:29ZWhy the statistics data is no wrong when enable the autologin plugin<div><p>my means after success log in statistics data. from success log
in to complete scan , the statistics data no any change.always
display like below {:http=>{:request_count=>3,
:response_count=>3, :time_out_count=>0,
:total_responses_per_second=>3.185826047526153,
:burst_response_time_sum=>3.167599, :burst_response_count=>3,
:burst_responses_per_second=>0.9179918133490085,
:burst_average_response_time=>1.0558663333333334,
:total_average_response_time=>1.0558663333333334,
:max_concurrency=>20}, :runtime=>4.271384,
:found_pages=>0, :audited_pages=>0,
:current_page=>""}_page=>""}}<br>
from pause direct to finish, no implement any check</p></div>drewztag:support.arachni-scanner.com,2012-07-01:Comment/347550632014-09-28T09:01:26Z2014-09-28T09:01:26ZWhy the statistics data is no wrong when enable the autologin plugin<div><p>Are you sure it logs in successfully? If that autologin plugin
does not un-pause the system that means that the login failed.</p>
<p>Can you show me your code please?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/347550632014-09-29T07:32:23Z2014-09-29T07:32:25ZWhy the statistics data is no wrong when enable the autologin plugin<div><p>sorry, find root cause, after use 1.0.2 not success log in.<br>
because below code in autologin.rb, in our web site no redirect, so
the response.url<br>
is same to @url = options[:url].to_s and return false for
"session.logged_in"<br>
framework.options.session.check_url = response.url
framework.options.session.check_pattern = @verifier if
!session.logged_in? register_results( 'status' =>
'check_failed', 'message' => STATUSES[:check_failed] )
print_error STATUSES[:check_failed] @errored = true return end</p></div>drewztag:support.arachni-scanner.com,2012-07-01:Comment/347550632014-09-29T07:36:22Z2014-09-29T07:36:22ZWhy the statistics data is no wrong when enable the autologin plugin<div><p>Ah, OK. This issue has been fixed and will be in the next bugfix
release. The autologin plugin will use the global settings if they
have been set.</p>
<p>You can verify this using the experimental branch if you
wish.</p>
<p>Cheers</p></div>Tasos Laskos