This commit is contained in:
mgeeky 2019-12-04 18:39:46 +01:00
parent fa2a85db3f
commit 38b7d354ba
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ class ExfiltrateEC2:
else: else:
Logger.fail(f"ec2:AttachVolume action on Attacker failed. Exception: {e}") Logger.fail(f"ec2:AttachVolume action on Attacker failed. Exception: {e}")
ssh_command = 'SSH to the attacker\'s EC2 instance' ssh_command = 'SSH to the attacker\'s EC2 instance\n'
if attacker_instance_data: if attacker_instance_data:
try: try:
ip = attacker_instance_data['PublicIpAddress'] ip = attacker_instance_data['PublicIpAddress']