Fixed reference to victim profile parameter's value

This commit is contained in:
mgeeky 2019-12-04 18:24:44 +01:00
parent 04d65f6547
commit fa2a85db3f

View File

@ -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