SpecterOps / SpecterOps/MSSQLHound
Broken Cypher Query Syntax Due to Unicode Greater Than Symbols
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 346
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Broken Cypher Query Syntax Due to Unicode Greater Than Symbols
For Example: https://github.com/SpecterOps/MSSQLHound/blob/main/saved_queries/MSSQL_%20Domain%20Principals%20that%20Can%20Coerce%20and%20Relay%20to%20MSSQL.json has the query:
{
"query":"MATCH p = (:Base)-[:MSSQL_CoerceAndRelayToMSSQL]-\u003e() RETURN p"
}
It should be:
"query":"MATCH p = (:Base)-[:MSSQL_CoerceAndRelayToMSSQL]->() RETURN p"
Awesome project btw!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open saved_queries/MSSQL_%20Domain%20Principals%20that%20Can%20Coerce%20and%20Relay%20to%20MSSQL.json and inspect the query value shown in the issue. Verify the Cypher syntax around the relationship arrow and confirm the saved JSON contains the intended query text without the problematic Unicode escape.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 70/100