Skip to content

Commit

Permalink
restructuring libs to be a bit more sane in terms of schema and so th…
Browse files Browse the repository at this point in the history
…at we can split between aws and gcp
  • Loading branch information
cktricky authored and Kenneth Toler committed Sep 25, 2018
1 parent 180fd7c commit 66291a7
Show file tree
Hide file tree
Showing 58 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion create_dbs.py
Expand Up @@ -6,7 +6,7 @@
import sqlite3
from sqlite3 import Error

from libs.sql import *
from libs.aws.sql import *



Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/brute.py → libs/aws/brute.py
Expand Up @@ -16,7 +16,7 @@
import sys


from libs.sql import *
from libs.aws.sql import *

pp = pprint.PrettyPrinter(indent=5, width=80)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/ec2.py → libs/aws/ec2.py
Expand Up @@ -10,7 +10,7 @@
import sys
import time

from libs.sql import *
from libs.aws.sql import *

pp = pprint.PrettyPrinter(indent=5, width=80)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/aws/aws_lambda.py
@@ -1,7 +1,7 @@
'''
This file is used to list lambda functions and event mappings
'''
from libs.aws_lambda import *
from libs.aws.aws_lambda import *


def module_lambda_list_functions():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/ce.py
Expand Up @@ -4,7 +4,7 @@
permission to get anything from this
'''

from libs.ce import *
from libs.aws.ce import *


def module_costexplorer_get_cost_and_usage():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/cloudfront.py
Expand Up @@ -2,7 +2,7 @@
This file is used to perform some EMR actions
'''

from libs.cloudfront import *
from libs.aws.cloudfront import *


def module_cloudfront_list_distributions():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/cloudtrail.py
@@ -1,7 +1,7 @@
'''
This file is used to perform cloudtrail actions
'''
from libs.cloudtrail import *
from libs.aws.cloudtrail import *


def module_cloudtrail_describe_trails():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/cloudwatch.py
Expand Up @@ -2,7 +2,7 @@
example calling cloudwatch functions
decribe alarms, describe alarm history, list metrics
'''
from libs.cloudwatch import *
from libs.aws.cloudwatch import *


def module_cloudwatch_describe_alarms():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/config.py
Expand Up @@ -2,7 +2,7 @@
Module for interacting with the config service
'''

from libs.config import *
from libs.aws.config import *


def module_config_list_all_rules():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/datapipeline.py
Expand Up @@ -2,7 +2,7 @@
datapipeline modules
'''

from libs.datapipeline import *
from libs.aws.datapipeline import *


def module_datapipeline_list_pipelines():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/db.py
Expand Up @@ -6,7 +6,7 @@
import sqlite3
from sqlite3 import Error

from libs.sql import *
from libs.aws.sql import *

session = boto3.Session()
credentials = session.get_credentials()
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/dynamodb.py
@@ -1,7 +1,7 @@
'''
dynamoDB examples
'''
from libs.dynamodb import *
from libs.aws.dynamodb import *


def module_dynamodb_list_tables():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/dynamodbstreams.py
@@ -1,7 +1,7 @@
'''
dynamoDBstreams examples
'''
from libs.dynamodbstreams import *
from libs.aws.dynamodbstreams import *


def module_dynamodbstreams_list_streams():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/ec2.py
Expand Up @@ -2,7 +2,7 @@
This file is used to perform various EC2 operations
'''

from libs.ec2 import *
from libs.aws.ec2 import *


def module_ec2_describe_instances_basic():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/ecr.py
Expand Up @@ -2,7 +2,7 @@
ECR functions
'''

from libs.ecr import *
from libs.aws.ecr import *


def module_ecr_describe_repos():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/elasticbeanstalk.py
@@ -1,7 +1,7 @@
'''
This file is used to perform some ElasticBeanstalk actions
'''
from libs.elasticbeanstalk import *
from libs.aws.elasticbeanstalk import *


'''
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/emr.py
Expand Up @@ -2,7 +2,7 @@
This file is used to perform some EMR actions
'''

from libs.emr import *
from libs.aws.emr import *


def module_emr_list_clusters():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/firehose.py
@@ -1,7 +1,7 @@
'''
Firehose functions
'''
from libs.firehose import *
from libs.aws.firehose import *


def module_firehose_list_delivery_streams():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/iam.py
Expand Up @@ -2,7 +2,7 @@
IAM recon functions
'''

from libs.iam import *
from libs.aws.iam import *


def module_iam_list_groups():
Expand Down
4 changes: 2 additions & 2 deletions modules/aws/iam_pwn.py
Expand Up @@ -2,8 +2,8 @@
Functions specifically related to IAM account takeover if you have root or IAM access gather user info,
manipulate access keys or passwords, make backdoor account
'''
from libs.iam import *
from libs.sts import *
from libs.aws.iam import *
from libs.aws.sts import *


def module_iam_get_account_summary():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/lightsail.py
Expand Up @@ -2,7 +2,7 @@
Module for interacting with the lightsail
'''

from libs.lightsail import *
from libs.aws.lightsail import *


def module_lightsail_get_instances():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/opsworks.py
@@ -1,4 +1,4 @@
from libs.opsworks import *
from libs.aws.opsworks import *


def module_opsworks_describe_stacks():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/pricing.py
Expand Up @@ -4,7 +4,7 @@
permission to get anything from this
'''

from libs.pricing import *
from libs.aws.pricing import *


def module_pricing_describe_services():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/rds.py
Expand Up @@ -2,7 +2,7 @@
RDS module
'''

from libs.rds import *
from libs.aws.rds import *


def module_rds_describe_db_instances():
Expand Down
12 changes: 6 additions & 6 deletions modules/aws/recon.py
Expand Up @@ -3,14 +3,14 @@
that have functions that done have arguments if we can access them :-)
'''

from libs.brute import *
from libs.s3 import *
from libs.aws.brute import *
from libs.aws.s3 import *

# for recon_defaults
from libs.elasticbeanstalk import *
from libs.opsworks import *
from libs.route53 import *
from libs.sts import *
from libs.aws.elasticbeanstalk import *
from libs.aws.opsworks import *
from libs.aws.route53 import *
from libs.aws.sts import *

# maps to available services in boto 1.7.4

Expand Down
4 changes: 2 additions & 2 deletions modules/aws/route53.py
Expand Up @@ -2,13 +2,13 @@
route53 functions
'''

from libs.route53 import *
from libs.aws.route53 import *


def module_route53_list_geolocations():
'''
Route53 list geolocations
python3 weirdAAL.py -m route53_list_geolocations -t demo
'''
list_geolocations()
2 changes: 1 addition & 1 deletion modules/aws/s3.py
Expand Up @@ -2,7 +2,7 @@
S3 module
'''

from libs.s3 import *
from libs.aws.s3 import *


def module_s3_get_bucket_policy(*args):
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/ses.py
Expand Up @@ -2,7 +2,7 @@
SES module
'''

from libs.ses import *
from libs.aws.ses import *


def module_ses_list_identities():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/sns.py
Expand Up @@ -2,7 +2,7 @@
SNS module
'''

from libs.sns import *
from libs.aws.sns import *

def module_sns_list_topics():
'''
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/sqs.py
Expand Up @@ -2,7 +2,7 @@
SQS Modules
'''

from libs.sqs import *
from libs.aws.sqs import *


def module_sqs_list_queues():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/sts.py
Expand Up @@ -2,7 +2,7 @@
This file is used to perform some EMR actions
'''

from libs.sts import *
from libs.aws.sts import *


def module_sts_get_accountid():
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/translate.py
Expand Up @@ -2,7 +2,7 @@
Translate module
'''

from libs.translate import *
from libs.aws.translate import *


def module_translate_translate_text(*text):
Expand Down

0 comments on commit 66291a7

Please sign in to comment.