SpecterOps / SpecterOps/MSSQLHound

Broken Cypher Query Syntax Due to Unicode Greater Than Symbols

Open Beginner friendly
#16 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.