mirror of
				https://github.com/mgeeky/Penetration-Testing-Tools.git
				synced 2025-11-04 04:55:26 +01:00 
			
		
		
		
	Updated Handy BloodHound Cypher Queries.
This commit is contained in:
		@@ -317,6 +317,13 @@ MATCH (u)-[:CanPrivesc]->(c) RETURN u.name, c.name
 | 
			
		||||
 | 
			
		||||
## CREATE Nodes and Edges
 | 
			
		||||
 | 
			
		||||
- Mark nodes as Owned:
 | 
			
		||||
```
 | 
			
		||||
MATCH (u) WHERE toLower(u.name) = "user1@contoso.com" SET u.owned RETURN 1 UNION
 | 
			
		||||
MATCH (u) WHERE toLower(u.name) = "group2@contoso.com" SET u.owned RETURN 1 UNION
 | 
			
		||||
MATCH (u) WHERE toLower(u.name) = "computer3@contoso.com" SET u.owned RETURN 1
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
- Mark High Value all members of High Value groups:
 | 
			
		||||
```
 | 
			
		||||
MATCH (u)-[:MemberOf]->(n {highvalue: true}) SET u.highvalue = true
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user