Skip to content

Commit

Permalink
Merge branch 'master' into bleepbop/virts-4695/resolve-manx-bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
bleepbop authored Jan 24, 2024
2 parents 3fe85eb + 94567f8 commit df02dcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ To discuss licensing opportunities, please reach out to [email protected] or dir

## Caldera Benefactor Program

If you are interested in partnering to support, sustain, and evolve Caldera™'s open source capabilities, please contact us at [email protected].
If you are interested in partnering to support, sustain, and evolve MITRE Caldera™'s open source capabilities, please contact us at [email protected].
6 changes: 3 additions & 3 deletions templates/operations.html
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ <h2>Operations</h2>
this.setPotentialLinksToAdd();
if (!this.selectedPotentialLink.ability_id) return;

const executor = link.executors.find((e) => this.potentialLink.executor === e.name);
const executor = link.executors.find((ex) => ex.platform === this.potentialLink.agent.platform && this.potentialLink.executor === ex.name);
const fields = [...new Set([...executor.command.matchAll(/#{(.*?)}/gm)].map((field) => field[1]))];
const opSource = this.SOURCES.find((s) => s.id === this.selectedOperation.source.id);
const opSourceCollected = this.SOURCES.find((source) => source.name === this.selectedOperation.name);
Expand Down Expand Up @@ -1654,7 +1654,7 @@ <h2>Operations</h2>

let executor;
if (this.selectedPotentialLink.executors) {
executor = this.selectedPotentialLink.executors.find((e) => this.potentialLink.executor === e.name);
executor = this.selectedPotentialLink.executors.find((ex) => ex.platform === this.potentialLink.agent.platform && this.potentialLink.executor === ex.name);
}

if (!combinations.length) {
Expand Down Expand Up @@ -2144,4 +2144,4 @@ <h2>Operations</h2>
#operationsPage span.status-timeout::after {
box-shadow: 0 0 0 0.2em cornflowerblue;
}
</style>
</style>

0 comments on commit df02dcb

Please sign in to comment.