Skip to content

Instantly share code, notes, and snippets.

View AdamSutch's full-sized avatar

Adam Sutch AdamSutch

  • Weever Apps
  • Toronto
View GitHub Profile
@AdamSutch
AdamSutch / domainNames.sh
Created April 1, 2023 00:18 — forked from yelkhatib/domainNames.sh
Get a list of unique resource domains from a HAR file. Uses jq to parse the HAR file.P.S. You could create HAR files using a number of tools, such as PhantomJS, hdrgrab or chrome-HAR-capturer.
#list unique resource domains
jq '.log.entries[].request | {method,url}' $1 | jq 'if .method=="GET" then .url else "" end' | grep -Eo "http(s?)://([^/]+)./" | sort | uniq
@AdamSutch
AdamSutch / aws-transfer-sftp.yaml
Created October 24, 2020 12:37 — forked from glnds/aws-transfer-sftp.yaml
CloudFormation template for AWS Transfer for SFTP
---
AWSTemplateFormatVersion: '2010-09-09'
Description: some-sftp-server
Parameters:
HostedZoneIdParam:
Type: String
Description: Hosted Zone ID
SFTPHostnameParam:
Type: String