Skip to content

Instantly share code, notes, and snippets.

View ninoseki's full-sized avatar

Manabu Niseki ninoseki

View GitHub Profile
@ninoseki
ninoseki / test.ts
Created September 5, 2018 23:08
Send a screenshot (by using puppeteer) to Slack
import request from "request";
import puppeteer from "puppeteer";
const API_URL = "https://slack.com/api/files.upload";
const SLACK_API_TOKEN = process.env.SLACK_API_TOKEN as string;
const CHANNEL = "general";
(async () => {
const url = "http://neverssl.com"
const browser = await puppeteer.launch();
@ninoseki
ninoseki / test.rb
Created December 12, 2018 02:37
Playing with wss://certstream.calidog.io in Ruby
require 'faye/websocket'
require 'eventmachine'
require "json"
EM.run {
ws = Faye::WebSocket::Client.new("wss://certstream.calidog.io")
ws.on :message do |event|
message = JSON.parse(event.data)
all_domains = message.dig("data", "leaf_cert", "all_domains")
  • hash(sha256): 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f
  • link to https://github.com
@ninoseki
ninoseki / gist:2828283
Created May 29, 2012 13:07
Codeforce121(Div2.B)
n = gets.chomp.to_i
a = gets.chomp.split(" ").map{|e| e.to_i}
days = 0
loop do
break if a[0] == 0 or a[-1] == 0
bang = false
for i in 1 .. (n - 2) do
bang = true if a[i] == 0 and a[i + 1] == 0
@ninoseki
ninoseki / valid_mynumbers.txt
Last active October 16, 2021 20:26
マイナンバー(個人番号)の条件を満たした12桁の数列
895980423139
436673173767
430792811528
107611545184
964041141335
044580705690
439023617171
680557982222
335790979402
763625921000
@ninoseki
ninoseki / coinhive-jp-stats.csv
Last active October 16, 2021 20:25
Coinhive JP stats
Ip Domain Coinhive Site Key Number of the Same Key on the Web Estimated Monthly Traffic
106.160.38.97 N/A M9J43rdlJmuHTlpPA7nZyifziSdfiE4U 1 N/A
157.7.205.219 upic.me TP3bsUVgBJKildStENCTdVuxbnFtbnnV 9 N/A
160.16.73.224 drarama.site GDo9UcLSdprQklfxz3HmwzFMKHPPW2ut 1 N/A
160.16.60.183 hash.sc f3UBGhbRdzy2jBfNt9cgTzfzF667fVlk 1 N/A
124.146.220.181 kobutu.com PePtHlOp7LXUmV7q7w4IjEMHyxofE39k 8 N/A
61.206.41.204 dc-b0457fdcca8e.nakoruru.info 8qWOLcUbYNWrnijadqCbgCC378Vheehc 1 N/A
203.183.46.73 selme-sokuteiki.net 71xSStHOJ1je9jvklOc71QVNljKY6wV4 2 N/A
150.95.154.111 N/A XkYJ85j2hnXlCLZKdkaY6Gj1VXMIlRr8 1 N/A
133.242.229.199 like-channel.info Sf5xrZjAeFwZVjmkhfnlisq1rCOneQ3W 1 101514
@ninoseki
ninoseki / list.csv
Last active October 16, 2021 20:23
Coinhive built-in OSS (It is only a portion)
url stars sitekey has_disclaimer
https://github.com/b3log/symphony 2251 bSiM5UP0bWeY98R39fQBb2nKiiofSxmU yes
https://github.com/b3log/pipe 266 YCkOr1LUJtEODIR5fVIzM4S79Nc5jvN7 yes
https://github.com/lee101/webfiddle 0 6Pmr1JGjPBy0DiEr0iCNgiSQVHFiSN6P no
https://github.com/ikr4185/nijiru-system 0 ovUHdxKQYmoqZOLns0qOY4v7kbmg5KIk no
https://github.com/duantianyu/okjson 0 N/A no
https://github.com/frigginglorious/frigginglorio.us 0 exN9MUJT735qbTYsRA6Jm1Mr3nQmP4yT no
https://github.com/Tach-Yon/Tap-Tap-Adventure 58 exN9MUJT735qbTYsRA6Jm1Mr3nQmP4yT no
https://github.com/Maronato/SpottedBot 6 VRt0VLErmTT5sXpt2tEg72qlELmUIJZu no
https://github.com/Triangle-MX/Design-Guidelines 0 0JbmzLVc6WZdcrOuFUuoMfLhvC5Di8S9 no
name expires_at
aconet-cert 2017-01-21 11:21:13
apple 2017-06-16 17:01:09
bf-sirt 2014-02-07 23:12:21
btcertcc 2013-11-15 19:49:28
cert_nz 2018-03-23 03:50:17
cert-fr 2017-10-05 12:52:07
cert-in 2012-09-01 05:15:17
cert-se 2018-01-31 09:21:33
cfc 2013-02-13 03:55:47
1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX
1HLoD9E4SDFFPDiYfNYnkBLQ85Y51J3Zb1
1FvzCLoTPGANNjWoUo6jUGuAG3wg1w4YjR
15ubicBBWFnvoZLT7GiU2qxjRaKJPdkDMG
1JfbZRwdDHKZmuiZgYArJZhcuuzuw2HuMu
1GkQmKAmHtNfnD3LHhTkewJxKHVSta4m2a
16LoW7y83wtawMg5XmT4M3Q7EdjjUmenjM
1J6PYEzr4CUoGbnXrELyHszoTSz3wCsCaj
12cbQLTFMXRnSzktFkuoG3eHoMeFtpTu3S
@ninoseki
ninoseki / fingerprints.json
Created October 3, 2018 00:55
Web app (CMS & etc.) fingerprints based on w11scan database.
{
"phpmps": {
"path": "/admin/images/arrow_up.gif",
"option": "md5",
"content": "f1294d6b18c489dc8f1b6dfd137ff681",
"hit": 0
},
"杰奇小说连载系统": {
"path": "/templates/admin/images/m_bgss.gif",
"option": "md5",