s3 clean up and porting
This commit is contained in:
@@ -159,7 +159,7 @@ def module_recon_all():
|
||||
# XRay no functions
|
||||
|
||||
# S3 bucket's while we are here...
|
||||
get_s3objects_for_account()
|
||||
s3_get_objects_for_account()
|
||||
|
||||
|
||||
def module_recon_defaults():
|
||||
|
||||
37
modules/s3.py
Normal file
37
modules/s3.py
Normal file
@@ -0,0 +1,37 @@
|
||||
'''
|
||||
S3 module
|
||||
'''
|
||||
|
||||
from libs.s3 import *
|
||||
|
||||
|
||||
def module_s3_get_bucket_policy(*args):
|
||||
'''
|
||||
S3 list specific bucket acl and policy
|
||||
python3 weirdAAL.py -m s3_get_bucket_policy -a 'bucket' -t yolo
|
||||
'''
|
||||
s3_get_bucket_policy(args[0][0])
|
||||
|
||||
|
||||
def module_s3_list_buckets():
|
||||
'''
|
||||
S3 list buckets
|
||||
python3 weirdAAL.py -m s3_list_buckets -t yolo
|
||||
'''
|
||||
s3_get_objects_for_account()
|
||||
|
||||
|
||||
def module_s3_list_buckets_and_policies():
|
||||
'''
|
||||
S3 list all buckets and their policies
|
||||
python3 weirdAAL.py -m s3_list_buckets_and_policies -t yolo
|
||||
'''
|
||||
s3_get_objects_for_account_detailed()
|
||||
|
||||
|
||||
def module_s3_list_buckets_from_file(*args):
|
||||
'''
|
||||
S3 list buckets
|
||||
python3 weirdAAL.py -m s3_list_buckets_from_file -a 'bucket_list.txt' -t yolo
|
||||
'''
|
||||
s3_get_bucket_objects_from_file(args[0][0])
|
||||
Reference in New Issue
Block a user