Skip to content

Instantly share code, notes, and snippets.

View andrew-morris's full-sized avatar
💭
¯\_(ツ)_/¯

Andrew Morris andrew-morris

💭
¯\_(ツ)_/¯
View GitHub Profile
@andrew-morris
andrew-morris / keybase.md
Last active October 12, 2015 17:03
Keybase verification

Keybase proof

I hereby claim:

  • I am andrew-morris on github.
  • I am morris (https://keybase.io/morris) on keybase.
  • I have a public key whose fingerprint is ECEF 47D0 D259 7502 E5AA 5A8A 1C9F FD44 6653 8F6D

To claim this, I am signing this object:

@andrew-morris
andrew-morris / add this to .bashrc file
Last active May 2, 2018 09:53
Downloading files through Tor on the command line
alias tcurl="curl --proxy socks5h://127.0.0.1:9050 $1"
# open a handle to the file, with 'read permissions'
f = open("/etc/passwd", "r")
# use the file handle to store the contents of the file into the "contents" object
contents = f.read()
# close the file handle
f.close()
2016/05/25 14:32:19 [INFO] Terraform version: 0.6.16 6e586c89394f5474b6c5f3217a4a75ce80c3fd6c
2016/05/25 14:32:19 [DEBUG] Detected home directory from env var: /Users/amorris
2016/05/25 14:32:19 [DEBUG] Discovered plugin: atlas = /usr/bin/terraform-provider-atlas
2016/05/25 14:32:19 [DEBUG] Discovered plugin: aws = /usr/bin/terraform-provider-aws
2016/05/25 14:32:19 [DEBUG] Discovered plugin: azure = /usr/bin/terraform-provider-azure
2016/05/25 14:32:19 [DEBUG] Discovered plugin: azurerm = /usr/bin/terraform-provider-azurerm
2016/05/25 14:32:19 [DEBUG] Discovered plugin: chef = /usr/bin/terraform-provider-chef
2016/05/25 14:32:19 [DEBUG] Discovered plugin: clc = /usr/bin/terraform-provider-clc
2016/05/25 14:32:19 [DEBUG] Discovered plugin: cloudflare = /usr/bin/terraform-provider-cloudflare
2016/05/25 14:32:19 [DEBUG] Discovered plugin: cloudstack = /usr/bin/terraform-provider-cloudstack
$ terraform plan
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0xaa11c0, 0x821464090)
/opt/go/src/runtime/panic.go:481 +0x3e6
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hcl/hcl/ast.(*ObjectList).Pos(0x82166b920, 0x0, 0x8215a7648, 0x8215a7678, 0x8215a7648, 0x8a3040)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hcl/hcl/ast/ast.go:112 +0x91
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hcl.(*decoder).decodeMap(0x8215a8a58, 0x82166b900, 0x13, 0x88214af7e8, 0x82166b920, 0x8a3040, 0x821484230, 0x195, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hcl/decoder.go:343 +0xbc8

Keybase proof

I hereby claim:

  • I am andrew-morris on github.
  • I am morris (https://keybase.io/morris) on keybase.
  • I have a public key ASBlpwslKu2sXbUuQprFS7K1c0TheWE4rgh79uiwuUYNlQo

To claim this, I am signing this object:

118.116.127.196|2018-03-22
62.28.56.161|2018-03-22
185.109.161.38|2018-03-22
185.109.161.38|2018-03-21
62.28.56.161|2018-03-21
5.188.11.89|2018-03-21
77.72.82.22|2018-03-21
91.217.9.163|2018-03-20
5.188.11.89|2018-03-20
5.188.11.89|2018-03-19
2018-05-11 187.136.89.107 Uninet S.A. de C.V.
2018-05-11 187.144.147.60 Uninet S.A. de C.V.
2018-05-11 187.144.221.151 Uninet S.A. de C.V.
2018-05-09 187.214.10.43 Uninet S.A. de C.V.
2018-05-11 189.130.179.145 Gestión de direccionamiento UniNet
2018-05-11 189.152.107.245 Gestión de direccionamiento UniNet
2018-05-11 189.163.122.185 Gestión de direccionamiento UniNet
2018-05-11 189.163.143.187 Gestión de direccionamiento UniNet
2018-05-11 189.163.242.157 Gestión de direccionamiento UniNet
2018-05-11 189.175.244.203 Gestión de direccionamiento UniNet
@andrew-morris
andrew-morris / jacked.txt
Last active July 5, 2018 23:31
Quick research to find the most (relatively) unsafe ASNs using GreyNoise Intelligence
RATIO ASN POPPED SIZE ORG
0.3945 AS52635 404 1024 SPEEDCONNECT - TECNOLOGIA E EQUIPAMENTOS
0.2500 AS60490 1 4 MTS PJSC
0.2500 AS198517 1 4 DOLNET GROUP sp. z o.o.
0.2158 AS263256 442 2048 PROVEDOR DE INTERNET EXTREMA LTDA - ME
0.2080 AS264643 213 1024 Enredes S.A.
0.1941 AS133469 795 4096 Multinet (Udaipur) Private Limited
0.1592 AS263051 326 2048 Infopardall Ltda me
0.1426 AS133692 146 1024 Fastnet Communication Pvt. Ltd.
0.1406 AS135195 36 256 NS COMPUTERS
@andrew-morris
andrew-morris / adb_worms.csv
Created July 11, 2018 19:23
Source: GreyNoise Intelligence
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 15 columns, instead of 1 in line 8.
ip,tag_name,category,confidence,org,rdns,rdns_parent,datacenter,asn,country,type,os,tor,created,updated
5.152.142.44,ADB Worm,worm,high,alternatYva S.r.l.,,,,AS199026,IT,business,,false,2018-07-11 16:34:40,2018-07-11 16:34:40
172.56.41.28,ADB Worm,worm,high,"T-Mobile USA, Inc.",,,,AS21928,US,isp,,false,2018-07-11 14:43:46,2018-07-11 14:43:46
182.113.100.116,ADB Worm,worm,high,China Unicom Henan province network,hn.kd.ny.adsl,ny.adsl,,AS4837,CN,isp,,false,2018-07-11 14:25:43,2018-07-11 14:25:43
172.56.21.52,ADB Worm,worm,high,"T-Mobile USA, Inc.",,,,AS21928,US,isp,,false,2018-07-11 14:02:23,2018-07-11 14:02:23
172.58.201.119,ADB Worm,worm,high,"T-Mobile USA, Inc.",,,,AS21928,US,isp,,false,2018-07-11 13:23:11,2018-07-11 13:23:11
172.58.232.84,ADB Worm,worm,high,"T-Mobile USA, Inc.",,,,AS21928,US,isp,,false,2018-07-11 13:00:38,2018-07-11 13:00:38
222.140.131.222,ADB Worm,worm,high,China Unicom Henan province network,hn.kd.ny.adsl,ny.adsl,,AS4837,CN,isp,,false,2018-07-11 12:51:00,2018-07-11 12:51:00
172.58.175.63