mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-12-22 17:15:06 +01:00
Fixed reference to victim profile parameter's value
This commit is contained in:
parent
04d65f6547
commit
fa2a85db3f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user