From 1a712a82992ac6b5f7a0acfeb2fd5e551fb6b778 Mon Sep 17 00:00:00 2001 From: carnal0wnage Date: Thu, 30 May 2019 10:10:43 -0400 Subject: [PATCH] update a module to say Elastic as it doesnt the ec2 public ip, but the elastic ip --- libs/aws/ec2.py | 4 ++-- modules/aws/ec2.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/aws/ec2.py b/libs/aws/ec2.py index aef2fce..e80ae12 100644 --- a/libs/aws/ec2.py +++ b/libs/aws/ec2.py @@ -438,9 +438,9 @@ def get_instance_volume_details2(): print("CTRL-C received, exiting...") -def describe_addresses(): +def describe_elastic_addresses(): ''' - Describe EC2 addresses (loop through all regions) + Describe EC2 elastic addresses (loop through all regions) ''' try: for region in regions: diff --git a/modules/aws/ec2.py b/modules/aws/ec2.py index bfbe53c..09930aa 100644 --- a/modules/aws/ec2.py +++ b/modules/aws/ec2.py @@ -64,12 +64,12 @@ def module_ec2_review_encrypted_volumes(): review_encrypted_volumes() -def module_ec2_describe_addresses(): +def module_ec2_describe_elastic_addresses(): ''' This function is used to describe ec2 network addresses. python3 weirdAAL.py -m ec2_describe_addresses -t demo ''' - describe_addresses() + describe_elastic_addresses() def module_ec2_describe_network_interfaces():