Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kerberos and AES auth, use sectools #6

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Fix kerberos and AES auth, use sectools #6

merged 1 commit into from
Nov 28, 2023

Conversation

lefayjey
Copy link
Contributor

Hello,

Please refer to: p0dalirius/sectools#5
The updated tool depends on the update of sectools.

Thanks!

@lefayjey
Copy link
Contributor Author

Before updates (AES)

└─$  python3 /opt/old/ldapconsole.py -d essos.local -u daenerys.targaryen --aes-key cf091fbd07f729567ac448ba96c08b12fa67c1372f439ae093f67c6e2cf82378 --dc-ip 192.168.56.12                   
[+]======================================================
[+]    LDAP search console v1.1        @podalirius_      
[+]======================================================

WARNING:root:NTLM needs domain\username and a password

After updates

└─$ python3 /opt/new/ldapconsole.py -d essos.local -u daenerys.targaryen --aes-key cf091fbd07f729567ac448ba96c08b12fa67c1372f439ae093f67c6e2cf82378 --dc-ip 192.168.56.12 --kdcHost MEEREEN 
[+]======================================================
[+]    LDAP search console v1.1        @podalirius_      
[+]======================================================

[DC=essos,DC=local]> presetquery get_all_users 
 | Administrator             : S-1-5-21-1890677768-3030231249-2436160466-500
 | Guest                     : S-1-5-21-1890677768-3030231249-2436160466-501
 | DefaultAccount            : S-1-5-21-1890677768-3030231249-2436160466-503
 | snaplabs                  : S-1-5-21-1890677768-3030231249-2436160466-1008
 | krbtgt                    : S-1-5-21-1890677768-3030231249-2436160466-502
 | SEVENKINGDOMS$            : S-1-5-21-1890677768-3030231249-2436160466-1113
 | daenerys.targaryen        : S-1-5-21-1890677768-3030231249-2436160466-1118
 | viserys.targaryen         : S-1-5-21-1890677768-3030231249-2436160466-1119
 | khal.drogo                : S-1-5-21-1890677768-3030231249-2436160466-1120
 | jorah.mormont             : S-1-5-21-1890677768-3030231249-2436160466-1121
 | sql_svc                   : S-1-5-21-1890677768-3030231249-2436160466-1122
[DC=essos,DC=local]> 

@p0dalirius p0dalirius merged commit dca7938 into p0dalirius:master Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants