Skip to content

Commit

Permalink
[backend] fix fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
savacano28 committed Oct 1, 2024
1 parent 93db9e6 commit 54f9f7a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public static Payload createDefaultCommand() {
command.setContent("cd ..");
command.setExecutor("PowerShell");
command.setPlatforms(new Endpoint.PLATFORM_TYPE[]{Endpoint.PLATFORM_TYPE.Windows});
command.setSource("MANUAL");
command.setStatus("VERIFIED");
command.setAttackPatterns(Collections.emptyList());
return command;
}
Expand All @@ -24,6 +26,8 @@ public static Payload createDefaultDnsResolution() {
DnsResolution dnsResolution = new DnsResolution("dns-resolution-id", DNS_RESOLUTION_TYPE, "dns resolution payload");
dnsResolution.setHostname("localhost");
dnsResolution.setPlatforms(new Endpoint.PLATFORM_TYPE[]{Endpoint.PLATFORM_TYPE.Linux});
dnsResolution.setSource("MANUAL");
dnsResolution.setStatus("VERIFIED");
dnsResolution.setAttackPatterns(Collections.emptyList());
return dnsResolution;
}
Expand Down

0 comments on commit 54f9f7a

Please sign in to comment.