PaulDotCom mailing list archives

Re: mass user creation on 2008 then enumeration


From: "S. White" <swprofile () yahoo com>
Date: Tue, 30 Apr 2013 18:14:59 -0700 (PDT)

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...


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: