BadBlood by @davidprowe, Secframe.com, fills a Microsoft Active Directory Domain with a structure and thousands of objects. The output of the tool is a domain similar to a domain in the real world. After BadBlood is ran on a domain, security analysts and engineers can practice using tools to gain an understanding and prescribe to securing Active Directory. Each time this tool runs, it produces different results. The domain, users, groups, computers and permissions are different. Every. Single. Time.
Right now there is no user checking to see if a user exists. This adds a check and sets a return value so that the main script can track if it had an error or not, and ultimately will only increase count on successes so failed users aren't counted in the total count.
Right now there is no user checking to see if a user exists. This adds a check and sets a return value so that the main script can track if it had an error or not, and ultimately will only increase count on successes so failed users aren't counted in the total count.