From fa2a85db3f2289f07a7a00192a66ed8636abf769 Mon Sep 17 00:00:00 2001 From: mgeeky Date: Wed, 4 Dec 2019 18:24:44 +0100 Subject: [PATCH] Fixed reference to victim profile parameter's value --- clouds/aws/exfiltrate-ec2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clouds/aws/exfiltrate-ec2.py b/clouds/aws/exfiltrate-ec2.py index 435fb56..c6f3e1e 100644 --- a/clouds/aws/exfiltrate-ec2.py +++ b/clouds/aws/exfiltrate-ec2.py @@ -456,8 +456,8 @@ def parseOptions(argv): Logger.fatal("Both access key and secret key must be specified for Attacker's AWS credentials if profile was not used!") if args.victim_profile: - config['victim']['profile'] = args.profile - Logger.info(f"Using victim's profile: {args.profile}") + config['victim']['profile'] = args.victim_profile + Logger.info(f"Using victim's profile: {args.victim_profile}") elif args.victim_access_key and args.victim_secret_key: config['victim']['access-key'] = args.victim_access_key config['victim']['secret-key'] = args.victim_secret_key