PaulDotCom mailing list archives
Re: mass user creation on 2008 then enumeration
From: Robin Wood <robin () digininja org>
Date: Wed, 1 May 2013 02:18:47 +0100
On 1 May 2013 02:14, S. White <swprofile () yahoo com> wrote:
Hi Robin, Here is a batch file I used to create my domain users for a training class I taught... I just used some password lists and user lists from other things like laudanum and fuzzdb. If you want a quick text file, I have one ready to go with 1,907 users in it...
That would be very useful, thanks. Robin
create_users.bat =================================================== @echo on rem John Smith!smithj!password1 rem common name, existing organizational unit, domain name, domain suffix, samid or login id, password for /F "delims=! tokens=1,2,3" %%h IN (users.txt) Do dsadd user "CN=%%h,OU=bulk_users,DC=appsec,DC=local" -samid %%i -pwd %%j pause =================================================== Cheers, Scott www.trustedsec.com ------------------------------ *From:* Robin Wood <robin () digininja org> *To:* PaulDotCom Mailing List <pauldotcom () mail pauldotcom com> *Sent:* Tuesday, April 30, 2013 8:48 AM *Subject:* [Pauldotcom] mass user creation on 2008 then enumeration I'm setting up a lab for some training I've got and I need to set up a bunch of users on my 2008 DC. I know there are scripts to do this but can't find any, has anyone got a good one? I also want to enable NULL session enumeration as it is off by default on 2008. I've set the RestrictNullSessAccess registry key to 0 but it is still disabled, what else do I need to set? Robin _______________________________________________ Pauldotcom mailing list Pauldotcom () mail pauldotcom com http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom Main Web Site: http://pauldotcom.com
_______________________________________________ Pauldotcom mailing list Pauldotcom () mail pauldotcom com http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom Main Web Site: http://pauldotcom.com
Current thread:
- mass user creation on 2008 then enumeration Robin Wood (Apr 30)
- Re: mass user creation on 2008 then enumeration Michael Allen (Apr 30)
- Re: mass user creation on 2008 then enumeration Michael Allen (Apr 30)
- Re: mass user creation on 2008 then enumeration Barry Von Ahsen (Apr 30)
- Re: mass user creation on 2008 then enumeration Carlos Perez (Apr 30)
- Re: mass user creation on 2008 then enumeration Ryan B (Apr 30)
- Re: mass user creation on 2008 then enumeration Tony Turner (Apr 30)
- Re: mass user creation on 2008 then enumeration S. White (Apr 30)
- Re: mass user creation on 2008 then enumeration Robin Wood (Apr 30)
- Re: mass user creation on 2008 then enumeration ben smith (May 01)
- Re: mass user creation on 2008 then enumeration Robin Wood (May 02)
- Re: mass user creation on 2008 then enumeration Robin Wood (Apr 30)
- Re: mass user creation on 2008 then enumeration Michael Allen (Apr 30)