exe/azure_enum in azure_enum-0.1.0 vs exe/azure_enum in azure_enum-0.2.0
- old
+ new
@@ -6,7 +6,12 @@
warn "Please provide domain to enumerate on command line. eg azure_enum lolware.net"
exit
end
puts "Please wait while the given domain is enumerated."
-puts AzureEnum.federated(ARGV[0])
+domains = AzureEnum.federated(ARGV[0])
+if (!domains || domains == [])
+ puts "Unfortunately this domain cannot be enumerated"
+ exit
+end
+puts domains