Skip to content

Instantly share code, notes, and snippets.

View junnlikestea's full-sized avatar
🦉
Learning something new

Junn junnlikestea

🦉
Learning something new
View GitHub Profile
mh.mikkemus.scoober.global.public.vespa.oath.cloud
prod.m-node.1212.one-mobile-prod.aws.oath.cloud
publiccd.multi-instance.vespa.aws-us-east-1c.dev.public-cd.vespa.oath.cloud
placement-api.jacobestelle-home.bf2.ows.oath.cloud
canvass-search-qa.canvass-qa.us-central-1.vespa.oath.cloud
cd.aws.basic-test.vespa.global.vespa.oath.cloud
i-0d31f526916d9340b.instanceid.athenz.aws.oath.cloud
musum.comics.scoober.aws-us-east-1c.public.vespa.oath.cloud
thinktank-hive.frontpage.us-east-3.staging.vespa.oath.cloud
andreer.comics.scoober.aws-us-east-1c.dev.public.vespa.oath.cloud
@junnlikestea
junnlikestea / subs
Created July 31, 2020 09:55
output from vita -a -d yahoo.com
This file has been truncated, but you can view the full file.
devsastreseller.ysm.vip.ne1.yahoo.com
repl11.cl2.uds.bf1.yahoo.com
et29.fab7-2-gdc.gq1.yahoo.com
tr-mg42.mail.yahoo.com
r1-127.dns.ac4.yahoo.com
perf-bg024.yax.ne1.yahoo.com
admin-hv2.ops.dcd.yahoo.com
124.15.214.116.aprez.ostk.prod.tp2.yahoo.com
unknown-74-6-128-x.yahoo.com
@junnlikestea
junnlikestea / 01nginx-tls-sni.md
Created July 15, 2020 14:09 — forked from kekru/01nginx-tls-sni.md
nginx TLS SNI routing, based on subdomain pattern

Nginx TLS SNI routing, based on subdomain pattern

Nginx can be configured to route to a backend, based on the server's domain name, which is included in the SSL/TLS handshake (Server Name Indication, SNI).
This works for http upstream servers, but also for other protocols, that can be secured with TLS.

prerequisites

  • at least nginx 1.15.9 to use variables in ssl_certificate and ssl_certificate_key.
  • check nginx -V for the following:
    ...
    TLS SNI support enabled
@junnlikestea
junnlikestea / Cargo.toml
Created June 4, 2020 15:15
Simple Tokio Example.
[package]
name = "xatul"
version = "0.1.0"
authors = ["Junn <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "0.2", features = ["process", "macros", "io-util", "stream", "rt-threaded"] }
import requests
import re
import sys
from multiprocessing.dummy import Pool
def robots(host):
r = requests.get(
'https://web.archive.org/cdx/search/cdx\
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host)
#!/bin/bash
sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt update
sudo apt upgrade
sudo apt-get install build-essential fish libpcap-dev net-tools tmux
# port scanning
sudo apt-get install nmap
@junnlikestea
junnlikestea / AdbCommands
Created March 28, 2020 04:37 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader