Skip to content

Instantly share code, notes, and snippets.

View ozuma's full-sized avatar

Osumi, Yusuke ozuma

View GitHub Profile
@ozuma
ozuma / blacklist.dat
Created June 15, 2021 15:47
IP address block list from PhishKit.
# NETCRAFT IP RANGES
194.52.68.0-194.52.68.255
194.72.238.0-194.72.238.255
83.138.182.72-83.138.182.79
83.138.189.96-83.138.189.103
81.91.240.0-81.91.255.255
89.36.24.0-89.36.31.255
83.222.232.216-83.222.232.218
184.172.0.0-184.173.255.255
@ozuma
ozuma / list.md
Last active November 28, 2023 14:53
2020tochijisen.tokyo にリンクしている政治家・政党・公的機関など

2020tochijisen.tokyo にリンクしている政治家・政党・公的機関など

このリストは、2020年東京都知事選挙において、東京都選挙管理委員会が不用意に取得し放置したドメイン 2020tochijisen.tokyo へ2021年5月19日現在リンクしている投稿の一覧です。ドメインが期限切れ(Expire)することにより、第三者にドメインが取得され、リンク先で何かしらの被害を受ける可能性があります。

なお本件は、「東京都選挙管理委員会のずさんなドメイン取得およびWebサイト運用」だけが問題であり、これらの方へ何らかの非難を表明するものではありません。また個人が片手間に検索して抜き出したもののため、ヌケなどあると思います。そこに政治的意図などはありません。

何が問題なのかは、「主に東京都選挙管理委員会の方へ:政府・地方公共団体はドメインをどう取るべきか」にまとめてありますのでご一読ください。

政治家

@ozuma
ozuma / writemp4.sh
Last active April 8, 2023 15:58
Twitterのボイスメッセージをファイル出力
ffmpeg -i 'https://...../xxx.m3u8' -movflags faststart -c copy -bsf:a aac_adtstoasc output.mp4
@ozuma
ozuma / StreamArrayTest
Created April 4, 2023 16:53
Java, stream, Arrays
import java.util.Arrays;
import java.util.stream.Collectors;
import java.util.stream.Stream;
class StreamArrayTest
{
public static void main(String[] args)
{
Stream<String> stream = Stream.of("NYC", "Mexico", "Beijing", "New Delhi", "Tokyo");
@ozuma
ozuma / stringStreamTest.java
Created April 4, 2023 16:19
String, Arrays, stream, startsWith
import java.util.Arrays;
import java.util.stream.Stream;
public class stringStreamTest {
public static void main(String[] args) {
String[] arr = { "NYC", "Mexico", "BeiJing", "New Delhi", "Tokyo" };
Stream<String> stream = Arrays.asList(arr).stream();
stream.filter(s -> s.startsWith("N"))
@ozuma
ozuma / Main.java
Created April 4, 2023 16:08
ABC294_a: Java, STDIN, stream, Arrays
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final int arraySize = Integer.parseInt(sc.next());
int[] lists = new int[arraySize];
for (int i = 0; i < arraySize; i++) {

Keybase proof

I hereby claim:

  • I am ozuma on github.
  • I am osumi (https://keybase.io/osumi) on keybase.
  • I have a public key ASA80HYmsHZNZWr1GZbBY1eGFsedorajAN9itEYcxY6wQAo

To claim this, I am signing this object:

@ozuma
ozuma / mailheader-phishing-QR.txt
Created January 1, 2023 09:01
A header of a Phishing Mail with QR code.
From - Wed Dec 28 12:58:58 2022
X-Account-Key: account5
X-UIDL: UID39566-1566717234
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path: <iqxyom@gmail.com>
Received: from gmail.com ([175.165.163.226])
by www310.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 2BRHdMIf053496
for <XXXXXXX@XXXXXXX.sakura.ne.jp>; Wed, 28 Dec 2022 02:39:22 +0900 (JST)
@ozuma
ozuma / centos7-minimal-rpm-qa.txt
Created September 11, 2014 07:43
Package Lists of CentOS 7 (minimal install)
ModemManager-glib-1.1.0-6.git20130913.el7.x86_64
NetworkManager-0.9.9.1-13.git20140326.4dba720.el7.x86_64
NetworkManager-glib-0.9.9.1-13.git20140326.4dba720.el7.x86_64
NetworkManager-tui-0.9.9.1-13.git20140326.4dba720.el7.x86_64
acl-2.2.51-12.el7.x86_64
aic94xx-firmware-30-6.el7.noarch
alsa-firmware-1.0.27-2.el7.noarch
alsa-lib-1.0.27.2-3.el7.x86_64
alsa-tools-firmware-1.0.27-4.el7.x86_64
audit-2.3.3-4.el7.x86_64
@ozuma
ozuma / 172.245.163.155_MUFG_NICOS.txt
Created August 20, 2022 21:56
2022-8-20(JST)_Phishing URLs targeting MUFG NICOS
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.a8m6di.icu/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.aaxbpo.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.adpslp.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.aenjkw.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.agdhkb.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.akgjcb.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.baelbg.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.bhqnyq.icu/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.bkwgho.top/uWBRvZ8quj/page1.php
hxxp://www.vieasecivioenre.vsosirvsivmenscevoiei.bmknvf.top/uWBRvZ8quj/page1.php