Skip to content

Commit

Permalink
Update 003-ntds.cql
Browse files Browse the repository at this point in the history
  • Loading branch information
1mm0rt41PC authored May 21, 2024
1 parent cb50004 commit b0cfb03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neo4j-scripts/003-ntds.cql
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,14 @@ SET

// Empty password
RETURN 'Set Empty password' AS `003-ntds.cql`;
/*
MATCH (u:User{pwdNtHash:'?'})
SET
u.owned = TRUE,
u.pwdNtHash = '31D6CFE0D16AE931B73C59D7E0C089C0',
u.pwdClearText = 'PEVNUFRZPg==',
u.pwdLength = 0;
// */

// Fix bad name
MATCH (u) WHERE u.name IS NULL AND u.samaccountname IS NOT NULL SET u.name = u.samaccountname RETURN COUNT(u) AS `Nb object with SAN without NAME`;
Expand Down

0 comments on commit b0cfb03

Please sign in to comment.