View gist:1dd9c12032670088115c7e69ef5b0513
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
access-analyzer:CreateAnalyzer | |
access-analyzer:GetAnalyzer | |
access-analyzer:TagResource | |
access-analyzer:UntagResource | |
acm:AddTagsToCertificate | |
acm:ImportCertificate | |
acm:RemoveTagsFromCertificate | |
acm:RequestCertificate | |
acm-pca:CreateCertificateAuthority | |
acm-pca:TagCertificateAuthority |
View sechub-control-crl.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SecurityHubStandardsConfigurationStackSet: | |
DependsOn: | |
- SecurityStackSet | |
Condition: IsDelegationComplete | |
Type: AWS::CloudFormation::StackSet | |
Properties: | |
StackSetName: securityhub-standards | |
PermissionModel: SERVICE_MANAGED | |
CallAs: DELEGATED_ADMIN | |
Capabilities: |
View captchasolve.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<canvas id="canvas" width="320" height="320"></canvas> | |
<div style="display:none;"> | |
<img id="source" src="test.png"> | |
</div> | |
<script> | |
var canvas = document.getElementById("canvas"); | |
var ctx = canvas.getContext('2d'); |
View gist:b473bbb3097c5f4c656ed3d07b4d2222
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
route53domains:RegisterDomain | |
route53domains:RenewDomain | |
route53domains:TransferDomain | |
ec2:ModifyReservedInstances | |
ec2:PurchaseHostReservation | |
ec2:PurchaseReservedInstancesOffering | |
ec2:PurchaseScheduledInstances | |
rds:PurchaseReservedDBInstancesOffering | |
dynamodb:PurchaseReservedCapacityOfferings | |
s3:PutObjectRetention |
View gist:cb9f9463cf791eb27beb132623763f32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for region in `aws ec2 describe-regions --output text | cut -f4` | |
do | |
aws s3 cp lambda/app.zip s3://ianmckay-$region/APPLICATION/app.zip --acl public-read | |
aws s3 cp template.yml s3://ianmckay-$region/APPLICATION/template.yml --acl public-read | |
done |
View v4.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const request = require('request'); | |
const aws4 = require('aws4'); | |
const AWS = require('aws-sdk'); | |
let chain = new AWS.CredentialProviderChain(); | |
chain.resolve((err, awscreds) => { | |
let awsreq = aws4.sign({ | |
service: 'sts', |
View codename-speculation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tag-history | |
payment-gateway | |
diode | |
hailstone | |
silverwire | |
archipelago | |
penny | |
panama | |
mamsg | |
gondolin |
View Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN apt-get update \ | |
&& apt-get install -y python3-pip python3-dev \ | |
&& cd /usr/local/bin \ | |
&& ln -s /usr/bin/python3 python \ | |
&& pip3 install --upgrade pip | |
RUN pip3 install numpy | |
RUN pip3 install scipy |
View logpush.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import json | |
import base64 | |
import zlib | |
from elasticsearch import Elasticsearch | |
from elasticsearch.connection import create_ssl_context | |
from datetime import datetime | |
def handler(event, context): |
View darkenScreenAroundArea.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wx | |
import time | |
from multiprocessing import Process, Lock | |
def darkenScreenAroundArea(lock, x, y, width, height): | |
app = wx.App(False) | |
screensize = wx.GetDisplaySize() | |
frm = DarkFrame(lock, 0, 0, screensize[0], y) # top | |
frm = DarkFrame(lock, 0, y, x, height) # left | |
frm = DarkFrame(lock, (x + width), y, (screensize[0] - x + width), height) # right |
NewerOlder