OpenSSLのバージョン違い(1.0.2 -> 1.1)のせい libssl-devを消してlibssl1.0-devを入れる
#!/bin/bash | |
users=("spring-raining" "myr523" "ak1t0") | |
i=0 | |
mkdir ~/.ssh | |
for user in ${users[@]}; do | |
curl -s -S https://github.com/${users[i]}.keys >> ~/.ssh/authorized_keys | |
let i++ | |
done |
echo "deb https://deb.torproject.org/torproject.org xenial main" | sudo tee -a /etc/apt/sources.list.d/tor.list | |
echo "deb-src https://deb.torproject.org/torproject.org xenial main" | sudo tee -a /etc/apt/sources.list.d/tor.list | |
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | |
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - | |
sudo apt update | |
sudo apt install tor |
I hereby claim:
- I am ak1t0 on github.
- I am ak1t0 (https://keybase.io/ak1t0) on keybase.
- I have a public key whose fingerprint is 2A6F D2AC 1EDB 0268 667F F95A 9061 CCC6 FE3E 8B08
To claim this, I am signing this object:
How I write Go HTTP services after seven years
https://medium.com/@matryer/how-i-write-go-http-services-after-seven-years-37c208122831
GoでとあるAPIサーバを実装し直した話
http://tech.mercari.com/entry/2016/12/19/180000
golangのHTTPサーバを構成しているもの
https://reiki4040.hatenablog.com/entry/2017/03/01/212647
GoでJSON APIを書く
http://sgykfjsm.github.io/blog/2016/03/13/golang-json-api-tutorial/
Go 言語の http パッケージにある Handle とか Handler とか HandleFunc とか HandlerFunc とかよくわからないままとりあえずイディオムとして使ってたのでちゃんと理解したメモ
Harekaze CTF 2018
This problem is based on real world incident.
Most frequent onion service misconfigurtion is opening server's port 80 and IPv4 whole scanner like Censys, shodan always scan all IPv4 addresses. So, search http://jbwocj4f64dkfiwv.onion on Censys. There is a readl IP address of onion services.
Censys also save SSH key fingerprint. If admin is lazy, admin reuse these SSH key. So search fingerprint on Censys.
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# サイバーセキュリティプログラミング 5.4 | |
# Joomla 3.5.1 | |
# HTTPErrorでループが止まるので例外を握りつぶすように変更 | |
import urllib2 | |
import urllib | |
import cookielib |
CloverはClojureライクな文法をもつコンパイラ型の言語処理系です。
ClojureはJVM(JavaVirtualMachine)上で動くLispの一種で、JVM上で動くことは既存のライブラリが使えるなど利点もあるのですが、REPLの起動にJVMの起動が必要だったり実行ファイルがjar形式だったりと制約も多く、Clojureの文法を持つコンパイラ型の処理系が欲しいと思ったので作りました。また、ClojureのJVM以外への移植はClojureScript(altJS)やCLR(.NET)などがあります。
Parsecによって抽象構文木を生成し、その構文木をGoに変換して、内部からGoコンパイラを呼んでコンパイルする形になっています。
(ns gh.core | |
(:require [clj-http.client :as client]) | |
(:use [clojure.tools.namespace.repl :only [refresh]] | |
[hickory.core] | |
[clojure.string :only [trim]])) | |
;; download all repo as zip | |
(def target-url "https://github.com/[user-name]/") |
(ns reduce-sample.core
(:require
[clojure.core.reducers :as r]
[criterium.core :as crite]))
(crite/bench (do (into [] (r/filter even? (range 100000))) nil))