Skip to content

Commit

Permalink
Update ingestors
Browse files Browse the repository at this point in the history
Create owned property on created nodes
  • Loading branch information
rvazarkar committed Aug 24, 2018
1 parent f9b7761 commit 543e169
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
Binary file modified Ingestors/DebugBuilds/SharpHound.exe
Binary file not shown.
Binary file modified Ingestors/DebugBuilds/SharpHound.pdb
Binary file not shown.
Binary file modified Ingestors/SharpHound.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion Ingestors/SharpHound.ps1

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/components/Graph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ export default class GraphContainer extends Component {
let typevar = `type_${type.toLowerCase()}`;

let statement = `MERGE (n:${type} {${key}:{name}})`
if (key === "Computer" || key === "User"){
statement = `${statement} SET n.owned=false`
}

q.run(statement, {name:varn}).then(x => {
let instance = this.state.sigmaInstance;
let id = generateUniqueId(instance, true);
Expand Down

0 comments on commit 543e169

Please sign in to comment.