Kenneth Toler
75ea430cef
added roles assumable
2018-09-25 16:22:30 -04:00
Ken Johnson
e66a273277
Merge pull request #49 from cclauss/patch-2
...
Resolve undefined name 'region'. Use AWS_ACCESS_KEY_ID
2018-05-23 20:53:17 -03:00
cclauss
7ceea49e4d
Resolve undefined name 'region'. Use AWS_ACCESS_KEY_ID
...
__region__ is an _undefined name_ in this context so this PR recommends using __AWS_ACCESS_KEY_ID__ instead.
flake8 testing of https://github.com/carnal0wnage/weirdAAL on Python 3.6.3
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./libs/aws_lambda.py:135:86: F821 undefined name 'region'
print("[-] GetAccountSettings allowed for {} but no results [-]" .format(region))
^
./libs/s3.py:289:54: F821 undefined name 'file'
print("{} object does not exist.".format(file))
^
2 F821 undefined name 'region'
2
```
2018-05-24 00:10:12 +02:00
cclauss
e97bd9ab22
Typo in variable name: file --> source_file
...
Should solve one undefined name in flake8 testing of https://github.com/carnal0wnage/weirdAAL on Python 3.6.3
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./libs/aws_lambda.py:135:86: F821 undefined name 'region'
print("[-] GetAccountSettings allowed for {} but no results [-]" .format(region))
^
./libs/s3.py:289:54: F821 undefined name 'file'
print("{} object does not exist.".format(file))
^
2 F821 undefined name 'region'
2
```
2018-05-23 23:58:23 +02:00
Chris Gates
76e08f58ed
Update sts.py
...
ref https://github.com/carnal0wnage/weirdAAL/pull/46#pullrequestreview-122111997
2018-05-22 06:48:03 -04:00
cclauss
34ea04ad36
import sys for sys.exit()
2018-05-22 07:30:27 +02:00
Chris Gates
cf89388c82
Merge pull request #44 from carnal0wnage/sns
...
Sns
2018-05-20 08:49:12 -04:00
cktricky
1ed839cfda
so you can delete SNS topics
2018-05-19 23:05:17 -03:00
cktricky
77f99e34ff
cool, now we can delete sns topics
2018-05-19 22:00:31 -03:00
cktricky
236bb19063
added the ability to list topics in each region as well as list all subscribers for a topic
2018-05-17 22:15:49 -04:00
carnal0wnage
9742a6fb99
s3 updates
2018-05-17 20:10:19 -04:00
carnal0wnage
7f6ad7a02f
lightsaile pep8
2018-05-17 19:43:56 -04:00
carnal0wnage
eb6665c09b
upload/download files
2018-05-17 19:27:15 -04:00
carnal0wnage
ac812ff970
lightsail module starter
2018-05-17 19:11:21 -04:00
carnal0wnage
acea7a4dd6
s3 clean up and porting
2018-05-17 18:18:18 -04:00
carnal0wnage
e5ecdae1e4
fixes #29
2018-05-09 20:37:50 -04:00
carnal0wnage
5cc626d6b2
exit on cred check - ec2 errors for bad keys
2018-05-08 12:03:57 -04:00
carnal0wnage
1c633fe216
pep8 and documentation
2018-05-02 22:44:58 -04:00
carnal0wnage
fa6400ee41
db updates and an iam function
2018-05-01 19:21:21 -04:00
carnal0wnage
32ec7ae4fb
add the ability to stop an instance...dry run
2018-05-01 14:15:56 -04:00
carnal0wnage
53769f50a3
cloudfront
2018-04-30 20:56:02 -04:00
carnal0wnage
dcc98a88b8
ec2 updates for error handling
2018-04-26 23:56:07 -04:00
carnal0wnage
137ca0ef61
remove a print statemetn
2018-04-26 22:54:59 -04:00
Chris Gates
b9cc16da46
Merge pull request #36 from carnal0wnage/config_service_check
...
Config service check
2018-04-26 16:56:03 -04:00
cktricky
f0a3ea9fe0
added the ability to delete recorders and rules from Config service
2018-04-26 12:53:49 -04:00
cktricky
56d01a0aaa
this is printing much prettier than before
2018-04-26 11:46:05 -04:00
cktricky
4e7891e668
creating two separate functions
2018-04-26 10:53:59 -04:00
cktricky
8cc7331e75
working thru this but still testing
2018-04-25 00:00:00 -04:00
carnal0wnage
53c89be8dd
pep8 fixes
2018-04-24 21:40:16 -04:00
carnal0wnage
a5adb1def9
lambda update for get function and broken error handling in ec2
2018-04-24 21:10:30 -04:00
Chris Gates
39b86b431d
ec2 updates for getting launchable and owned AMIs
2018-04-24 14:38:00 -04:00
carnal0wnage
84fdf85a11
pep8 fixes
2018-04-23 21:04:48 -04:00
carnal0wnage
f9dc173da3
documentation and pep8
2018-04-23 19:50:33 -04:00
carnal0wnage
ed630bba1f
iam updates
2018-04-23 19:26:47 -04:00
cktricky
283bb147fe
global vars for db_name and target
2018-04-21 14:15:35 -04:00
carnal0wnage
b725523de1
get console output and get console screenshot functionality
2018-04-20 22:14:20 -04:00
carnal0wnage
6c6359476f
move comments around for pydocs functionality
2018-04-19 23:03:08 -04:00
carnal0wnage
cfe398373b
ALL the services...finally...if you dont like it...fuck u :-)
2018-04-19 18:17:15 -04:00
carnal0wnage
04475dcb20
updates
2018-04-19 18:16:32 -04:00
carnal0wnage
4c7d75ac9f
translate lolz
2018-04-19 17:53:52 -04:00
carnal0wnage
8f3e3d6ac0
a bit more cleanup and docs
2018-04-18 23:02:18 -04:00
carnal0wnage
38e59841cf
cloudtrail stop & delete trails
2018-04-18 22:57:31 -04:00
carnal0wnage
04e2fb230f
stab at ec2 log sub_service to db
2018-04-18 21:49:59 -04:00
carnal0wnage
51b6a6d205
updates
2018-04-18 20:51:53 -04:00
carnal0wnage
582c2c7d38
documentation and rm'ing the key piece
2018-04-16 21:05:15 -04:00
Chris Gates
886ba10e49
fix recon with new way of doing biz
2018-04-16 16:25:44 -04:00
Chris Gates
5e88b0c2b2
lambda config and pep8
2018-04-16 15:08:43 -04:00
Chris Gates
2b07cb333f
pep8
2018-04-16 15:02:35 -04:00
Chris Gates
68fcc5d9d3
rename to make more consistent
2018-04-16 14:51:06 -04:00
Chris Gates
89914e7e10
fix ec2 modules to not use config.py
2018-04-16 14:36:07 -04:00