From 34fda176c8e711df49ad8e9995659ffe7a06f593 Mon Sep 17 00:00:00 2001 From: CausticKirbyZ Date: Tue, 28 Mar 2023 17:15:46 -0500 Subject: [PATCH] Fixed UX bug finnally. reformatted the visuals while it runs to be better as the backend db exists for exporting results. added mattermost spraytype --- src/spray_types/sprayer.cr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/spray_types/sprayer.cr b/src/spray_types/sprayer.cr index e60f546..4f5c4f4 100755 --- a/src/spray_types/sprayer.cr +++ b/src/spray_types/sprayer.cr @@ -177,11 +177,11 @@ class Sprayer pass = f[1].as(String) if (invalid_accounts.includes?(uname) && !@forced ) # also cancel if the account is previously discovered as not valid - STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because the account is flagged as not valid!!" + STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{uname}:#{pass}".colorize(:yellow).to_s } because the account is flagged as not valid!!" queued_count -= 1 # remove the count for already being sprayed next elsif ( already_sprayed.includes?("#{uname}:#{pass}") || valid_accounts.includes?(uname) ) && !@forced # if already sprayed or valid skip unless --force is applied - STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because its already sprayed!!" + STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{uname}:#{pass}".colorize(:yellow).to_s } because its already sprayed!!" queued_count -= 1 # remove the count for already being sprayed next end @@ -312,11 +312,11 @@ class Sprayer # next # end if (invalid_accounts.includes?(item[0]) && !@forced ) # also cancel if the account is previously discovered as not valid - STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because the account is flagged as not valid!!" + STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because the account is flagged as not valid!!"#.colorize(:yellow).to_s # queued_count -= 1 # remove the count for already being sprayed next elsif ( already_sprayed.includes?("#{item[0]}:#{item[1]}") || valid_accounts.includes?(item[0]) ) && !@forced # if already sprayed or valid skip unless --force is applied - STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because its already sprayed!!" + STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because its already sprayed!!"#.colorize(:yellow).to_s # queued_count -= 1 # remove the count for already being sprayed next end @@ -352,11 +352,11 @@ class Sprayer # next # end if (invalid_accounts.includes?(item[0]) && !@forced ) # also cancel if the account is previously discovered as not valid - STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because the account is flagged as not valid!!" + STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because the account is flagged as not valid!!"#.colorize(:yellow).to_s # queued_count -= 1 # remove the count for already being sprayed next elsif ( already_sprayed.includes?("#{item[0]}:#{item[1]}") || valid_accounts.includes?(item[0]) ) && !@forced # if already sprayed or valid skip unless --force is applied - STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because its already sprayed!!" + STDERR.puts "[#{"=".colorize(:yellow)}] Skipping #{"#{item[0]}:#{item[1]}".colorize(:yellow).to_s } because its already sprayed!!"#.colorize(:yellow).to_s # queued_count -= 1 # remove the count for already being sprayed next end