Skip to content

Instantly share code, notes, and snippets.

Avatar
🎩
Working

Shawn tolidano

🎩
Working
View GitHub Profile
@tolidano
tolidano / music_theory.py
Created May 19, 2021 — forked from mvanga/music_theory.py
Basic Music Theory in ~200 Lines of Python
View music_theory.py
# The code for my article with the same name. You can find it at the URL below:
# https://www.mvanga.com/blog/basic-music-theory-in-200-lines-of-python
# MIT License
#
# Copyright (c) 2021 Manohar Vanga
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
View AWS Security Resources
INTRO
I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute.
Short Link: http://tiny.cc/awssecurity
Official AWS Security Resources
* Security Blog - http://blogs.aws.amazon.com/security/
* Security Advisories - http://aws.amazon.com/security/security-bulletins/
* Security Whitepaper (AWS Security Processes/Practices) - http://media.amazonwebservices.com/pdf/AWS_Security_Whitepaper.pdf
* Security Best Practices Whitepaper - http://media.amazonwebservices.com/AWS_Security_Best_Practices.pdf
View Security_Tools_for_AWS.MD

Security Tools for AWS

I often get asked which tools are good to use for securing your AWS infrastructure so I figured I'd write a short listof some useful Security Tools for the AWS Cloud Infrastructure.

This list is not intended be something completely exhaustive, more so provide a good launching pad for someone as they dig into AWS and want to make it secure from the start.

Open Source

This section focuses on tools and services provided by the community and released as open-source.

@tolidano
tolidano / allow_ssh_from_here.py
Created Nov 30, 2018
Python Gadget to add SSH from the current IP using default AWS profile to security group named SSH
View allow_ssh_from_here.py
import boto3
from botocore.exceptions import ClientError
import json
import requests
ec2 = boto3.client('ec2')
def get_ip():
r = requests.get('http://checkip.amazonaws.com')
return r.text.strip()
View address.txt
0xFAAe7a3Db81241b913d8Ba45b962Bf83b26F74B8