Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
otms61 committed Jun 3, 2020
1 parent dbdeab1 commit b35d393
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/ec2__download_userdata/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def main(args, pacu_main):

print(' {}@{}: User Data found'.format(instance_id, region))

#check for secerts
#check for secrets
find_secrets(formatted_user_data)

# Write to the "all" file
Expand Down
4 changes: 2 additions & 2 deletions modules/iam__bruteforce_permissions/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def generate_preload_actions():


def read_only_function(service, func):
"""Verifies that actions being ran are ReadOnlyAccess to minimize unexpecteed
changes to the AWS enviornment.
"""Verifies that actions being ran are ReadOnlyAccess to minimize unexpected
changes to the AWS environment.
"""
module_dir = os.path.dirname(__file__)
path = os.path.join(module_dir, 'ReadOnlyAccessPolicy.json')
Expand Down
2 changes: 1 addition & 1 deletion modules/inspector__get_reports/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'name': 'inspector__get_reports',
'author': 'Alexander Morgenstern',
'category': 'ENUM',
'one_liner': 'Captures vulnerabilties found when running a preconfigured inspector report.',
'one_liner': 'Captures vulnerabilities found when running a preconfigured inspector report.',
'description': "This module captures findings for reports in regions that support AWS Inspector. The optional argument --download-reports will automatically download any reports found into the session downloads directory under a folder named after the run id of the inspector report.",
'services': ['Inspector'],
'prerequisite_modules': [],
Expand Down
2 changes: 1 addition & 1 deletion modules/lambda__enum/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
parser = argparse.ArgumentParser(add_help=False, description=module_info['description'])
parser.add_argument('--versions-all', required=False, default=False, action='store_true', help='Grab all versions instead of just the latest')
parser.add_argument('--regions', required=False, default=None, help='One or more (comma separated) AWS regions in the format us-east-1. Defaults to all session regions.')
parser.add_argument('--checksource', required=False, default=False, action='store_true', help='Download and scan all lambda functions for secrets. Warning this could effect perforamce.' )
parser.add_argument('--checksource', required=False, default=False, action='store_true', help='Download and scan all lambda functions for secrets. Warning this could effect performance.' )

SOURCE_ENTROPY_THRESHOLD = 3.8

Expand Down
2 changes: 1 addition & 1 deletion modules/s3__download_bucket/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def main(args, pacu_main):
buckets.append(bucket['Name'])
print(' Found bucket "{bucket_name}"'.format(bucket_name=bucket['Name']))

# Process Enuemrated Buckets
# Process Enumerated Buckets
print('Starting enumerating objects in buckets...')
summary_data['readable_buckets'] = 0
objects = {}
Expand Down
2 changes: 1 addition & 1 deletion modules/systemsmanager__rce_ec2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def main(args, pacu_main):
for role in roles:
# For each AssumeRole statement
for statement in role['AssumeRolePolicyDocument']['Statement']:
# Statement->Principal could be a liist or a dict
# Statement->Principal could be a list or a dict
if type(statement['Principal']) is list:
# For each item in the list, check if ec2.amazonaws.com is in it
for principal in statement['Principal']:
Expand Down

0 comments on commit b35d393

Please sign in to comment.