Wh1t3Fox / polenum

Uses Core's Impacket Library to get the password policy from a windows machine
GNU General Public License v3.0
33 stars 14 forks source link

Windows Server 2008x64 & also Null Sessions #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

I was having some issues connecting an authenticated session with Windows Server 2008 x64, commenting out #dce.set_auth_level(ntlm.NTLM_AUTH_PKT_INTEGRITY) fixed that issue.

Also when trying to connect to a NULL Session it was failing also. Changing the hsamrconnect to hsamrconnect2

resp = samr.hSamrConnect2(dce) fixed this also.