Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 12 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/components/Modals/AddEdgeModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ export default class AddEdgeModal extends Component {
<option>Contains</option>
<option>GpLink</option>
<option>CanRDP</option>
<option>CanPSRemote</option>
<option>ExecuteDCOM</option>
<option>AllowedToDelegate</option>
</select>
Expand Down
16 changes: 16 additions & 0 deletions src/components/SearchContainer/SearchContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,22 @@ export default class SearchContainer extends Component {
CanRDP
</label>
</div>
<div>
<input
className='checkbox-inline'
type='checkbox'
name='CanPSRemote'
checked={this.state.edgeincluded.CanPSRemote}
onChange={this.handleChange.bind(this)}
/>
<label
onClick={this.handleChange.bind(this)}
name='CanPSRemote'
>
{' '}
CanPSRemote
</label>
</div>
<div>
<input
className='checkbox-inline'
Expand Down
20 changes: 20 additions & 0 deletions src/components/SearchContainer/Tabs/ComputerNodeData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,16 @@ class ComputerNodeData extends Component {
distinct
/>

<NodeCypherLink
property='First Degree PSRemoting Users'
target={this.state.label}
baseQuery={
'MATCH p=(n)-[r:CanPSRemote]->(m:Computer {name:{name}})'
}
end={this.state.label}
distinct
/>

<NodeCypherLink
property='Group Delegated Remote Desktop Users'
target={this.state.label}
Expand All @@ -386,6 +396,16 @@ class ComputerNodeData extends Component {
distinct
/>

<NodeCypherLink
property='Group Delegated PSRemoting Users'
target={this.state.label}
baseQuery={
'MATCH p=(n)-[r1:MemberOf*1..]->(g:Group)-[r:CanPSRemote]->(m:Computer {name:{name}})'
}
end={this.state.label}
distinct
/>

<NodeCypherLink
property='First Degree Distributed COM Users'
target={this.state.label}
Expand Down
20 changes: 20 additions & 0 deletions src/components/SearchContainer/Tabs/GroupNodeData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,16 @@ class GroupNodeData extends Component {
distinct
/>

<NodeCypherLink
property='First Degree PSRemoting Privileges'
target={this.state.label}
baseQuery={
'MATCH p=(m:Group {name:{name}})-[r:CanPSRemote]->(n:Computer)'
}
start={this.state.label}
distinct
/>

<NodeCypherLink
property='Group Delegated RDP Privileges'
target={this.state.label}
Expand All @@ -385,6 +395,16 @@ class GroupNodeData extends Component {
distinct
/>

<NodeCypherLink
property='Group Delegated PSRemoting Privileges'
target={this.state.label}
baseQuery={
'MATCH p=(m:Group {name:{name}})-[r1:MemberOf*1..]->(g:Group)-[r2:CanPSRemote]->(n:Computer)'
}
start={this.state.label}
distinct
/>

<NodeCypherLink
property='First Degree DCOM Privileges'
target={this.state.label}
Expand Down
21 changes: 21 additions & 0 deletions src/components/SearchContainer/Tabs/UserNodeData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,16 @@ class UserNodeData extends Component {
distinct
/>

<NodeCypherLink
property='First Degree PSRemoting Privileges'
target={this.state.label}
baseQuery={
'MATCH p=(m:User {name:{name}})-[r:CanPSRemote]->(n:Computer)'
}
start={this.state.label}
distinct
/>

<NodeCypherLink
property='Group Delegated RDP Privileges'
target={this.state.label}
Expand All @@ -413,6 +423,17 @@ class UserNodeData extends Component {
distinct
/>

<NodeCypherLink
property='Group Delegated PSRemoting Privileges'
target={this.state.label}
baseQuery={
'MATCH p=(m:User {name:{name}})-[r1:MemberOf*1..]->(g:Group)-[r2:CanPSRemote]->(n:Computer)'
}
start={this.state.label}
distinct
/>


<NodeCypherLink
property='First Degree DCOM Privileges'
target={this.state.label}
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ global.appStore = {
GpLink: 'tapered',
Owns: 'tapered',
CanRDP: 'tapered',
CanPSRemote: 'tapered',
ExecuteDCOM: 'tapered',
ReadLAPSPassword: 'tapered',
AllowedToDelegate: 'tapered',
Expand Down Expand Up @@ -191,6 +192,7 @@ global.appStore = {
GpLink: 'line',
Owns: 'line',
CanRDP: 'line',
CanPSRemote: 'line',
ExecuteDCOM: 'line',
ReadLAPSPassword: 'line',
AllowedToDelegate: 'line',
Expand Down Expand Up @@ -285,6 +287,7 @@ if (typeof conf.get('edgeincluded') === 'undefined') {
WriteDacl: true,
WriteOwner: true,
CanRDP: true,
CanPSRemote: true,
ExecuteDCOM: true,
AllowedToDelegate: true,
ReadLAPSPassword: true,
Expand Down
Loading