move comments around for pydocs functionality

This commit is contained in:
carnal0wnage
2018-04-19 23:03:08 -04:00
parent 6428dca3af
commit 6c6359476f
26 changed files with 239 additions and 167 deletions

View File

@@ -1,13 +1,13 @@
'''
Cloudtrail functions for WeirdAAL
'''
import boto3
import botocore
import os
import pprint
import sys
'''
Cloudtrail functions for WeirdAAL
'''
pp = pprint.PrettyPrinter(indent=5, width=80)
# from http://docs.aws.amazon.com/general/latest/gr/rande.html
@@ -100,7 +100,7 @@ def list_public_keys():
def stop_trail(TrailARN):
'''
Stop a specified trailARN
port of https://github.com/dagrz/aws_pwn/blob/master/stealth/disrupt_cloudtrail.py
Port of https://github.com/dagrz/aws_pwn/blob/master/stealth/disrupt_cloudtrail.py
'''
print("### Attempting to stop trail {} ###\n".format(TrailARN[0]))
try:
@@ -144,7 +144,7 @@ def stop_trail(TrailARN):
def delete_trail(TrailARN):
'''
Delete a specified trailARN
port of https://github.com/dagrz/aws_pwn/blob/master/stealth/disrupt_cloudtrail.py
Port of https://github.com/dagrz/aws_pwn/blob/master/stealth/disrupt_cloudtrail.py
'''
print("### Attempting to delete trail {} ###\n".format(TrailARN[0]))
try: