Skip to content

Commit

Permalink
fix logic error with targets list on o365 spraying
Browse files Browse the repository at this point in the history
  • Loading branch information
CausticKirbyZ committed Jul 19, 2022
1 parent 46532a6 commit 60d8fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spraycannon.cr
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ when "fortigate_login"
when "o365","office365","msol"
STDERR.puts "Currently in Beta. may not be 100% reliable!!!".colorize(:yellow)
s = O365.new(options["usernames"].as(Array(String)), options["passwords"].as(Array(String)))
options["target"].as( Array(String) ) << "https://login.microsoft.com" unless options["target"].as(Array(String)).size < 1
options["target"].as( Array(String) ) << "https://login.microsoft.com" unless options["target"].as(Array(String)).size > 0
# exit 0
when "cisco_vpn" # need to go find a vpn to check it on and port the ruby file (and find the ruby file )
s = Cisco_VPN.new(options["usernames"].as(Array(String)),options["passwords"].as(Array(String)))
Expand Down

0 comments on commit 60d8fbd

Please sign in to comment.