Skip to content

Commit

Permalink
Merge pull request #810 from splunk/attack_range_improvements
Browse files Browse the repository at this point in the history
bug fixes
  • Loading branch information
P4T12ICK committed Jun 20, 2023
2 parents 0d2e94d + 5360c9c commit 3113557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def create_key_pair_aws(region):
epoch_time = str(int(time.time()))
ssh_key_name = getpass.getuser() + "-" + epoch_time[-5:] + ".key"
# create ssh keys
response = client.create_key_pair(KeyName=str(ssh_key_name)[:-4])
response = client.create_key_pair(KeyType='ed25519', KeyName=str(ssh_key_name)[:-4])
with open(ssh_key_name, "w") as ssh_key:
ssh_key.write(response['KeyMaterial'])
os.chmod(ssh_key_name, 0o600)
Expand Down
6 changes: 3 additions & 3 deletions terraform/ansible/roles/red_team_tools/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
win_shell: git clone https://github.com/TheWover/donut.git C:\tools\donut
when: install_red_team_tools == "1"

- name: Git clone PurpleSharp
win_shell: git clone https://github.com/mvelazc0/PurpleSharp.git c:\tools\PurpleSharp
when: install_red_team_tools == "1"
# - name: Git clone PurpleSharp
# win_shell: git clone https://github.com/mvelazc0/PurpleSharp.git c:\tools\PurpleSharp
# when: install_red_team_tools == "1"

- name: install sysinternals
win_shell: C:\\ProgramData\\chocolatey\\bin\\choco.exe install sysinternals --fail-on-unfound --yes --no-progress --limit-output --timeout 2700 --ignore-checksums
Expand Down

0 comments on commit 3113557

Please sign in to comment.